DEV Community

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

Posted on

1

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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post