SAA-C03 Question 198
Single answerA company is deploying a new web application using an immutable infrastructure approach. They want to ensure that any changes to the application or the underlying infrastructure are thoroughly tested and deployed as entirely new instances, rather than modifying existing instances. Which AWS service or feature is most suitable for implementing this approach?
- A
AWS Auto Scaling with Launch Configurations or Launch Templates
- B
AWS Elastic Beanstalk with Immutable Deployment Policy
- C
AWS OpsWorks with Chef Recipes for Configuration Management
- D
AWS Systems Manager for Patch Management
Show answer and explanation
Correct answer: B
Explanation
AWS Elastic Beanstalk with Immutable Deployment Policy is the most suitable choice for implementing an immutable infrastructure approach. This deployment strategy ensures that updates are deployed by creating a new environment and replacing the old one entirely, rather than modifying existing resources. This approach minimizes risks and ensures consistency across deployments.
- A. Incorrect.
AWS Auto Scaling with Launch Configurations or Launch Templates helps manage scalable and fault-tolerant applications but does not inherently provide an immutable deployment strategy. It focuses on scaling and maintaining the desired state of instances.
- B. Correct.
AWS Elastic Beanstalk with Immutable Deployment Policy is specifically designed for immutable deployments. It replaces the entire environment with a new version, ensuring no changes are made to the existing instances, aligning with the immutable infrastructure approach.
- C. Incorrect.
AWS OpsWorks with Chef Recipes is a configuration management tool that modifies existing instances rather than replacing them entirely. This approach is contrary to the principles of immutable infrastructure.
- D. Incorrect.
AWS Systems Manager for Patch Management focuses on updating and managing patches on existing instances, which involves modifying the instances in place. This is not suitable for an immutable infrastructure approach.