This project demonstrates an end-to-end DevOps workflow for a Python Flask application.
- Python Flask
- Git and GitHub
- Docker
- GitHub Actions
- Docker Hub
- AWS EC2
- Prometheus
- Grafana
Developer → GitHub → GitHub Actions → Docker Hub → AWS EC2 → Prometheus/Grafana
- Flask web application
- Dockerized deployment
- Automated Docker image build and push
- Deployment on AWS EC2
- Health check endpoint
- Prometheus metrics endpoint
- Grafana monitoring dashboard
//health/metrics
The pipeline is triggered when code is pushed to the main branch. It builds a Docker image and pushes it to Docker Hub.