Path
Infrastructure as Code
Describe servers, buckets and networks in files and let a tool build them - Terraform, Ansible and CloudFormation, graded on real config files.
By Deboistech 10 labs 2.5 hoursBeginner to intermediate
Showing 1 of 10 labs.
- Beginner Your first Terraform config Write main.tf: a provider, an S3 bucket, a resource that refers to it, and a .gitignore for state.
- Beginner Variables, locals and outputs Make a config reusable: variables with validation, locals, a tfvars file, outputs and secrets.
- Subscription Terraform state and lifecycle Read a state file with jq, spot what Terraform would destroy, and protect, ignore and rename safely.
- Subscription for_each, count and modules Create many resources from a set, switch one on or off with count, and call a reusable module.
- Subscription Ansible: inventory and ad-hoc commands Describe servers in an inventory: groups, nested groups, group and host variables, ad-hoc commands.
- Subscription Ansible: your first playbook Write a playbook that installs a package, publishes a file and runs a service, then dry-run it.
- Subscription Ansible: variables, templates, handlers Use variables, a Jinja2 template, a handler that restarts only on change, a loop and a condition.
- Subscription Ansible: roles and idempotence Package a playbook as a role, call it with an override, and make command tasks idempotent.
- Subscription CloudFormation: your first stack Write a template with a parameter, bucket and output, deploy it as a stack, reuse it, delete it.
- Subscription CloudFormation: update and replace Change a running stack: update in place, add and remove resources, see a new name replace one.