AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

A hundred machines set up alike: host lists, reusable recipes and safe reviews before every change

Group servers and run one task or a whole ordered list on many at once with Ansible, package the setup into parts that are safe to run again and again, and keep passwords out of the repository while automatic checks stop risky changes before they ship.

Terraform creates machines, networks and databases. Something still has to set each machine up: install packages, add users, write the web server's settings and restart it when they change. Doing that by logging in to sixty servers one by one is slow and leaves no two alike. Ansible is a widely used tool for this job. It connects over SSH, needs no agent on the servers, and runs ordered lists of tasks written in YAML.

This course follows the same bus-ticketing start-up as its server fleet grows. Each lesson has small Python programs that run in your browser and copy what Ansible and the checking tools do: choosing hosts, running tasks in order, reporting what changed, and flagging risky changes. Python stands in for the tools: the code is not Ansible, but the rules it follows are the same ones. The real files are shown next to it; check the Ansible documentation for exact syntax. All names and figures 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.

Take "Servers on paper" first for Terraform, and a Linux course if SSH and services are new to you.

Locked. Sign up free

Learn

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

  1. 01 30 min 🔒 AiTeky Pass Ansible basics: inventory, ad-hoc commands and playbooks Group sixty servers in an inventory and pick them with patterns, run one ad-hoc command across a group and see how forks set the time it takes, then run a playbook task by task and read the recap of what was ok, changed, failed or unreachable.
  2. 02 30 min 🔒 AiTeky Pass Roles, templates and idempotent configuration Run a setup twice and see which tasks change things every time, render one settings template differently for each server from its variables and facts, restart a service only when its settings changed with a handler, and package it all as a role with defaults that groups and hosts can override.

Industry ready

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

  1. 03 35 min 🔒 AiTeky Pass On the job: secrets and policy checks in infrastructure code Scan the infrastructure repository for leaked keys and passwords, decide what to do first when one is found, move secrets into an encrypted vault or a secret manager, check a Terraform plan against the company's rules before it is applied, handle exceptions with an owner and an end date, and write the pipeline's gate.

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