Created
July 18, 2018 09:27
-
-
Save adhorn/4eaacd8151d615035c7ab808d2bf3c05 to your computer and use it in GitHub Desktop.
red/black deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Within the ASG1 that runs the service you want to update, find the number of instances required to serve the current traffic. | |
2. Start a new ASG2 with instances running the new version of the service. This should be a new golden AMI. | |
3. Launch the ASG2 with the same number of instances found in step 1 (+ typical 5-10%) | |
4. At this point, the new ASG2 is taking traffic along side ASG1. | |
5. De-attach the ASG1 from the ELB but don't stop the instances quite yet. This is your ticket to rollback. | |
6. If all looks good after few hours, you can dispose of ASG1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment