AWS foundations
The AWS pieces MiniTickets lives in, from the account down to CloudFront.
- Account and region
What are an AWS account and a region, and why does MiniTickets use one of each?
- VPC and subnets
Why do the database and the cache sit in subnets the internet cannot reach?
- Route tables, and why there is no NAT
How does traffic know where to go, and how does MiniTickets work without a NAT gateway?
- Security groups
How does a security group decide who may connect, and how do you read one rule?
- IAM roles
What is the difference between a task role and a task execution role?
- Secrets
How does the API get the database password without it being in the code or the image?
- RDS Postgres
Where does the data live, who can reach it, and what happens when it is down?
- ElastiCache Valkey
What does the cache hold, and what happens to MiniTickets when it disappears?
- ECR and container images
Where do the images come from, and how does a task know which one to run?
- ECS on Fargate
How do a cluster, a service, a task definition and a task relate to each other?
- Load balancer and target groups
How does the load balancer pick a task, and what makes a target unhealthy?
- DNS and certificates
How does a browser find MiniTickets, and where does the HTTPS certificate come from?
- CloudFront
What does CloudFront add in front of the load balancer, and how does the load balancer trust it?
Read this book online: https://book.theversehub.in/