#ECS

5 posts

Terraform in Practice #8 Deploying on ECS Fargate: Task Definitions, Services, and the Cutover Behind the ALB
5 min read

Terraform in Practice #8 Deploying on ECS Fargate: Task Definitions, Services, and the Cutover Behind the ALB

Examining the limits of the user_data approach and moving the compute layer to containers. We build an ECS cluster and a Fargate task definition, separate the execution role from the task role, create a service with an ip-type target group, and run EC2 and containers side by side behind the same ALB before cutting over with a single listener change — all in code.

AWS in Practice #3: CI/CD — GitHub Actions + ECR + ECS
10 min read

AWS in Practice #3: CI/CD — GitHub Actions + ECR + ECS

GitHub Actions without access keys via OIDC, ECR push, automatic Task Definition updates, ECS Service rolling deployments, deployment circuit breakers and auto-rollback, and a touch of CodeDeploy blue/green — a deployment flow that ends with a single git push.

AWS in Practice #1: Deploying FastAPI/Django to ECS Fargate
10 min read

AWS in Practice #1: Deploying FastAPI/Django to ECS Fargate

Push a container image to ECR, write a Task Definition, and stand it up as an ECS Fargate Service behind an ALB — the full flow of putting a small blog API into production, in a single post.

Docker in Practice #6 Cloud Deployment — Fly.io / Railway / ECS — Wrapping the Track
10 min read

Docker in Practice #6 Cloud Deployment — Fly.io / Railway / ECS — Wrapping the Track

The final step — taking the images you built and pushed and putting them on real production. Three options (Fly.io , Railway , ECS Fargate), the fork between them, deployment flows, secret management, healthchecks and zero-downtime, and a recap of all 24 posts in the track.

AWS Advanced #1: ECS and Fargate — Container Deployment
13 min read

AWS Advanced #1: ECS and Fargate — Container Deployment

ECS and where it fits (vs EKS), the four pieces (Cluster / Service / Task / Task Definition), EC2 launch type vs Fargate, hooking up ALB / VPC, and your first container deployment — how to put a container on AWS, end to end.