The shop runs as the Auto Scaling group web-asg: two instances from the launch template web-lt, behind market-alb and its target group web-tg. Version 1 of the shop is live. Version 2 is in ~/v2.sh.
- Keep
web-tg's ARN inTGand the load balancer's DNS name inDNS. - Give the group a target-tracking policy named
cpu50that keeps its average CPU at 50%. - It is Monster Monday. Send five minutes of load through the load balancer, from 10 workers at 10 requests a second each. Then check what the group did, and why.
- Make
~/v2.shversion 2 ofweb-lt, starting from version 1. - Roll version 2 out to every instance of the group. The rule for releases: the shop never runs on fewer healthy servers than it has when the release starts.
- Check the release until it is
Successful, and fetch the shop to see version 2.