An agricultural technology company runs complex crop growth simulation models that require hundreds of temporary compute instances for a few hours each week. The company wants to optimize its cloud architecture by applying the AWS design principle of 'disposable resources instead of fixed servers'. Which of the following architectural practices should the company implement to align with this principle? (Select TWO.)
- Define the entire simulation infrastructure using AWS CloudFormation to programmatically deploy and destroy resources as needed.Cevap
- Bootstrap the compute instances using EC2 user data scripts to dynamically configure software dependencies at startup.Cevap
- CMigrate the simulation workload to a single large virtual machine and scale it vertically to handle peak execution loads.
- DPre-provision a static fleet of always-on EC2 instances to ensure they are permanently configured and ready for the weekly runs.
- EManually log into each running server using SSH to install dependencies and apply OS patches before starting a simulation run.
Cevap
To align with the principle of disposable resources, the company should define infrastructure using AWS CloudFormation for automated deployment and teardown, and bootstrap compute instances using EC2 user data scripts to dynamically configure dependencies at startup.
The AWS design principle of 'disposable resources instead of fixed servers' encourages treating resources as temporary and interchangeable. Defining infrastructure using AWS CloudFormation allows environments to be created and destroyed programmatically, ensuring consistency and cost-efficiency. Bootstrapping compute instances using EC2 user data allows the instances to configure themselves automatically at launch, removing the need for manual configuration or maintaining pre-existing, static instances.
Adım Adım Çözüm
Anahtar Kavram
The 'disposable resources instead of fixed servers' design principle in the AWS Cloud relies on automation, Infrastructure as Code, and dynamic bootstrapping to treat servers as temporary, interchangeable resources.