Integrate GitLab with AWS CodeDeploy
AWS CodeDeploy is an automated deployment service that safely rolls out code changes across EC2 instances. Using techniques like rolling in-place updates or blue-green deployments, changes can be made to a running application without requiring downtime. CodeDeploy automates the deployment, tracks the health of the server fleet, and can automatically stop and roll back a bad deployment.
By connecting GitLab with CodeDeploy, every time you check-in code to a specified branch, it will trigger an automated code deployment to the specified group of EC2 instances. You can map different branches to different target groups of servers.