QuestionQ49

Resilient Cloud Solutions

A company runs a mission-critical application on AWS that uses automatic scaling. The company requires the deployment lifecycle to meet these parameters:

  • The application must be deployed to one instance at a time so that the remaining fleet can continue serving traffic.
  • The application is CPU-intensive and must be monitored closely.
  • The deployment must automatically roll back when CPU utilization on the deployment instance exceeds 85%.

Which solution meets these requirements?

Explanation

AWS CodeDeploy can deploy to an Amazon EC2 Auto Scaling group using CodeDeployDefault.OneAtATime, which updates only one instance at a time. A CloudWatch CPU utilization alarm can be associated with the deployment group, and CodeDeploy automatic rollback can redeploy the last known good revision when the alarm threshold is breached.

Learn more

Community Discussion

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