Issue No. 01 · AWS DevOps · CBS3005

The Art of
Automated
Deployment

Author Team-3 VIT University

A complete CI/CD pipeline engineered on AWS — from commit to cloud in seconds. GitHub Actions, CodeDeploy, Auto Scaling, and zero-downtime delivery.

Scroll to explore
01

The Pipeline

Every commit triggers a choreography of automated steps.

Step 01

Developer Push

Code committed to GitHub. The trigger that sets everything in motion.

Step 02

GitHub Actions

Workflow fires — build, test, package. OIDC authenticates with AWS seamlessly.

Step 03

S3 Artifact Store

Build artifact uploaded to S3 bucket. Versioned. Immutable. Ready.

Step 04

CodeDeploy

Rolling deployment across EC2 instances via Auto Scaling Group.

Step 05

Live & Scaled

ALB routes traffic. Application running in ap-southeast-2. Zero downtime.

02

Architecture

A production-grade AWS architecture designed for resilience, scalability, and zero-touch deployments — templated entirely in CloudFormation.

Region ap-southeast-2
IaC CloudFormation
Auth IAM OIDC
Deploy Rolling / CodeDeploy
GitHub
GH Actions
🪣 S3
CodeDeploy
ALB
EC2
EC2
EC2
Auto Scaling Group · ap-southeast-2
03

Technology Stack

The tools that power this deployment machine.

Source Control

GitHub

Repository host and CI/CD trigger. Every push to main initiates the pipeline.

CI/CD Engine

GitHub Actions

Workflow automation with YAML-defined jobs. OIDC token exchange with AWS.

Artifact Storage

Amazon S3

Secure, versioned artifact bucket. Immutable build packages per deployment.

Deployment

AWS CodeDeploy

Rolling deployments across EC2 fleet. appspec.yml lifecycle hooks.

Compute

EC2 + ASG

Auto Scaling Group for elastic capacity. Scales in and out based on load.

Networking

App Load Balancer

Distributes traffic across healthy instances. Health checks every 30 seconds.

IaC

CloudFormation

Entire infrastructure declared as code. Repeatable, version-controlled stacks.

Security

IAM & OIDC

No long-lived credentials. GitHub Actions assumes role via OIDC federation.

04

Deployment Status

Pipeline Operational
EC2 Instances 3 / 3 Healthy
Load Balancer Active
Auto Scaling Monitoring
deployment.log
$ aws deploy create-deployment
✓ Deployment initiated: d-XYZABC123
INFO Fetching artifact from S3...
✓ Artifact validated (sha256 match)
INFO Installing on i-0abc123def456...
✓ Instance 1/3 deployed
✓ Instance 2/3 deployed
✓ Instance 3/3 deployed
INFO Health checks passing...
✦ DEPLOYMENT SUCCESSFUL — 0 errors