Amazon Web Services
AWS-12 intermediate
Highly available web tier: Application Load Balancer + Auto Scaling group
Build a self-healing, elastic web tier: layered security groups, a launch template with user data, a target group with health checks, an internet-facing ALB across two AZs and an Auto Scaling group with target tracking – then load-test it and kill an instance.
What you'll do
- Layer security groups (ALB → instances)
- Create a launch template with user data
- Configure a target group and health checks
- Create an internet-facing ALB in two AZs
- Create an Auto Scaling group with target tracking
- Observe scale-out under load and self-healing
Lab tasks
- 1 Create the load balancer security group
- 2 Create the instance security group
-
3
Create the launch template
web-lt -
4
Create the target group
web-tg -
5
Create the Application Load Balancer
web-alb -
6
Create the Auto Scaling group
web-asg - 7 Browse the load balancer and see round robin
- 8 Load-test and watch it scale out
- 9 Terminate an instance – self-healing