How to: 8. Learn Infrastructure as a code (X as Code)
Sometimes referred to as **IaC**, it refers to the techniques and tools used to define infrastructure, typically in a markup language like YAML or JSON. Infrastructure as code allows Engineers to automate environment setup and teardown. Accelerates and de-risks deployment by provisioning gold copy environments on demand.

**Terraform** is the most popular infrastructure provisioning tool, but there are others such as Ansible, Chef, Puppet, and Vagrant.

Here you need to know how to do **infrastructure provisioning** and **configuration management**.

**Resources:**

- [GUIs, CLI, APIs: Learn Basic Terms of Infrastructure-as-Code](https://thenewstack.io/guis-cli-apis-learn-basic-terms-of-infrastructure-as-code/)
FREE
- Terraform:
    - [Official Terraform Tutorials](https://learn.hashicorp.com/terraform)
FREE
- [A Comprehensive Guide to Terraform](https://blog.gruntwork.io/a-comprehensive-guide-to-terraform-b3d32832baca)
FREE
- [Automate Terraform documentation like a pro!](https://medium.com/google-cloud/automate-terraform-documentation-like-a-pro-ed3e19998808)
FREE
- [Writing reusable Terraform modules](https://thomasthornton.cloud/2022/06/02/writing-reusable-terraform-modules/)
FREE
- [Terraform Course - Automate your AWS cloud infrastructure](https://www.youtube.com/watch?v=SLB_c_ayRMo)
FREE
- [HashiCorp Terraform Associate Certification Course](https://www.youtube.com/watch?v=SPcwo0Gq9T8)
FREE
- [Terraform on Azure](https://learn.microsoft.com/en-us/azure/developer/terraform/overview)
FREE
- Puppet:
    - [Puppet overview](https://puppet.com/docs/puppet/latest/puppet_overview.html)
FREE
- [Puppet Courses](https://training.puppet.com/)
FREE and PAID
- Chef:
    - [Learn Chef](https://learn.chef.io/)
FREE
- Ansible:
    - [Getting Started With Ansible](https://docs.ansible.com/ansible/latest/getting_started/)
FREE
- [Learning Ansible Basics](https://www.redhat.com/en/topics/automation/learning-ansible-tutorial)
    - [Get started with Red Hat Ansible](https://www.ansible.com/resources/get-started)
FREE and PAID
- [Mastering Ansible](https://www.udemy.com/course/mastering-ansible/)
Udemy Course
FREE