Welcome to this DevOps project where I show how to Containerise our Application deploy, monitor, and manage a Two Tier cloud-native Book Labrary app on AWS Ec2 using real-world tools and best practices.
🔗 Project Repository
https://github.com/Aseemakram19/oursp...
Docker & docker compose script repo :
https://github.com/Aseemakram19/devOp...
Click to Our channel :
/ @clouddevopswithaseem
This is a full-stack DevOps implementation that reflects what happens in real production environments.
----------------------------------------------------------------------------------------------------------
Dockerized Java Spring Boot Application with MySQL Database Integration
Built and deployed a Java Spring Boot application integrated with MySQL database using Docker and Docker Compose.
Application container runs on port 8080, connected via a custom Docker network (springboot-db-net) to a MySQL 5.7 database container.
Persistent storage achieved with Docker volumes for both application and database data.
🛠️ Infrastructure Setup:
Hosted the application on AWS EC2 (Linux) for production-grade deployment.
Configured networking in Docker Compose to allow secure communication between app and database services.
Used Git for version control and collaborative development.
Implemented Docker volumes (/data/springboot-app, /data/mysql) to persist data beyond container lifecycle.
⚙️ CI/CD Workflow:
Code changes pushed to Git trigger automated builds of the Spring Boot JAR file.
Docker image (spring-boot-mysql-app) built from the JAR and deployed using Docker Compose.
Continuous deployment tested on AWS EC2 with zero-downtime restarts.
📈 Monitoring & Observability:
Configured container-level monitoring using Docker commands (docker stats, docker logs).
Enabled MySQL slow query logging for performance diagnostics.
Application logs captured for debugging and analysis.
📊 Logging:
Centralized logging within EC2 instance for both app and DB containers.
Utilized log persistence in Docker volumes for audit and recovery.
----------------------------
🎯 Target Audience:
Beginners who want a real-world DevOps walkthrough
Engineers aiming to learn cloud-native deployments with security and observability
Anyone preparing for certifications
👍 Like the video? Drop a comment, ask questions, and subscribe for more deep-dive DevOps content!
-------------------------------------------------
🔗 Project Repository
https://github.com/Aseemakram19/oursp...
Click to Our channel :
/ @clouddevopswithaseem
Join this channel to get access to perks:
/ @clouddevopswithaseem