One continuous local server lifecycle
A terminal executes commands on the machine to which its shell belongs. All commands in this tutorial are local workstation commands. They do not administer a remote VM.
- 1. Know where you are working
- 2. Install and verify prerequisites
- 3. Define the lab and generate configuration
- 4. Provision, migrate and start the complete stack
- 5. Submit, read and test denial from a real client
- 6. Diagnose a stopped worker and recover it
- 7. Create an encrypted backup and restore a separate database
- 8. Change, rotate and maintain deliberately
- 9. Retire the lab without harming neighbors
- Troubleshooting, recovery and independent assessment
Purpose: build and operate the supplied automation API, worker and PostgreSQL database, then recover and retire that same system. Audience: a beginner who completed the terminal, Python, HTTP and SQL lessons in Chapters 1–4 and 14. Environment: your Firecracker Linux VM or a disposable Ubuntu 24.04 workstation, Bash, Docker Engine with Compose, Python 3.12 managed by uv, and age. Inputs: the Course 0 Linux workspace and enough local disk space. Execution status: the native Firecracker VM lab receipt proves the application lifecycle that it actually ran. The commands below are the hands-on Compose route; Docker-volume persistence must be verified on your machine. A temporary-storage smoke test does not satisfy that requirement. A terminal executes commands on the machine to which its shell belongs. All commands in this tutorial are local workstation commands.