Infrastructure as Code (IaC) using OpenTofu (the open-source fork of Terraform) on Azure, AWS, and GCP. Master the art of cloud automation with OpenTofu, the open-source evolution of Terraform.
In this three-day immersive training, you’ll learn to design, deploy, and manage infrastructure across Azure, AWS, and GCP — building scalable, secure, and reproducible environments through Infrastructure as Code.
Course objectives
By the end of this course, participants will be able to:
• Understand OpenTofu fundamentals and its relationship to Terraform.
• Install, configure, and use OpenTofu with Azure, AWS, and GCP.
• Build, deploy, and manage multi-cloud infrastructure declaratively using OpenTofu.
• Apply best practices for state management, version control, and CI/CD integration.
• Securely manage credentials and secrets across cloud providers.
• Troubleshoot and optimize OpenTofu deployments in multi-cloud environments.
Course content:
Module 1: Introduction to OpenTofu 1.10
• What is OpenTofu?
• Differences between OpenTofu and Terraform
• OpenTofu ecosystem and community
• Core concepts: Providers, Resources, Variables, State, and Modules
• IaC fundamentals and benefits
Lab 1: Installing OpenTofu on local environments (Windows/macOS/Linux)
Module 2: Cloud Integration (Azure, AWS, GCP)
• Overview of Azure Resource Manager (ARM), AWS APIs, and GCP APIs
• Setting up authentication with Azure CLI, AWS CLI, and gcloud CLI
• Configuring OpenTofu with multi-cloud credentials
• Understanding cloud providers for OpenTofu
• Managing secrets securely with Azure Key Vault, AWS Secrets Manager, and Google Secret Manager
Lab 2:
• Configure OpenTofu to connect to Azure, AWS, and GCP
• Create a resource group (Azure), an S3 bucket (AWS), and a storage bucket (GCP)
Module 3: Building Infrastructure with OpenTofu
• Writing OpenTofu configuration files (.tf files)
• Variables, outputs, and data sources
• Resource dependencies and implicit ordering
• Managing cloud resources (VMs, networks, storage, etc.)
• Enhanced planning and modular design
Lab 3:
• Deploy a simple virtual network and compute instance on Azure, AWS, and GCP
Module 4: State Management
• Understanding state files
• Remote state storage using Azure Blob Storage, AWS S3, and GCP Cloud Storage
• State locking and collaboration
• Version control and state best practices
Lab 4:
• Configure remote state backends for each cloud provider
• Demonstrate collaborative infrastructure updates
Module 5: Modularity and Reusability
• Creating and using modules
• Structuring reusable OpenTofu configurations
• Using the OpenTofu Registry
• Passing variables and outputs between modules
Lab 5:
• Build a reusable multi-cloud networking module
Module 6: Testing, Validation, and Debugging
• Validating configurations (tofu validate, tofu fmt, tofu plan)
• Troubleshooting common errors
• Using tofu graph for dependency visualization
• Drift detection and remediation
Lab 6:
• Identify and fix configuration drift across multiple clouds
Module 7: CI/CD Integration with Azure DevOps, GitHub Actions & Jenkins
• Automating OpenTofu workflows
• Integrating with Azure DevOps Pipelines, GitHub Actions, and Jenkins
• Policy enforcement and approval gates
Lab 7:
• Set up a CI/CD pipeline to deploy multi-cloud infrastructure using OpenTofu
Module 8: Advanced Topics & Best Practices
• Managing environments (dev/test/prod)
• Secrets management and compliance
• Cost optimization and tagging strategies across providers
• Security considerations and governance
• Migrating from Terraform to OpenTofu
Lab 8:
• Implement multi-environment management using workspaces
Module 9: DevOps Automation Project
End-to-end project:
• Design and deploy a multi-tier application across Azure, AWS, and GCP using OpenTofu
• Include networking, compute, and storage layers
• Use remote state, modules, and pipeline automation
Tools & Resources
• OpenTofu CLI
• Azure CLI / AWS CLI / gcloud
• Visual Studio Code with OpenTofu extension
• Git / GitHub
• Azure DevOps, GitHub Actions, or Jenkins
About the instructor:
Peter McNaughton has been teaching and consulting since 1995. Before joining Novell Peter was an analytical Chemist, and has been involved in many projects , both in the private and Public Sectors, with particular exposure to power, commercial banking and MOD within NATO.
Currently Peter is involved with providing consultancy on a digital DevOps transformation from a large monolithic legacy environment to a cloud native environment using Terraform as the primary IAC tool.”
Target audience:
• Cloud Engineers / Architects
• DevOps Engineers
• System Administrators
• Developers managing infrastructure on Azure, AWS, or GCP
Prerequisites:
• Basic knowledge of cloud services (Azure, AWS, or GCP: compute, storage, networking)
• Familiarity with CLI tools and YAML/JSON syntax
• Optional: Prior exposure to Terraform or Infrastructure as Code concepts