svg
svg svg

Mahindra Last Mile

Designed and worked on a containerized application deployment architecture using Jenkins, Docker, Amazon ECR, and Amazon ECS, with a focus on reliable deployments and consistent application releases across QA and Production environments.

Technologies Used:

AWS ECS | Amazon ECR | Jenkins | Docker | GitHub | NGINX | React | PostgreSQL | AWS Secrets Manager | Keycloak
πŸ–ΌοΈ Image not available
Mahindra Last Mile
πŸ”
star

Production

Environment Type

Advanced

Complexity Level

Faster Deployments

Performance Impact

Project Overview

# Mahindra Last Mile – CI/CD Automation & AWS ECS Deployment **Role:** DevOps Engineer **Cloud Platform:** AWS ### Project Overview Designed and implemented a Jenkins-driven CI/CD workflow for deploying containerized applications on AWS ECS. The deployment architecture used Amazon ECR for Docker image management and supported controlled releases across QA and Production environments. ### Technology Stack AWS ECS Β· Amazon ECR Β· Jenkins Β· Docker Β· GitHub Β· React Β· NGINX Β· PostgreSQL Β· AWS Secrets Manager Β· Keycloak ### Key Responsibilities - **CI/CD Automation:** Implemented Jenkins pipelines to automate Docker image builds and application deployments. - **Container Registry:** Integrated Amazon ECR for centralized Docker image storage and version management. - **ECS Deployment:** Automated containerized application deployments on AWS ECS. - **Artifact Promotion:** Implemented a Build Once, Deploy Many strategy, promoting the same validated Docker image from QA to Production without rebuilding. - **Application Infrastructure:** Worked with React frontend, NGINX, and PostgreSQL integrated with AWS services. - **Security & Authentication:** Worked with AWS Secrets Manager, Keycloak authentication, and Azure Active Directory integration. - **Release Consistency:** Maintained consistent application artifacts across environments to minimize deployment discrepancies. ### CI/CD Deployment Workflow 1. Developer pushes code changes to GitHub. 2. Jenkins pipeline triggers the build process. 3. Docker image is built and pushed to Amazon ECR. 4. The image is deployed to the QA environment using AWS ECS. 5. QA validation and release approval are completed. 6. The same Docker image is promoted to the Production environment. 7. ECS Production services run the approved image.

Key Features:

  • - Automated Docker image builds and publishing.
  • - Jenkins-based CI/CD automation.
  • - Multi-environment deployment (QA & Production).
  • - Build Once, Deploy Many artifact promotion.
  • - Centralized Docker image management using Amazon ECR.
  • - Consistent release artifacts across environments.

Challenges & Solutions:

Maintaining consistent Docker images across QA and Production

Implemented Build Once, Deploy Many strategy to promote the same validated Docker image without rebuilding.

Manual deployment overhead

Automated Docker image builds, ECR publishing, and ECS deployments using Jenkins pipelines.

Managing application releases across multiple environments

Standardized QA-to-Production deployment workflow with controlled artifact promotion.

Centralized Docker image management

Integrated Amazon ECR for versioned image storage and retrieval.

Secure application configuration management

Used AWS Secrets Manager to manage application secrets securely.

System Architecture

πŸ—ΊοΈ Diagram not available
Architecture Diagram

svg svg

Let's Build Something Amazing Together

Ready to transform your infrastructure? Let's create scalable solutions that drive real results.

⚑
Fast Delivery
Quick turnaround
🎯
Proven Results
99.9% uptime achieved
πŸ’¬
Clear Communication
Regular updates
svg