Which CodeDeploy configuration should the developer use to meet these requirements?
CodeDeployDefault.ECSCanary10Percent5Minutes
CodeDeployDefault.ECSLinear10PercentEvery3Minutes
CodeDeployDefault.OneAtATime
CodeDeployDefault.LambdaCanary10Percent5Minutes
Explanations:
The configuration CodeDeployDefault.ECSCanary10Percent5Minutes is designed for canary deployments, which deploy a small percentage of the new version (10% in this case) and wait 5 minutes before deploying the rest. This does not fulfill the requirement to incrementally update the entire production environment in consistent increments until fully updated.
The configuration CodeDeployDefault.ECSLinear10PercentEvery3Minutes allows for a linear deployment strategy where 10% of the production environment is updated every 3 minutes. This meets the requirement to update the environment in increments of 10% until the entire production environment is updated.
The configuration CodeDeployDefault.OneAtATime updates one instance at a time. While it ensures that each instance is updated before moving to the next, it does not support the requirement of updating 10% of the environment incrementally.
The configuration CodeDeployDefault.LambdaCanary10Percent5Minutes is intended for AWS Lambda deployments and utilizes a canary deployment strategy, which involves deploying a small percentage (10%) initially and waiting for a defined period (5 minutes) before the full rollout. This does not fit the requirement for ECS or the specified incremental update of 10%.