Skip to content
B

Blue/Green Deployment

Projects with this topic

  • Simple app based on Windows Server EC2 instance. The code source is stored in the Gitlab repository, Blue/Green deployment is realised with CodePipeline pipeline and System Manager Runbook: retrieves code changes when a webhook event is sent from GitLab, save files to the S3 bucket, invoke a Lambda function to perform execution of the SM Automation runbook, creation "Green" EC2 instance with all necessary configuration, register the instance to the Target Group, make swap weights on the ALB Listener rule, terminate "Blue" EC2 instance, send notification about deployment status. Monitoring deployed EC2 instances with CloudWatch alarms.

    Updated
    Updated