AWS Route53 Blue Green Deployment - Disabling Traffic for Older Setup

Disabling Traffic for Older Setup

Prev Question Next Question

Question

Your company is currently planning on using Route53 for managing Blue Green deployments.

They have already setup an 80%-20% for a new deployment.

How can you disable traffic to the older setup once all testing is complete?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - D.

The AWS Documentation mentions the following to support this answer.

Enter an integer between 0 and 255

To disable routing to a resource, set Weight to 0

If you set Weight to 0 for all of the records in the group, traffic is routed to all resources with equal probability.

This ensures that you don't accidentally disable routing for a group of weighted records.

Options A and B are incorrect since you need to first mark the resource record as 0

Option C is incorrect because this will cause the reverse and all traffic will flow to the application.

For more information on setting values for the weighted resource records , please refer to the below URL.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-values-weighted.html

Blue-Green deployment is a deployment strategy that allows you to release a new version of your application alongside the old version. The traffic is gradually shifted from the old version to the new version, and once the new version is confirmed to be stable and free of errors, all the traffic is directed to the new version, and the old version is taken down. AWS Route 53 is a domain name system (DNS) web service that allows you to route internet traffic to AWS resources.

To manage Blue-Green deployments with AWS Route 53, you can use the weighted routing policy. In this routing policy, you can specify the percentage of traffic that should be routed to each version of your application. For example, if you have two versions of your application, A and B, you can set the weight of A to 80 and the weight of B to 20. This means that 80% of the traffic will be routed to version A, and 20% of the traffic will be routed to version B.

Once you have completed the testing of the new deployment and want to disable traffic to the old deployment, you can change the resource record weight to 0. This will ensure that all the traffic is directed to the new deployment, and the old deployment will no longer receive any traffic.

Therefore, the correct answer to the question is D. Change the resource record weight to 0.