Aşağıdaki uygulama için cloud altyapı tasarla:
UYGULAMA:
- Tip: [WEB / API / DATA PİPELINE / ML / E-TİCARET]
- Trafik: [DÜŞÜK / ORTA / YÜKSEK / BURST]
- Cloud: [AWS / AZURE / GCP / MULTİ-CLOUD]
- Bütçe: [AYLIK X USD]
ÜRET:
1. MİMARİ DİYAGRAM:
AWS örnek:
- Route 53 (DNS) → CloudFront (CDN) → ALB (Load Balancer)
- ECS Fargate / EKS (container) veya Lambda (serverless)
- RDS PostgreSQL (primary + read replica) / DynamoDB
- ElastiCache Redis (session + cache)
- S3 (statik dosya + backup)
- SQS/SNS (mesajlaşma)
- CloudWatch (monitoring) + X-Ray (tracing)
2. SERVİS SEÇİMİ KARAR AĞACI:
- Compute: EC2 (kontrol) vs ECS/EKS (container) vs Lambda (event-driven, kısa işlem)
- Database: RDS (SQL, ilişkisel) vs DynamoDB (NoSQL, yüksek ölçek) vs Aurora (managed SQL, auto-scale)
- Storage: S3 (object) vs EBS (block) vs EFS (shared file)
- Queue: SQS (simple) vs Kafka MSK (streaming) vs EventBridge (event bus)
3. GÜVENLİK:
- VPC: public subnet (ALB) + private subnet (app + DB)
- Security Groups + NACL
- IAM: least privilege, role-based
- KMS: encryption key yönetimi
- WAF: web application firewall
- GuardDuty: threat detection
4. MALİYET OPTİMİZASYONU:
- Right-sizing (CloudWatch metrics → instance boyutu)
- Reserved instances / Savings Plans (%40-60 indirim)
- Spot instances (batch/test workload)
- Auto-scaling (min/max/desired)
- S3 lifecycle (30 gün → IA, 90 gün → Glacier)
- Cost Explorer + Budget alert
5. IaC (Infrastructure as Code):
- Terraform (multi-cloud)
- CloudFormation (AWS native)
- Pulumi (programlama dili ile)
- GitOps: infra değişikliği = PR + review + apply
6. DR (Disaster Recovery):
- Multi-AZ (availability zone)
- Multi-region (active-passive veya active-active)
- RTO/RPO hedefleri
- Backup stratejisi (daily snapshot, cross-region copy)
- DR drill (yılda 2 kez test)
Türkçe, AWS Well-Architected Framework'e uygun.