Pertemuan 16: Ujian Akhir Semester (UAS)
Evaluasi Komprehensif Praktik Cloud Computing
Ujian Akhir Semester: Evaluasi komprehensif terhadap seluruh kemampuan praktik cloud computing yang telah dipelajari selama semester. Kerjakan dengan jujur dan mandiri.
Informasi Umum Ujian
Jadwal & Format
- Jenis Ujian: Praktik Individu
- Durasi: 150 menit (2.5 jam)
- Bobot Nilai: 30% nilai akhir
- Platform: AWS/Huawei/OpenNebula
- Mode: Online/Lab Terawasi
Kompetensi yang Diuji
- Desain arsitektur cloud scalable
- Implementasi solusi end-to-end
- Manajemen infrastruktur & automation
- Optimasi performa dan biaya
- Troubleshooting & problem-solving
Kriteria Penilaian
- Technical (60%): Kelengkapan solusi
- Architecture (20%): Best practices
- Documentation (15%): Dokumentasi solusi
- Innovation (5%): Keunikan & optimasi
Scenario Ujian: Enterprise Blog Platform
Latar Belakang
Sebagai Cloud Architect di "TechCorp", implementasikan platform blog enterprise yang highly available, scalable, dan cost-effective. Platform harus mampu menangani traffic tinggi dengan mekanisme backup dan recovery yang robust.
Functional Requirements
- Blog post management (CRUD)
- User authentication & authorization
- Comment system dengan moderation
- Search functionality
- Image upload & optimization
Non-Functional Requirements
- 99.9% availability
- Response time < 2 detik
- Auto-scaling hingga 10 instances
- Data backup harian
- Security compliance
Tugas Ujian
1
Infrastructure Design & Setup
40 PointsRequirements:
- Design cloud architecture dengan diagram
- Setup VPC dengan public dan private subnets
- Implement load balancer dan auto-scaling
- Configure database dengan high availability
- Setup CDN untuk static assets
Deliverables:
- Architecture diagram (PDF)
- Terraform code untuk infrastructure
- Screenshot deployed resources
- Network configuration details
Implementation Hint:
# Example: Auto-scaling configuration
resource "aws_autoscaling_group" "blog_asg" {
name = "blog-platform-asg"
min_size = 2
max_size = 10
desired_capacity = 2
health_check_type = "ELB"
launch_template {
id = aws_launch_template.blog_lt.id
version = "$Latest"
}
tag {
key = "Environment"
value = "production"
propagate_at_launch = true
}
}
2
Application Deployment
35 PointsRequirements:
- Deploy containerized application menggunakan Docker
- Implement CI/CD pipeline dengan GitHub Actions
- Configure environment variables dan secrets
- Setup domain dan SSL certificate
- Implement health checks dan monitoring
Deliverables:
- Dockerfile dan docker-compose.yml
- GitHub Actions workflow file
- Application deployment scripts
- Live application URL
Implementation Hint:
# Example: Docker Compose
version: '3.8'
services:
frontend:
build: ./frontend
ports:
- "80:80"
depends_on:
- backend
backend:
build: ./backend
environment:
- DATABASE_URL=postgresql://user:pass@db:5432/blog
- REDIS_URL=redis://redis:6379
db:
image: postgres:13
environment:
- POSTGRES_DB=blog
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=secret
3
Monitoring & Optimization
25 PointsRequirements:
- Implement comprehensive monitoring system
- Setup alerting untuk critical metrics
- Configure logging dan log analysis
- Implement cost optimization strategies
- Create backup dan recovery procedures
Deliverables:
- Monitoring dashboard screenshots
- Alert configuration details
- Cost optimization report
- Backup strategy documentation
Implementation Hint:
# Example: CloudWatch Alarms
resource "aws_cloudwatch_metric_alarm" "high_cpu" {
alarm_name = "blog-high-cpu"
comparison_operator = "GreaterThanThreshold"
evaluation_periods = "2"
metric_name = "CPUUtilization"
namespace = "AWS/EC2"
period = "120"
statistic = "Average"
threshold = "80"
alarm_description = "This metric monitors EC2 CPU utilization"
alarm_actions = [aws_sns_topic.alerts.arn]
}
Strategi Manajemen Waktu
00:00 - 00:30
Phase 1: Planning & Design
- Analyze requirements & constraints
- Design architecture diagram
- Plan resource allocation
- Document approach strategy
00:30 - 01:30
Phase 2: Infrastructure Implementation
- Setup VPC & networking
- Deploy database & storage
- Configure load balancer & auto-scaling
- Implement security groups
01:30 - 02:15
Phase 3: Application Deployment
- Containerize application
- Deploy to cloud environment
- Configure CI/CD pipeline
- Test functionality
02:15 - 02:30
Phase 4: Final Review & Documentation
- Verify all requirements met
- Test monitoring & alerting
- Prepare documentation
- Submit deliverables
Reference Architecture
Presentation Layer
CloudFront CDN
Application Load Balancer
Web Application Firewall
↓
Application Layer
React Frontend
Node.js Backend
API Gateway
↓
Data Layer
PostgreSQL RDS
Redis Cache
S3 Storage
Technical Cheat Sheet
AWS Commands
# VPC Setup
aws ec2 create-vpc --cidr-block 10.0.0.0/16
aws ec2 create-subnet --vpc-id vpc-123 --cidr-block 10.0.1.0/24
# EC2 Management
aws ec2 run-instances --image-id ami-123 --instance-type t3.medium
aws autoscaling create-auto-scaling-group --auto-scaling-group-name my-asg
# RDS Database
aws rds create-db-instance --db-instance-identifier mydb --engine postgres
Docker Commands
# Container Management
docker build -t my-app .
docker run -d -p 80:80 my-app
docker-compose up -d
# Image Management
docker push my-registry/my-app:latest
docker pull my-registry/my-app:latest
Linux Commands
# System Monitoring
top
htop
df -h
free -h
# Network Troubleshooting
ping google.com
netstat -tulpn
ss -tulpn
curl http://localhost:80
Catatan Penting
Dilarang Plagiarisme
Ujian harus dikerjakan secara individu. Dilarang keras menyalin solusi dari mahasiswa lain atau sumber eksternal tanpa proper attribution.
Backup Strategy
Simpan pekerjaan secara berkala. Gunakan Git untuk version control dan backup code ke repository pribadi.
Verification Checklist
Sebelum submit, pastikan semua requirements terpenuhi, aplikasi berjalan dengan baik, dan dokumentasi lengkap.
Panduan Pengumpulan
Progress: 0/5 (0%)