Day 2 – DevOps CI/CD Project: Practical Implementation of Build & Deploy a Flask Web App

Опубликовано: 18 Июль 2026
на канале: SRTechOps
504
14

Github Link for Code: https://github.com/srtechops/Deploy-a...

🚀 DevOps with Multi-cloud Training 🌐
👉 Want to level up your DevOps skills with Multi-Cloud expertise?
📥 Check out the training here ⬇️
🔗 https://srtechops.systeme.io/devops-w...

🎯 Self-paced DevOps with Multi-cloud Training 🧠
⏱️ Learn at your own pace — Anytime, Anywhere!
💡 Don’t miss out! Click below to know more ⬇️
🔗 https://srtechops.systeme.io/devops-w...

Welcome to Day 2 of our DevOps CI/CD Project Series! In this session, we move from theory to real-world implementation — building and deploying a Python Flask web application as part of a fully automated CI/CD pipeline.

🔍 What You’ll Learn:
🧠 00:00–00:59 – Recap & Project Overview: Developer writes Flask app locally, then pushes code to GitHub (SCM).

🖥️ 01:28–03:10 – Test Server Setup: Pull code to test server, install OS, Python, Flask ➕ run app manually or via automation (pytest).

🔁 04:17–05:57 – CI Intro with Jenkins: Use Jenkins for continuous integration — pulls code, runs test cases, provides feedback.

☁️ 05:57–10:32 – Jenkins on AWS: Launch EC2 instance, install Java (required for Jenkins), then install and enable Jenkins.

⚙️ 11:46–19:51 – Build Tools Setup: Install Git, Python, Flask, and pytest. Create test cases to validate endpoints.

🐳 24:04–28:10 – Docker Deployment: Write a Dockerfile to containerize the app; build Docker image post-testing.

🚀 29:28–43:20 – Production Launch: Jenkins builds Docker image and launches container. App accessible on port 5000 (ensure port is open in AWS security group).

🧰 46:42–52:47 – Freestyle Jenkins Job: Configure Jenkins job to pull from GitHub, install dependencies, run tests — green (✅) on success, red (❌) on fail.

🔄 57:59–01:08:43 – CI/CD Execution: Jenkins installs Docker, builds image, and deploys container with Flask app auto-running.

⏱️ 01:22:43–01:29:52 – Automation with Webhooks/Polling: Set Jenkins to auto-check GitHub every few minutes and redeploy on code changes.
This practical session is ideal for DevOps beginners, Python developers, and those looking to implement CI/CD pipelines with hands-on examples.

#devops #cicd #flask #pythonwebapp #devopsproject #flaskdeployment #cicdtutorial #github #clouddeployment #devopsforbeginners