DockerNGINX Intermediate Free course, 3 parts
Ship and operate
Deploy strategies, secrets, backups, monitoring and logs for apps that stay up.
For teams that deploy more than once a week.
- 18 lessons
- 5h 20m total time
- 2 hands-on labs
- 5 diagrams
- 18 quizzes
Course complete
You finished Ship and operate
All 18 lessons done on . Share it, print the certificate, or start the next course below.
Levelrail Learn Certificate of completion Completed Ship and operate on Levelrail Learn 18 lessons, 5h 20m of guided practice levelrail.com/learn/courses/ship-and-operate/
What you will be able to do
- Choose rolling, blue-green or canary
- Manage secrets and environment
- Back up, monitor and read logs
- Roll back fast
Syllabus
18 lessons in 3 parts, 5h 20m in total
Part 1
Lessons 1 to 6
6 lessons, 1h 48m 0/6- What is a reverse proxy? Explained with Caddy and nginx Up next Done A reverse proxy sits in front of your apps, accepts requests from the internet and forwards each one to the right app, handling HTTPS on the way. 16 min Beginner Diagram Quiz
- Zero-downtime deploys explained (health checks and traffic switch) Up next Done A zero-downtime deploy starts the new version next to the old one and moves traffic over only after the new one reports healthy. 18 min Beginner Diagram Quiz
- How to roll back a bad release (Docker and Compose) Up next Done A rollback returns traffic to the previous working release when the new one misbehaves. 18 min Beginner Lab Quiz
- Environment variables and secrets in Docker (.env, env_file) Up next Done An environment variable is a named value given to a program at start time, which lets you keep secrets like passwords outside your code and images. 18 min Beginner Quiz
- Backups and the 3-2-1 rule Up next Done The 3-2-1 rule means keeping three copies of your data, on two kinds of storage, with one copy stored offsite. 20 min Beginner Diagram Quiz
- Monitor uptime simply Up next Done Uptime monitoring means checking on a schedule that your app answers correctly, and alerting you when it does not. 18 min Beginner Quiz
Part 2
Lessons 7 to 12
6 lessons, 2h 0/6- Read container logs Up next Done Container logs are the text a containerized app writes to standard output and standard error, which Docker stores and lets you read. 15 min Beginner Lab Quiz
- What is CI/CD? Up next Done CI/CD is an automated pipeline where continuous integration builds and tests every change and continuous delivery or deployment ships it to your servers. 18 min Beginner Diagram Quiz
- Blue-green vs rolling deploys Up next Done Blue-green deploys run old and new versions side by side and switch traffic at once, while rolling deploys replace instances a few at a time. 20 min Beginner Diagram Quiz
- Fix 502 Bad Gateway behind a reverse proxy Up next Done A 502 Bad Gateway means the reverse proxy is running but could not get a usable answer from your app, usually because the app is down or on another port or address. 20 min Intermediate Quiz
- Back up a Postgres database running in Docker Up next Done You back up Postgres in Docker by running pg_dump inside the database container and saving the output to a file outside it. 22 min Intermediate Quiz
- Test a backup by restoring it Up next Done A backup only counts once you have restored it somewhere safe and checked the data, so test restores go into a separate throwaway database. 25 min Intermediate Quiz
Part 3
Lessons 13 to 18
6 lessons, 1h 32m 0/6- Deploy an app with Docker Compose on a server Up next Done Deploying with Docker Compose means putting compose.yaml and a .env file on the server and running docker compose up -d so the services start and stay running. 25 min Beginner Quiz
- Limit Docker log size so logs do not fill the disk Up next Done Docker's default json-file log driver keeps logs without a size limit, so you set max-size and max-file to rotate them before they fill the disk. 15 min Intermediate Quiz
- What a worker and a cron job are (service types explained) Up next Done A web service answers requests on a port, a worker runs continuously without one, and a cron job starts on a schedule, does its work and exits. 12 min Beginner Quiz
- Private networking between services: keep internals off the internet Up next Done Private networking means only the reverse proxy is reachable from the internet, while databases and internal services talk to each other on a network the outside cannot enter. 14 min Intermediate Quiz
- Canary releases explained: shipping to a few users first Up next Done A canary release routes a small share of live traffic to the new version first, and you promote it to everyone only if error rate and latency stay healthy. 14 min Intermediate Quiz
- Feature flags vs deploys: separating release from shipping code Up next Done A deploy puts new code on your servers, while a feature flag is a runtime switch that decides whether users see the new behavior. 12 min Intermediate Quiz