
Every developer hits this problem:
You push code to GitHub…
But deployment is still manual.
SSH → Pull → Restart → Repeat.
It’s slow. Error-prone. Not scalable.
This kit turns your deployment into ONE push.
✅ Push code → deployment starts automatically
✅ Docker image builds via GitHub Actions
✅ Image pushed to AWS ECR securely
✅ EC2 pulls latest image & restarts container
✅ Zero downtime manual steps removed
✅ Live in 2–3 minutes
What's inside the ZIP:
📁 .github/workflows/deploy.yml
The complete pipeline. Trigger, build, push to ECR, deploy to EC2. Copy it into any project.
📁 app/ — Python Flask sample app with Dockerfile
Test end-to-end immediately without needing your own app ready.
📁 app-nodejs/ — Node.js Express sample app with Dockerfile
Same pipeline, Node.js version. Swap in your own project easily.
📁 aws/iam-policy.json
Exact minimum IAM permissions for GitHub Actions. No security guesswork.
📁 aws/setup.sh
One-time setup script for your EC2. Works on Amazon Linux 2023 and Ubuntu 22.04.
Run it once, Docker and AWS CLI are installed and configured.
📁 README.md
6 steps. Plain English. Screenshots described. Troubleshooting section for 5 most common errors.
Works with any language — Python, Node.js, Java, Go, PHP.
If it runs in Docker, this pipeline deploys it.
Because:
👉 This kit gives you a ready-to-use, production-style pipeline
Time to working pipeline: Under 30 Min.