Chapter 16: Capstone — Ship It End-to-End
16.2 Scope — what "done" means
In scope (pick tools you already practised):
- Small API or static+API hello that serves
/healthand a tiny/badge(or equivalent). Dockerfilethat builds a runnable image.docker-compose.ymlfor local API (+ optional DB/redis) with a volume lesson remembered.- GitHub Actions workflow: PR tests;
mainbuilds and pushes an image tagged with git SHA (GHCR or Docker Hub — your choice). - One deploy path (choose A or B — do not half-do both):
- A: SSH/Ansible (or Actions SSH step) pulls/runs the tagged image on one lab VM.
- B:
kindlocal cluster with Deployment + Service + port-forward (Chapter 15). - README runbook sections listed below.
- Monitoring/logging ping: at least one host metric dashboard note or one log query note from Chapters 13–14 (does not need production polish).
- Cleanup: stop compose, destroy terraform leftovers if any,
kind deleteif used, stop idle VMs.
Out of scope: full VPC redesign, real payment gateways, real customer data, invented AWS prices, PDF uploads to the website.