Home › AWS SysOps Associate › cloudcomputing › sysopsdeployment › An organisation needs to deploy a new version of…
An organisation needs to deploy a new version of a web app to 100 EC2 instances behind an ALB with the option to roll back automatically on a 5xx alarm. Which combination works BEST?
AManually log in to each of the 100 instances and run `scp`
BDisable CloudWatch alarms during deployment
CAWS CodeDeploy with a blue/green deployment configuration and a CloudWatch alarm tied to the deployment group
DRe-deploy the entire stack to AWS Snowball appliances
Answer & Solution
Correct answer: C. AWS CodeDeploy with a blue/green deployment configuration and a CloudWatch alarm tied to the deployment group
CodeDeploy blue/green + CloudWatch alarm-backed rollback is the canonical safe rollout. Manual SCP doesn't scale; Snowball is offline; disabling alarms removes the rollback signal.
Related questions
Which rollout strategy minimises blast radius when shipping a risky change to a fleet of EWhich feature of AWS Resource Access Manager (RAM) lets one account share resources like sA CloudFormation stack fails midway with an `IAM role doesn't have permission` error and lWhich AWS service lets a team package and version their own internal application configuraA new EC2 launch in a private subnet repeatedly fails to download a yum package. The instaWhich CloudFormation feature lets you reference a value created in one stack from another Which combination correctly provisions a centrally-managed multi-account landing zone for Which AWS Systems Manager capability lets administrators run a documented automation seque