🚀 Build a Real CI/CD Pipeline with GitHub Actions & AWS
In this video, I walk through a complete end-to-end DevOps pipeline using GitHub Actions and Amazon Web Services — without storing any AWS credentials.
We’ll use OIDC authentication, build and push a Docker image to Amazon Elastic Container Registry, and deploy it to an EC2 instance using AWS Systems Manager.
The deployed application provides a clean UI where users can upload files, which are then stored in Amazon S3.
🔧 What You’ll Learn
• Secure authentication using OIDC (no AWS keys)
• Building Docker images in CI
• Pushing images to ECR
• Deploying containers to EC2 using SSM (no SSH)
• Designing a simple but practical cloud application
• Uploading files to S3 from a web app
🏗️ Architecture Overview
GitHub → OIDC → AWS
→ Build Docker Image
→ Push to ECR
→ Deploy to EC2 via SSM
→ App Uploads Files to S3
💡 Why This Matters
• 🔐 No long-lived credentials (modern best practice)
• ⚙️ Fully automated CI/CD pipeline
• 🚀 Real-world deployment flow
• 🧠 Great for DevOps interviews & projects
⭐ Tools Used
• GitHub Actions
• Docker
• Amazon Elastic Container Registry
• Amazon Elastic Compute Cloud
• AWS Systems Manager
• Amazon S3
Source Code link: https://github.com/gautam43/s3demo
My LinkedIn profile: / gautam-khatri-8891b3127
#github #githubactions #aws #oidc #cicd #docker #dockercontainer #awsssm #ecr #devops #awsdevops #deployment #ec2