sharan@sre:~$ cat projects/Jenkins_CICD

Jenkins CICD Pipeline

Overview

This project is a Proof of Concept (PoC) for deploying a Jenkins CICD Pipeline using GitHub Webhooks as build triggers on AWS, The solution leverages Jenkins Build Pipeline Groovry Scripting for automating application build/deployment, GitHub Webhooks for build triggers, and Docker for containerization of a ToDo application

Key Components

  • > CICD: Jenkins CICD Pipeline
  • > Infrastructure: AWS EC2 instance (t3.micro) and Docker Containers
  • > Configuration: Ansible playbooks for automated setup of monitoring tools.

Features

  • > This Jenkins Pipeline uses GitHub Webhooks triggers on each commit on main branch
  • > Containerized Services for portability and easy management.
  • > Uses AWS ec2 Instance for serving as both Jenkins and the App servers

Screenshots

Prometheus Dashboard Screenshot
Grafana Dashboard Screenshot
Architecture Diagram

Getting Started

To get this stack up and running, follow these steps:

sharan@sre:~$ git clone https://github.com/sharanch/cicd-poc.git
sharan@sre:~$ cd cicd-poc
sharan@sre:~$ docker build -t cicd-poc
sharan@sre:~$ docker run -t -p 5000:5000 --name local_todo cicd-poc #open browser on localhost:5000 you should see a TODO app running