A developer is using AWS CodeDeploy to perform an in-place deployment of an application to an EC2 Auto Scaling group containing running instances. The application must maintain at least of its traffic-serving capacity during the deployment process to handle regular user traffic. The developer also wants to avoid launching any new EC2 instances to minimize additional costs.
Which of the following CodeDeploy configurations will meet these requirements? (Select TWO.)
- The CodeDeployDefault.OneAtATime default deployment configurationCevap
- A custom deployment configuration with the minimum healthy hosts parameter set to a host count of Cevap
- CThe CodeDeployDefault.HalfAtATime default deployment configuration
- DA custom deployment configuration with the minimum healthy hosts parameter set to a fleet percentage of
- EThe CodeDeployDefault.AllAtOnce default deployment configuration
Cevap
The correct configurations are the CodeDeployDefault.OneAtATime default deployment configuration and a custom deployment configuration with the minimum healthy hosts parameter set to a host count of .
The correct options are the default configuration that updates one host at a time and the custom configuration that specifies a minimum of healthy hosts. With a desired capacity of instances, maintaining capacity means at least instances must remain online and healthy during the deployment. The configuration that deploys to one instance at a time will update exactly instance, leaving active (). Similarly, setting the custom minimum healthy hosts to a host count of explicitly forces CodeDeploy to maintain healthy instances throughout the process.
Adım Adım Çözüm
Anahtar Kavram
AWS CodeDeploy deployment configurations and minimum healthy hosts settings for EC2 deployments