This project demonstrates a complete CI/CD pipeline using AWS services.
Architecture includes:
- GitHub (Source Control)
- AWS CodePipeline (Pipeline Orchestration)
- AWS CodeBuild (Build Stage)
- AWS CodeDeploy (Deployment)
- Amazon EC2 (Application Hosting)
- Amazon S3 (Artifact Storage)
A simple Flask web application with health endpoint.
Routes:
/ -> Returns application message
/health -> Returns OK
Developer Push Code ↓ GitHub Repository ↓ AWS CodePipeline ↓ AWS CodeBuild ↓ AWS CodeDeploy ↓ EC2 Server Deployment
- Python
- Flask
- AWS EC2
- AWS CodePipeline
- AWS CodeBuild
- AWS CodeDeploy
- Amazon S3
- Git
- GitHub
- Create GitHub repository
- Create EC2 instance
- Install CodeDeploy agent
- Create S3 artifact bucket
- Configure CodeBuild
- Configure CodeDeploy
- Create CodePipeline
Push new code to the main branch: git add . git commit -m "update" git push
Pipeline will automatically trigger.
Access the application:
DevOps CI/CD School Project
Suvo Biswas