A company runs a retail website on AWS. During updates, the operations team manually logs into Amazon EC2 instances to update software packages and configuration files. This manual process has caused configuration drift, leading to intermittent application failures across different servers. To fix this, the team decides to use AWS CloudFormation to automatically provision new, identical EC2 instances from a pre-configured Amazon Machine Image (AMI) for every deployment, and terminate the old ones. Which AWS Cloud design principle is demonstrated by this new deployment strategy?
- ATight coupling, by keeping all application configurations and operating system updates bundled directly within the host's local storage.
- BElasticity, by vertically scaling the memory and CPU of the existing instances during periods of high configuration changes.
- Disposable resources, by replacing configuration-drifted servers with newly bootstrapped, standardized instances instead of updating them in place.Answer
- DMonolithic design, by ensuring that all components of the application run on a single permanent virtual server.
Answer
Disposable resources, by replacing configuration-drifted servers with newly bootstrapped, standardized instances instead of updating them in place.
The strategy of terminating old servers and launching new, identical instances using automated templates (AWS CloudFormation) and pre-configured images (AMIs) demonstrates the principle of disposable resources. In cloud computing, resources should be treated as temporary and easily replaceable, which prevents configuration drift and ensures consistency across environments.
Step-by-Step Solution
Key Concept
Disposable resources instead of fixed servers