Terraform Blue Green Deployment and Terraform Canary Deployment allows you to reduce risk when you upgrade your application. In case of the issue you can always rollout to the previous blue deployment. Terraform Blue-green deployment is a technique that reduces downtime and risk by running two identical production environments called Blue and Green. At any time, only one of the environments is live, with the live environment serving all production traffic. For this example, Blue is currently live and Green is idle.

Did I help you out?
β˜• Buy Me a Coffe: https://www.buymeacoffee.com/antonputra
πŸ”΄ Add me on LinkedIn: https://www.linkedin.com/in/anton-putra

=========
⏱️TIMESTAMPS⏱️
0:00 Intro
0:15 AWS Networking Overview
0:30 Create versions.tf
0:38 Create main.tf
1:52 Create blue.tf
2:16 Create init-script.sh
2:26 Create variables.tf
2:36 Create output.tf
2:42 Deploy Blue Environment
3:20 Create green.tf
4:08 Create and Shift 10% of traffic to Green Deployment
4:27 Split traffic 50/50 between Blue and Green Deployment
4:37 Switch 100% of traffic to new Green Deployment and Destroy Blue

=========
Source Code
πŸ–₯️ - GitHub: https://github.com/antonputra/tutorials/tree/main/lessons/063

=========
SOCIAL
πŸŽ™ - Twitter: https://twitter.com/antonvputra
πŸ“¨ - Email: me@antonputra.com

#Terraform #HashiCorp #AWS

#aws #hashicorp #terraform

Terraform Blue Green Deployment & Terraform Canary Deployment πŸ”΅πŸ£πŸŸ’ AWS | ALB | EC2
2.10 GEEK