Terraform course

In the Terraform course, you'll learn to manage cloud infrastructure as code: IaC, HCL, state, modules, Ansible, Vault and real projects with CI/CD.

UX/UI design Backend development Digital marketing

Per week:

2

/day

Duration:

2

/month

Age:

18-50

/age

Per week:

4

/hour

Course program

10 topic 47 lesson
01 Introduction to Infrastructure as Code and Terraform 5 lessons
  1. 1
    What Infrastructure as Code (IaC) is: declarative and imperative approaches
  2. 2
    Terraform and its place in the ecosystem
  3. 3
    Setting up your work environment: installing Terraform and VS Code
  4. 4
    Configuring credentials for a cloud provider (AWS, Azure or GCP)
  5. 5
    The Terraform workflow: init, plan, apply and destroy
02 HCL syntax and configuration basics 4 lessons
  1. 6
    HashiCorp Configuration Language (HCL) syntax
  2. 7
    Providers and resources
  3. 8
    Input variables: variable blocks, .tfvars files and command-line options
  4. 9
    Local values and outputs
03 Advanced expressions, dependencies and data sources 4 lessons
  1. 10
    Data sources: retrieving information about existing resources
  2. 11
    Dependencies: implicit ordering and depends_on
  3. 12
    Meta-arguments: count and for_each, dynamic blocks
  4. 13
    Expressions and built-in functions
04 Managing Terraform state 5 lessons
  1. 14
    What Terraform state is and the risks of local state in a team
  2. 15
    Remote backends: AWS S3 and Azure Blob Storage
  3. 16
    State locking
  4. 17
    State commands: terraform state list, show and mv
  5. 18
    Importing existing resources: import blocks
05 Modules, lifecycle rules and workspaces 6 lessons
  1. 19
    The DRY principle and Terraform modules
  2. 20
    Creating a local module: inputs and outputs
  3. 21
    Using public modules from the Terraform Registry
  4. 22
    Provisioners (local-exec, remote-exec) and immutable infrastructure
  5. 23
    Lifecycle rules: create_before_destroy, prevent_destroy and ignore_changes
  6. 24
    Workspaces and recreating a resource with terraform apply -replace
06 Terraform and CI/CD in a team 5 lessons
  1. 25
    Structuring the repository and integrating with Git
  2. 26
    Automating the workflow with terraform fmt, validate, plan and apply
  3. 27
    Introduction to CI/CD with GitHub Actions and GitLab CI
  4. 28
    Introduction to HCP Terraform (Terraform Cloud) and Terraform Enterprise
  5. 29
    Month 1 project: a two-tier infrastructure with a load balancer, an auto-scaling group and a managed database
07 Configuration management with Ansible 7 lessons
  1. 30
    Configuration management: Terraform vs. Ansible
  2. 31
    Ansible's agentless architecture, inventory and ad hoc commands
  3. 32
    Writing your first playbook
  4. 33
    Dynamic inventory from Terraform output
  5. 34
    Jinja2 templates, managing services and handlers
  6. 35
    Ansible roles: the standard structure and converting playbooks into roles
  7. 36
    Variable precedence
08 Managing secrets: Vault 4 lessons
  1. 37
    Protecting sensitive data with ansible-vault
  2. 38
    Why you need a secrets manager and the HashiCorp Vault architecture
  3. 39
    The key/value secrets engine and authentication in Vault
  4. 40
    Integrating Vault with Terraform
09 CI/CD pipelines and containerization 4 lessons
  1. 41
    What CI/CD is
  2. 42
    A GitLab CI/CD pipeline that validates Terraform code and generates a plan on every pull request
  3. 43
    Introduction to Docker and a Dockerfile for a sample web app
  4. 44
    A CI pipeline for the app: building a Docker image
10 Final project: a push-to-deploy pipeline 3 lessons
  1. 45
    The continuous deployment stage
  2. 46
    Combining Terraform, Ansible, Vault and Docker in a single pipeline
  3. 47
    Final project presentation and course review

Our instructors

Meet our experienced teachers!

  • Nərmin Əzizova — instructor

    Nərmin Əzizova

    Terraform course

    Don't know where to start?

    Not sure where to start?

    Get free advice

    Fill in the details and we'll get in touch with you.

    +994

    Your data is used only to contact you.

    Contact us directly (+994 10) 234 65 56
    CourseTerraform course
    • Address
    • 609 Jafar Jabbarli St., Baku / Globus Center

    • Social networks