A developer is configuring an AWS CodeDeploy deployment group for an in-place deployment to a fleet of 10 Amazon EC2 instances. The deployment must not provision any new EC2 instances due to budget limitations. Additionally, the application must maintain at least 50% of its healthy instance capacity at all times during the update to handle the incoming traffic load.
Which two CodeDeploy default deployment configurations can the developer select to meet these requirements? (Choose two.)
- CodeDeployDefault.OneAtATimeCevap
- CodeDeployDefault.HalfAtATimeCevap
- CCodeDeployDefault.AllAtOnce
- DCodeDeployDefault.ECSAllAtOnce
- ECodeDeployDefault.LambdaCanary10Percent5Minutes
Cevap
CodeDeployDefault.OneAtATime and CodeDeployDefault.HalfAtATime
The correct configurations are CodeDeployDefault.OneAtATime and CodeDeployDefault.HalfAtATime. An in-place deployment to a fleet of 10 EC2 instances requires at least 5 instances (50%) to remain healthy at all times. CodeDeployDefault.OneAtATime updates one instance at a time, keeping 90% capacity active. CodeDeployDefault.HalfAtATime updates up to 5 instances at a time, keeping exactly 50% capacity active. Both satisfy the minimum capacity requirement.
Adım Adım Çözüm
Anahtar Kavram
AWS CodeDeploy deployment configurations for EC2 in-place deployments.