Introduction to Deployment Strategies and Infrastructure as Code
CloudFormation at scale, progressive delivery with rollback, and Systems Manager operations.
- 4 lessons
- Module quiz
In a large environment, changes are made constantly to infrastructure and applications across many accounts and Regions. If each change is made by hand, environments drift apart, mistakes reach production and failed changes are slow to undo. Professional designs therefore define infrastructure as code, deploy it through automated pipelines, release changes progressively so that a fault affects few users, and roll back automatically when monitoring detects a problem.
AWS CloudFormation is the foundation for infrastructure as code on AWS, with StackSets deploying templates to many accounts and Regions, and the AWS Cloud Development Kit (AWS CDK) generating templates from code. AWS CodeDeploy, Amazon ECS and other services release new versions using rolling, blue/green and canary strategies. AWS Systems Manager automates operational changes, such as patching, across fleets of servers.
Why it matters for the exam
Deployment questions at this level usually describe a release requirement, such as no downtime, a small blast radius or very fast rollback, and ask for the strategy and services that meet it with the least effort. Many also involve multiple accounts, for example a pipeline in a central account that deploys to development, test and production accounts. The AWS Certified DevOps Engineer – Professional exam covers these services in greater depth; this module covers what an architect needs to choose between them.
How this module is organised
Deploying CloudFormation Safely at Scale explains how templates are changed safely and deployed across an organisation. Choosing Progressive Delivery and Rollback Strategies compares deployment strategies and their rollback mechanisms. Operating and Patching Fleets with AWS Systems Manager explains automated operations across fleets, and Building Cross-Account CI/CD Pipelines explains how pipelines deploy safely into other accounts.