AWS EC2 Blue-Green
Deployment
In-Placed Deployment
In-Placed Deployment
Blue-Green Deployment
Blue-Green Deployment
Blue-Green Deployment
Blue-Green Deployment
Deployment Model In Production
Deployment Model In Production
In-Placed Deployment with standalone EC2
instance
● Setup EC2 Instance with Nginx with Custom vhost directory
● Install AWS CodeDeploy agent
● Setup Github Angular Repo with appspec.yml and buildspec.yml
● Setup Code Build Project for prepare build and upload to s3 bucket
● Create application and Deployment Group in code deploy the application in EC2 instance
● Create IAM role for codedeploy and attach to EC2 instance
● Create code deploy pipeline for automatic deployment
In-Placed Deployment with Auto-scaling and
load balancer
● Create IAM image from the existing EC2 instance
● Setup Auto-scaling infra with load balancer
● Setup Application and Deployment group for In-placed deployment with auto-scaling
● Change in deployment stage in existing pipeline
● Run the release pipeline and validate Load Balancer URL
Blue-Green Deployment with Auto-scaling and
load balancer
● Setup Application and Deployment group for Blue Green deployment with auto-scaling
● Change in deployment stage in existing pipeline
● Run the release pipeline and validate Load Balancer URL

AWS EC2 Blue-Green Deployment using code deploy