AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Infrastructure as code: plans, drift and the rename that deleted a database

See how a plan compares the wanted state with the real one, how a hand-made change shows up as drift, and why renaming a resource can plan a delete and a create, so you review plans and protect what holds data.

Infrastructure as code describes servers, networks and databases in files. A tool compares those files (the desired state) with what really exists (the current state) and works out a plan of changes: create, update or delete. Because the plan is just a comparison, you can read it before anything happens, and you should.

This course models a plan with small Python programs you can run in your browser. Python stands in for an IaC tool: the code is not a real configuration language, but the comparison it shows is what such tools do. Check your tool's documentation for the real syntax, state handling and protection settings. All names and 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 infrastructure experience is assumed. Basic Python helps.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 25 min Free sample 🔒 AiTeky Pass A plan is a comparison Build a plan function that compares the wanted state with the current state, and see that applying a plan twice changes nothing the second time.
  2. 02 25 min 🔒 AiTeky Pass Drift: when someone clicks Detect drift between the code and the real system after a hand-made change, and decide whether to revert the system or update the code.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 30 min 🔒 AiTeky Pass On the job: the rename that deleted a database A tidy-up renamed a database in the code, and the plan said delete and create. Read the plan, compare four fixes by effort and risk, choose, and write the note.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in