0

I am trying to understand how code deployments work with aws blue green stacks. I have been reading alot of documentation on it and the concept of it makes sense. So I understand that we have two environments (stacks) that are replica of each other. When I make changes and deploy it, the changes get applied to the inactive region and then when I activate it, the inactive region will become active and active region becomes inactive.

However I am not sure about the roll back process: So my questions are:

  1. If i am using an load balancer and lets say after i went to production some calls started to fail. However I know that my inactive stack (old version) is still healthy then how would i go on about manually telling the traffic go to my inactive stack or how do make that stack active again with the old changes?

  2. Is there a better way to do it using route53? If can I just change the dns of the route to be dns of the old stack and will that work?

I am still new to aws and trying my best to understand it so if I didn't explain things clearly please let me know in comments and I will try to clarify further.

galo2324
  • 129
  • 1
  • 9

0 Answers0