How fadil1212/aws-ecs-eks-cicd-pipeline works
This repository is a hands-on AWS container-delivery lab: a change is checked, built once into an immutable image, deployed to ECS and EKS, and checked for matching release identity. Its other major product capabilities are a comparison/health application and controlled recovery and scaling experiments. The deployment and extension scripts are excerpted; Jenkins, GitHub Actions, and infrastructure are represented from README documentation and tree paths, not inspected source. Cloud resources described in the README were workshop resources and have since been decommissioned.
Main entry points: lab.py Deployment automation · cloud_extension.py Recovery and scaling · server.py HTTP application · Jenkinsfile Release pipeline
Components 18
CI and delivery
- PR checks
.github/workflows/ci.yml - Release pipeline
Jenkinsfile - Image build and publish
scripts/lab.py
Cloud deployment
- Lab infrastructure
infra/lab.yaml - Deployment automation
scripts/lab.py
Demo application
- HTTP application
app/server.py - Release dashboard
app/index.html - Release metadata
app/release.json
Recovery and evidence
- Recovery and scaling
scripts/cloud_extension.py - Identity verification
scripts/lab.py - Verification artifacts
scripts/lab.py
Other components
- Developer
- GitHub PR
- Amazon ECR
- ECS Fargate
- EKS Kubernetes
- S3 audit object
- Application user
Connections 22
- Developer → GitHub PR: opens PR
README.md - GitHub PR → PR checks: runs checks
README.md - PR checks → Release pipeline: follows merge
README.md - Release pipeline → Image build and publish: runs release stages
README.md - Image build and publish → Amazon ECR: pushes image
scripts/lab.py - Release pipeline → Deployment automation: runs deployment
README.md - Deployment automation → Amazon ECR: reads image
scripts/lab.py - Deployment automation → ECS Fargate: deploys digest
scripts/lab.py - Deployment automation → EKS Kubernetes: deploys digest
scripts/lab.py - Lab infrastructure → Deployment automation: provides lab resources
- HTTP application → Release metadata: loads metadata
app/server.py - HTTP application → Release dashboard: renders dashboard
app/server.py - Application user → HTTP application: requests routes
README.md - ECS Fargate → HTTP application: serves release
README.md - EKS Kubernetes → HTTP application: serves release
README.md - Release pipeline → Identity verification: checks both releases
README.md - Identity verification → Verification artifacts: saves JSON
scripts/lab.py - Recovery and scaling → Deployment automation: uses deployment helpers
scripts/cloud_extension.py - Recovery and scaling → ECS Fargate: tests rollback and scale
scripts/cloud_extension.py - Recovery and scaling → EKS Kubernetes: tests rollback and scale
scripts/cloud_extension.py - Recovery and scaling → Identity verification: rechecks identity
scripts/cloud_extension.py - Recovery and scaling → S3 audit object: uploads report
scripts/cloud_extension.py