Skill 2.2.1

Determining automation strategies to ensure infrastructure integrity

Key Concepts

Infrastructure as code with AWS CloudFormation defines resources in templates. Stacks can be recreated in another Region for DR, change sets preview updates, drift detection finds manual changes and StackSets deploy across accounts and Regions.

Immutable infrastructure replaces resources instead of modifying them: bake AMIs with EC2 Image Builder, roll out with Auto Scaling instance refresh or blue/green deployments, and roll back by switching back. Elastic Beanstalk automates provisioning, scaling and deployments for web apps.

Self-healing: Auto Scaling replaces unhealthy instances; CloudWatch alarms can recover or reboot instances; AWS Config rules with Systems Manager Automation remediate non-compliant resources; Systems Manager Patch Manager keeps fleets patched.