Business Implications
The automated pipeline removes manual handoffs, shortening release cycles and reducing deployment risk. Teams can ship UI or config changes with a commit, while ECR+ECS ensures scalable runtime and CodePipeline/CodeBuild guarantee repeatable builds—improving reliability, velocity, and operational consistency for future containerized workloads.


Steps Performed
Provisioned ECR/ECS, containerized the app, configured CodeBuild and artifacts, wired CodePipeline stages, and validated blue/green-style updates from GitHub commit to live ECS task.
1.
Created ECS Cluster & ECR
Set up ECR repository for images and an ECS Fargate cluster with task definition and service. Opened port 80, mapped container to 80, and confirmed network/subnet/security group configuration for public access.
2.
Containerized 2048 Game
Validated Dockerfile (Nginx base, copy assets, expose 80). Built and tagged image locally, authenticated to ECR, pushed :latest, and confirmed repository image digest and metadata in the ECR console.
3.
Configure CodeBuild Project
Created CodeBuild project using buildspec.yml to log in to ECR, build, tag, and push the image, then emit imagedefinitions.json to S3 artifacts. Attached service role with minimal ECR/ECS/S3 permissions.
4.
Wire CodePipeline Stages
Built CodePipeline with GitHub (source) → CodeBuild (build) → ECS (deploy). Connected OAuth, selected repo/branch, linked build project, and targeted ECS cluster/service for automated image updates using artifacts.
5.
Deploy & Validate Release
Committed UI change (“2048 by <name>”), pushed to GitHub, observed pipeline execution, verified new task revision rollout on ECS, and tested site via task public IP/ALB, confirming updated content and healthy target status.
AWS Services Used
AWS CodePipeline
AWS CodeBuild
Amazon ECR
Amazon ECS (Fargate)
AWS IAM
Amazon S3 (artifacts)
Docker
GitHub
buildspec.yml
Nginx (static hosting in container)
Technical Tools Used
Docker Image Packaging & Registry Automation
CI/CD Orchestration & Release Pipelines
Container Deployment On ECS Fargate
Least-Privilege IAM & Secure Integrations
Skills Demonstrated

CI/CD For Dockerized 2048 Game
Automated Build, Test, Deploy With AWS DevOps
Built a fully automated CI/CD pipeline to containerize the 2048 game and deploy it on Amazon ECS (Fargate). The workflow builds and pushes images to ECR, runs CodeBuild, and orchestrates releases via CodePipeline, delivering fast, reliable, and zero-server management deployments.






