Designing an auto-scaling web tier
WHAT IT TESTS: horizontal scaling design. OUTLINE: front with a load balancer, define a launch template, an auto-scaling group across AZs, and target-tracking policies. RED FLAG: scaling stateful instances or scaling without a load balancer and health checks.
WHAT IT TESTS: whether you can turn one VM into an elastic, stateless tier. ANSWER OUTLINE: put a load balancer in front, define a launch template describing the image and instance config, create an auto-scaling group spanning multiple availability zones with min, max, and desired counts, and attach a scaling policy, ideally target-tracking on CPU or request count. Externalize session state.
Read the original → interview
- #auto-scaling
- #load-balancer
- #launch-template
- #stateless
- #horizontal-scaling
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.