DEV Community

Cover image for IaaC Simplified: Automating EC2 Deployments with GitHub Actions, Terraform, Docker & Distribution Registry
Ivan Borshchov
Ivan Borshchov

Posted on

IaaC Simplified: Automating EC2 Deployments with GitHub Actions, Terraform, Docker & Distribution Registry

Hey folks! If u need cheapest devops setup where GitHub actions deploys docker containers to EC2.
🐳 Docker build is done on GitHub actions so server is not loaded with heavy actions.
🙅‍♂️ No other paid services involved (like ECR, Dockerhub, GHCR), registry is auto-hosted on EC2.
🚀 Everything automated with Terraform, you don't need to go and click on anything in AWS apart credentials, everything in code.

https://adminforth.dev/blog/compose-ec2-deployment-github-actions-registry/

Top comments (0)