Question

Difficulty: EasyDeployment Strategies

A developer is using AWS CodeDeploy to deploy an update to an in-place application running on a fleet of Amazon EC2 instances. To minimize the risk of application failure, the developer wants to ensure that the update is applied to only a single Amazon EC2 instance at a time, keeping the rest of the fleet online and healthy. Which default CodeDeploy deployment configuration should the developer select?

  1. A
    CodeDeployDefault.HalfAtATime
  2. B
    CodeDeployDefault.AllAtOnce
  3. CodeDeployDefault.OneAtATimeAnswer
  4. D
    CodeDeployDefault.LambdaCanary10Percent5Minutes

Answer

CodeDeployDefault.OneAtATime
The default configuration for one at a time deploys the update to a single instance at a time. The deployment succeeds only if each instance is updated successfully, ensuring minimal impact if a deployment fails.

Step-by-Step Solution

1
Identify the deployment platform and type.
The platform is Amazon EC2 and the deployment type is in-place.
This determines which default deployment configurations are compatible.
2
Evaluate the deployment constraints.
The constraint requires deploying to only one instance at a time to minimize risk and maintain maximum availability.
This specifies the target configuration behavior.
3
Match the behavior to the default CodeDeploy configurations for EC2.
The configuration that targets exactly one instance at a time is the one at a time configuration.
This identifies the correct API configuration name.

Key Concept

AWS CodeDeploy deployment configurations define how deployments progress across instances in a deployment group.
Estimated Time:45s
Rate this question