Cloud & delivery / Infrastructure demonstration
A path to deployment
A Flask demo with automated checks, Docker builds, and Terraform configuration for AWS.
View source code- Python
- Flask
- Docker
- Terraform
- AWS ECS Fargate
- ECR
- GitHub Actions
- Pytest
- Bandit
01 / The problem
The problem
Shipping a service involves tests, a container image, and somewhere to run it. This project puts those pieces together around two small JSON endpoints.
02 / What was built
What was built
GitHub Actions runs Pytest and Bandit, then builds a Docker image and pushes it to ECR. Terraform describes a Fargate task and service, load balancer, and execution role.
03 / Engineering decisions
Engineering decisions
Tests before the build
Pytest and Bandit run before the image is built and pushed. The Git commit SHA becomes the image tag.
Runtime settings in Terraform
The task configuration sets CPU, memory, image, and execution role. The service connects to the load balancer and accepts VPC and subnet IDs as inputs.
Two endpoints to check
The root and health routes return JSON. Their tests sit alongside the infrastructure code, keeping the application small enough to read in one sitting.
04 / Scope
Scope
05 / Read the code
Source code
Reviewed September 10, 2026.