Quality and Notifications in the Pipelin...
AWSCI/CD

Quality and Notifications in the Pipeline

A pipeline needs two more things to use for real: running test/scan as a blocking gate (broken code never reaches Deploy) and firing status notifications so nobody has to sit watching the console. This article uses tests in the Build stage as a gate, then sets up a notification rule that pushes pipeline events to SNS — reading a real notification through SQS to prove the chain works.

K
KaiMay 25, 2026· 11 views
A Pragmatic Pipeline: Approval Gate, Par...
DevOpsAWS

A Pragmatic Pipeline: Approval Gate, Parallelism, and Triggers

A pipeline that runs isn't yet a pipeline you can use at work. This article adds three pragmatic things: a manual approval gate that blocks deploy until someone signs off (demoed for real over the CLI), running multiple actions in parallel with runOrder, and trigger filtering so the pipeline runs only for the right branch — using pipeline type V2.

K
KaiMay 25, 2026· 11 views
CodePipeline: Wiring Source, Build, Depl...
DevOpsAWS

CodePipeline: Wiring Source, Build, Deploy Into a Chain

Until now every stage ran by hand. CodePipeline wires them into one automated chain: Source pulls code from CodeCommit, Build calls CodeBuild, Deploy calls CodeDeploy — artifacts flow from one stage to the next. This article builds the first pipeline, runs it for real, and dissects how artifacts pass between stages.

K
KaiMay 25, 2026· 24 views
Blue/Green Deploy With ALB and Automatic...
AWSCI/CD

Blue/Green Deploy With ALB and Automatic Rollback

In-place deploys have a window where a machine is offline. Blue/green avoids it: stand up a new fleet (green) in parallel, validate it, then shift traffic over with a load balancer — blue stays intact for an instant return. This article builds an ALB, switches the deployment group to blue/green, runs it for real (including a very realistic IAM error), and configures automatic rollback per CloudWatch alarm.

K
KaiMay 25, 2026· 17 views
Deploying to an Auto Scaling Group and D...
AWSCI/CD

Deploying to an Auto Scaling Group and Deployment Config

From one instance to many: deploying to an Auto Scaling Group. Create a launch template and ASG, attach the deployment group to the ASG, then pick a deployment config (OneAtATime, HalfAtATime, AllAtOnce) to control whether the deploy goes machine by machine or all at once. Plus a key mechanism: CodeDeploy automatically deploys the latest revision to instances the ASG launches later.

K
KaiMay 25, 2026· 13 views
CodeDeploy Lifecycle Hooks: Order, Varia...
AWSCI/CD

CodeDeploy Lifecycle Hooks: Order, Variables, and When a Hook Fails

A deep dive into CodeDeploy's hook layer: what order the lifecycle events run in, which hook fits which job, why ApplicationStop runs from the old revision rather than the new one, the environment variables CodeDeploy passes into your scripts, and what happens when a hook fails — the deploy stops right there, and later events don't run.

K
KaiMay 25, 2026· 11 views
CodeDeploy: The First In-Place Deploy to...
AWSCI/CD

CodeDeploy: The First In-Place Deploy to EC2

Opening Part IV: putting artifacts onto EC2 with CodeDeploy. Stand up an instance with the agent, create an application and a deployment group targeted by tag, write appspec.yml with lifecycle hooks, then run the first in-place deploy — watch the agent pull the revision from S3 and run through each lifecycle event until the app actually serves.

K
KaiMay 25, 2026· 8 views