A retail business operates an e-commerce application on AWS. During peak shopping hours, the application requires 20 Amazon EC2 instances to handle the traffic, but during off-peak hours, only 4 instances are needed. The infrastructure team uses Amazon EC2 Auto Scaling to dynamically launch and terminate instances in response to the real-time load. Which AWS Cloud design principle is best illustrated by this scenario?
- ALoose coupling
- ElasticityAnswer
- CScalability
- DMonolithic design
Answer
Elasticity
The design principle of elasticity focuses on matching resource allocation with actual demand. In this scenario, dynamically provisioning 20 instances during peak hours and scaling down to 4 instances during off-peak hours ensures the system is cost-effective and performs well without over-provisioning.
Step-by-Step Solution
Key Concept
Elasticity versus Scalability in cloud design principles