CI/CD Pipeline with GitHub Actions: Deploy Docker-Compose on AWS
11/24/2024 • 5 min read
CI/CDDockerGitHub ActionsAWSECREC2docker-composeDevOpsautomationcloud-deployment
Tired of manual deployments? I am!
CI/CD pipeline explained
TL-DR; Delivering a new version of product through a series of steps.
What is Continuous integration(CI)?
As any development workflow, to merge your feature/fix that you are working on into main branch, you create a branch, commit often and then you'll raise a PR. Here the CI takes place.
Automatically execute a series of steps: build, test, run static code analysis that verifies the quality of code. If everything passes, then you are able to merge into main branch.
Prerequisites:
- AWS account
- EC2 instance running and Docker installed. Great article to install docker into EC2.
- GitHub repository & GitHub Actions enabled