- Newest
- Most votes
- Most comments
Low-Cost CI/CD Pipeline for Resume Website
Given your constraints and learning goals, here's a cost-effective approach to building a containerized CI/CD pipeline for your resume website:
Recommended Services
- GitHub - Free tier for hosting your resume repository
- Jenkins - Self-hosted on a small EC2 instance (t2.micro in the free tier)
- Docker - For containerization (free and open-source)
- Amazon ECR - For storing your container images (has a free tier)
- Amazon ECS with Fargate - More cost-effective than EKS for a simple website
Why This Approach vs. Kubernetes
While Kubernetes (EKS) is popular in job listings, it's significantly more expensive and complex for your use case. For a simple resume website, EKS would be overkill and could cost $70+ per month just for the control plane.
ECS with Fargate provides container orchestration with a pay-as-you-go model that will be much more affordable for a low-traffic resume site.
Implementation Hints
- Set up Jenkins on EC2:
- Use a t2.micro instance (free tier eligible)
- Install Jenkins and necessary plugins for Docker/container integration
- Configure Jenkins to monitor your GitHub repository
- Create a simple pipeline:
- Checkout code from GitHub
- Build your resume website (HTML/CSS or whatever technology you're using)
- Build a Docker image
- Push the image to Amazon ECR
- Deploy to ECS Fargate
- Cost optimization:
- Use EC2 free tier
- Configure Fargate to use minimal resources
- Set up ECR lifecycle policies to remove unused images
This approach gives you hands-on experience with containers and CI/CD while keeping costs minimal. Once you're comfortable with this setup, you could explore migrating to Kubernetes as a learning exercise, but I wouldn't recommend starting there given your budget constraints.
Sources
Building an End-to-End CI/CD Pipeline with Jenkins | AWS re:Post
Jenkins pipeline setup and CI/CD integration with Kubernetes | AWS re:Post
Community | Build a CI/CD Pipeline for EKS Workloads with AWS Services
Configuring container pipelines - AWS App2Container
Relevant content
- asked 3 years ago
