Tous les labs

Repair a fragile web architecture

Intermediate ~35 minaws

Turn a single-instance, single-zone workload into a simulated load-balanced, auto-scaled, multi-AZ application with a Multi-AZ database.

Simulateur déterministe — tape une commande (help) pour commencer.
cloud@forge:~$
Objectifs
  • Create an application load balancer in two subnets.
  • Create an Auto Scaling group with capacity across both zones.
  • Create a Multi-AZ RDS database.
  • Confirm all three layers are represented in state.
Indices
Voir la solution
state
aws elbv2 create-load-balancer --name web-alb --subnets subnet-001 subnet-002
aws autoscaling create-auto-scaling-group --auto-scaling-group-name web-asg --min-size 2 --max-size 6 --desired-capacity 2 --availability-zones eu-west-1a eu-west-1b
aws rds create-db-instance --db-instance-identifier web-db --engine postgres --multi-az