A complete, end-to-end DevSecOps pipeline built to simulate a production-grade cloud environment. This project demonstrates Infrastructure as Code (IaC), Container Orchestration, CI/CD Automation, and Real-time Observability.
- Infrastructure: Terraform provisions a custom Docker Network and simulated servers (Jenkins, Prometheus, Grafana).
- Application: A Python Flask microservice containerized with Docker.
- CI/CD: Jenkins automates the lifecycle:
Checkout->Build->Push to Registry->Deploy. - Monitoring: Prometheus scrapes metrics; Grafana visualizes infrastructure health.
| Category | Tools Used |
|---|---|
| Infrastructure as Code | Terraform (HCL) |
| Containerization | Docker, Docker Hub |
| CI/CD Automation | Jenkins (Groovy Pipeline) |
| Monitoring & Logging | Prometheus, Grafana |
| Application Logic | Python (Flask) |
| Version Control | Git, GitHub |
Successfully built, pushed, and deployed the application container.

Real-time visualization of container CPU, Memory, and Network usage.

prometheus target configuration successfully scraping Jenkins metrics.

The Python Microservice running live after automated deployment.

Secure storage of versioned container images.

- Docker Desktop (Ensure API 1.44+ compatibility)
- Terraform
- Git
-
Clone the Repository
git clone [https://github.com/JubethSB/local-devops-project.git](https://github.com/JubethSB/local-devops-project.git) cd local-devops-project -
Provision Infrastructure (Terraform)
cd terraform terraform init terraform apply -auto-approve -
Run the Pipeline
- Access Jenkins at
http://localhost:8080. - Trigger the
DevOps-Pipelinebuild.
- Access Jenkins at
-
Check Monitoring
- Access Grafana at
http://localhost:3000(Default credentials:admin/admin).
- Access Grafana at
Jubeth S B Cloud Infrastructure & DevOps Engineer