AiTeky Original Interactive Learning & Practice Intermediate
App platforms: stateless apps, environment config and the deploy that logged everyone out
See why an app that keeps users' sessions in its own memory breaks as soon as you run two copies, how configuration kept in the environment lets one build run everywhere, and fix a deploy that signs every user out.
Platforms such as Cloud Foundry (and the SAP BTP Cloud Foundry environment) run your app as several short-lived instances and restart them whenever you deploy, scale or move them. That works only if the app is stateless (nothing important lives in one instance's memory) and takes its configuration from the environment rather than from the code. These are the core ideas of the "twelve-factor" way of building apps.
This course models both ideas with small Python programs you can run in your browser. Python stands in for the platform: the code is not a manifest, but the routing, the restarts and the configuration checks it shows follow how app platforms behave. Check your platform's documentation for exact commands, environment variables and the services it offers for sessions. All numbers are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
No platform experience is assumed. Basic Python helps.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 25 min Free sample 🔒 AiTeky Pass The second instance has never met you Simulate a user whose session lives in one instance's memory, and see how running two or three instances logs them out, and how a shared store fixes it.
- 02 25 min 🔒 AiTeky Pass One build, many environments Read configuration from the environment so the same build runs in test and production, fail fast on a missing setting, and keep secrets out of logs.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

