Get in Touch

Course Outline

Review of Terraform Core Concepts

  • The CLI and all available sub-commands
  • The flow of Terraform operations
  • State and its importance (as well as its fragility)
  • HashiCorp Configuration Language (HCL), pre-0.12 and post-0.12

Designing More Complex Terraform Projects and Modules

  • Approaches to modularisation
    • Single-project, multi-module scenarios
    • Multi-project related infrastructure, single and hybrid cloud or platform
    • Root module decomposition
      • Working with new and legacy monolithic projects alike, and approaches to thoughtful Terraform project organisation

Developing and Managing More Complex Terraform Projects and Modules

  • Comprehensive best practices
  • Module versions
  • Share and focus on DRY (Don't Repeat Yourself)
  • Complex provider scenarios across projects and modules
  • Introduction to Terraform Null Label and its utility

An Introduction to Make + Makefile

  • Automate repetitive tasks in Terraform projects using a reliable, standard Linux tool

Advanced Terraform Tool and CLI Understanding

  • Understand state and the state file
  • State migration and management in complex scenarios
  • Terraform import approaches in complex scenarios
  • Addressing mistakes and messes
    • Drift that has gotten out of hand
    • Corrupted or irreparable state
    • Knowing what cannot be fixed
    • Proactively ensuring you do not end up in this position with Terraform

HCL Advanced Topics

  • Advanced configuration language expression features:
    • Re-usability approaches
    • Loops and meta-arguments
    • For expressions
    • Types in the context of expressions

Hardening Security for Terraform

  • Shift-left Terraform security and defence in depth
  • State files and security
  • Managing credentials and secrets: least privilege, rotation, and protection
  • Where and how security can break down in Terraform workflows

Reliability of Infrastructure and Testing

  • What automated and manual testing frameworks and methods are currently available?
    • The current state of affairs leaves much to be desired, e.g. Terratest
  • Drift and mitigating unexpected consequences in realistic scenarios
  • Developer responsibility versus automated testing, Git hooks for validation, terraform-pre-commit, etc.

Automating Terraform: Terraform in Pipelines

  • Terraform with Spinnaker
  • Using automated delivery pipelines to improve quality assurance, stability, and reliability of infrastructure and Terraform deployments
  • Terraform and GitOps: approaches to adopting GitOps in Terraform workflows
  • Overview of Terraform Cloud and Enterprise, exploring how these offerings improve Terraform workflows and what other tools and processes exist to serve the same need: custom CI/CD pipelines for Terraform, tools like Atlantis, etc.

Complex AWS Infrastructure with Terraform

  • Designing and deploying VPCs with Terraform
  • Managing EC2 instances and other compute resources
  • Configuring AWS networking components
  • Integrating AWS services into Terraform-managed infrastructure
  • Implementing security best practices for AWS resources

Summary and Next Steps

Requirements

  • An understanding of cloud infrastructure concepts
  • Basic experience with Terraform operations

Audience

  • DevOps engineers
  • System administrators
  • System architects
 21 Hours

Number of participants


Price per participant

Testimonials (6)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories