A developer is planning a deployment strategy for a high-traffic production application hosted on AWS Elastic Beanstalk. The application must maintain its full provisioned instance capacity during the deployment to avoid performance degradation. Additionally, if the new application version fails initial health checks, the environment must immediately roll back to the previous version without performing a secondary deployment process.
Which two Elastic Beanstalk deployment strategies will meet these requirements? (Select TWO).
- ImmutableCevap
- Traffic splittingCevap
- CRolling
- DRolling with additional batch
- EAll-at-once
Cevap
The Immutable and Traffic splitting deployment strategies satisfy both the capacity and rollback requirements.
The Immutable and Traffic splitting deployment strategies both deploy the new application version to a separate, temporary Auto Scaling group while keeping the original instances fully operational. This satisfies the requirement to maintain 100% capacity. If the update fails health checks, both strategies achieve an immediate rollback by redirecting traffic away from the new instances and terminating the temporary Auto Scaling group, without needing a secondary rolling update.
Adım Adım Çözüm
Anahtar Kavram
Elastic Beanstalk Deployment Strategies