Soru

Zorluk: OrtaDeployment Strategies

An organization hosts a web application on an AWS Elastic Beanstalk environment. The operations team needs to deploy a minor software update. Due to strict AWS account limits, the environment cannot launch any additional Amazon EC2 instances during the deployment. The application must remain online and accessible to users, but it can tolerate running at a minimum of 50%50\% of its total instance capacity during the deployment. Which Elastic Beanstalk deployment policy should the developer configure to meet these requirements?

  1. RollingCevap
  2. B
    Rolling with additional batch
  3. C
    Immutable
  4. D
    All at once

Cevap

Rolling
The Rolling deployment strategy updates the application in batches on the existing instances. This ensures that no new EC2 instances are provisioned during the process, adhering to the strict service limits. Because it updates one batch at a time, the application remains online, satisfying the availability requirement while running at the tolerated reduced capacity.

Adım Adım Çözüm

1
Evaluate the capacity constraints and compute the allowed additional resources.
Zero new Amazon EC2 instances can be launched due to strict AWS account limits.
This rules out deployment strategies that require provisioning new instances, such as Immutable or Rolling with additional batch.
2
Analyze the availability requirement for the web application.
The application must remain online and accessible to users.
This rules out the All at once deployment strategy, which takes all instances out of service simultaneously.
3
Evaluate the remaining candidate strategies against the performance threshold.
The Rolling policy is selected because it updates instances in batches without creating new instances, while maintaining application availability at a reduced capacity of at least 50%50\%.
Rolling updates satisfy the zero-new-instance limit and the online requirement by using existing instances in batches.

Anahtar Kavram

AWS Elastic Beanstalk deployment policies and their resource/capacity trade-offs
Tahmini Süre:1m 30s
Bu soruyu puanla