Course Overview
A 2-day instructor-led experience with the most popular Infrastructure-as-Code platform.
The idea behind this instructor-led workshop is to give attendees practical experience with one of the most popular Infrastructure-as-Code technologies. Terraform owes its popularity to its independence – no matter which cloud platform you wish to use, Terraform will enable you to automate the creation and maintenance of the resources such as Virtual Machines, Virtual Networks, and databases, up to and including the prevalent Kubernetes clusters and workloads running on those clusters.
This instructor-led workshop will give you a unique opportunity to learn and sharpen your IaC skills and immediately apply them to your projects. This workshop will cover topics from basic Infrastructure as Code concepts and basics of Terraform and Terraform syntax to advanced infrastructure planning and executing the infrastructure.
Prerequisites
Before attending this workshop, attendees such as Application Developers, Operations Developers, IT Directors & Managers, Development Managers, Site Reliability Engineers, Teams practicing DevOps, CTOs, engineering teams, leaders, and technology stakeholders interested in using Terraform to manage Infrastructure as Code, should have an understanding of cloud infrastructure concepts.
Course Objectives
After taking this class, students will be able to:
- » Understand basic concepts of Infrastructure as Code.
- » Understand basic Terraform architecture and use Terraform for creating and managing infrastructure as code.
- » Maintain version control of infrastructure assets just as it is done with software assets.
- » Effectively use Terraform for DevOps-style workflows.
- » Use modules to create reusable components in Terraform.
- » Develop and present a business case for Terraform and related tools.
- » Run Terraform with public cloud infrastructure.
- » Integrate Terraform with other technologies in the workspace.
Outline: Terraform Workshop (TWS)
Module 01: Introduction to Infrastructure as a Code
- Introduction to basic Infrastructure as Code concepts.
- Understanding DevOps methodology. Infrastructure as Code principles and best practices.
- Comparing Terraform to other Infrastructure as Code technologies.
Module 02: Introduction to Terraform and basic workflows in Terraform
- Introduction to Terraform features and architecture.
- Overview of Terraform configuration language and Terraform CLI.
- Minimum Terraform project.
Module 03: Using providers in Terraform
- Overview of the most common providers in Terraform.
- Using various providers to create and manage complete infrastructure.
- Best practices and principles while using various providers.
Module 04: Creating, updating, reproducing, and destroying infrastructures
- Defining a Terraform workflow. Writing configuration files.
- Planning an infrastructure. Creating an infrastructure.
- Configuring an infrastructure created with Terraform (updating, reproducing, or destroying the infrastructure).
- Versioning configuration files.
Module 05: Writing and using modules in Terraform
- Using modules to build reusable Terraform templates.
- Module structure and organization. Invoking modules.
- Nested modules. Using external modules.
Module 06: Terraform programming CI/CD with Terraform
- Data structures and types of expressions to set values.
- Creating multiples of a single resource. Dynamic blocks.
- Using variables for configuration parametrization. Using functions in configuration files.
- Getting and using outputs from a configuration, using iteration loops, and leveraging functions in configurations.