A solutions architect is performing a blue/green deployment for an AWS Elastic Beanstalk application. They created a new environment identical to the current environment and deployed the updated application into it. What is the next step to complete the update with minimal disruption?
Choose an answer
Tap an option to check your answer.
Correct answer: Use the Elastic Beanstalk console option to Swap Environment URLs..
Why this is the answer
The most efficient and minimally disruptive way to complete a blue/green deployment in Elastic Beanstalk is to use the "Swap Environment URLs" feature. This built-in Elastic Beanstalk function atomically swaps the CNAMEs of the two environments, ensuring a seamless transition of traffic from the old (blue) environment to the new (green) environment without any downtime or manual DNS propagation delays. Redirecting traffic by manually updating Amazon Route 53 records is less ideal because it requires manual intervention and can introduce propagation delays, leading to inconsistent user experiences during the transition. Replacing the Auto Scaling launch configuration of the old environment is not a step in a blue/green deployment; it's a configuration change within an existing environment, not a traffic swap. Manually updating DNS records has the same drawbacks as updating Route 53 records directly – it's prone to errors and delays.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed