QuestionQ43

Resilient Cloud Solutions

A company operates a three-tier web application in its production environment, built from one AWS CloudFormation template that includes Amazon EC2 instances behind an ELB Application Load Balancer. The instances run in an EC2 Auto Scaling group spanning multiple Availability Zones. Data is held in an Amazon RDS Multi-AZ DB instance with read replicas. Amazon Route 53 manages the application’s public DNS record.

A DevOps engineer must establish a workflow to mitigate a failed software deployment by reverting changes in the production environment when a software cutover takes place for new application software.

Which steps should the engineer take to meet these requirements with the LEAST downtime?

Explanation

A blue/green deployment created as a separate CloudFormation stack keeps the existing production environment available while the new environment is validated. Amazon Route 53 weighted routing can progressively direct a larger share of traffic to the new environment by changing record weights. Retaining the old environment until the new one receives all traffic enables a rapid rollback by restoring its weight, minimizing disruption if the new deployment fails.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!