Skip to main content

Section outline

  • Module 1: Introduction to IaC (2 hours)

    • What is Infrastructure as Code?
    • Benefits and key concepts: Idempotency, Version Control.
    • Tools overview: Terraform, Ansible, and more.

    Module 2: Getting Started with Terraform (3 hours)

    • Terraform architecture and components.
    • Providers and resources.
    • Writing basic Terraform configurations.

    Hands-on: Provisioning an EC2 instance on AWS using Terraform.

    Module 3: Terraform Variables and Outputs (2 hours)

    • Using input variables for flexible configurations.
    • Outputting key data from Terraform configurations.

    Hands-on: Parameterizing infrastructure with variables.

  • Module 4: Terraform State Management & Modules (3 hours)

    • Terraform state management and remote backends.
    • Using Terraform modules for code reusability.

    Hands-on: Organizing Terraform code using modules and remote state.

    Module 5: Introduction to Ansible (3 hours)

    • Ansible architecture and components.
    • Writing basic playbooks for configuration management.

    Hands-on: Automating EC2 instance configuration using Ansible.

    Module 6: Ansible Playbooks & Roles (2 hours)

    • Writing structured playbooks using YAML.
    • Using roles for modular automation.

    Hands-on: Configuring a web server using Ansible roles.

  • Module 7: Terraform and Ansible Integration (3 hours)

    • Using Terraform for infrastructure provisioning.
    • Integrating Ansible for post-deployment configuration.

    Hands-on: Provision and configure infrastructure with Terraform and Ansible.

    Module 8: Advanced Ansible Concepts (2 hours)

    • Ansible Vault for secrets management.
    • Dynamic inventories.

    Hands-on: Using Ansible Vault and working with dynamic inventories.

    Module 9: Infrastructure Automation Best Practices (2 hours)

    • Version Control for IaC (Git).
    • Implementing CI/CD pipelines for Terraform and Ansible.
    • Multi-environment deployments.

    Hands-on: Setting up a Terraform and Ansible CI/CD pipeline.