Terraform Foundation

I. Overview

Terraform is an Infrastructure as Code (IaC) tool developed by HashiCorp. IaC is a way of writing code to build information technology infrastructure or define a cloud provider (AWS, Azure, Google Cloud, etc.) instead of manually performing it in a traditional manner.

In recent years, Terraform has become an excellent tool for DevOps and is widely used by many enterprises.

II. Duration:

24 hours (3 days)

III. Objectives:

Upon completing the course, students will have the ability to deploy, operate, and troubleshoot Terraform-related issues:

  • How to use, create, and update basic configurations in Terraform.
  • Automate infrastructure with Terraform in conjunction with AWS, Azure.
  • Through practical lab exercises, students will acquire the skills and knowledge necessary to write, plan, and deploy automated infrastructure for their own enterprises using Terraform.
IV. Audience:
  • System Administrator
  • DevOps Engineer
  • QA Engineers
  • Developers
V. Prerequisites:
  • Linux knowledge at the LPI 1 level or higher.
  • Basic knowledge of Cloud, DevOps
  • Basic programming skills.
VI. Course outlines:

1. Module 1: Introduction

- Course Overview

- Environment Setup

- What You Need To Know About Infrastructure as Code

  • Infrastructure as Code Defined
  • Declarative vs Imperative
  • Idempotence and Consistency
  • Push or Pull
  • IaC Benefits
  • Summary

- Deploying Your First Terraform Configuration

  • Provisioning Resources
  • Our Scenario
  • Terraform Components
  • Demo Prep
  • Examining The Configuration
  • Working With Variables
  • Deploy The Configuration
  • Summary

Updating Your Configuration With More Resources

  • Terraform State
  • Terraform Plan
  • The Scenario Part 1
  • Deploying a VPC
  • The Scenario Part 2
  • Updating Resources
  • Summary

- Configuring a Resource After Creation

  • Terraform Syntax
  • Block
  • References
  • Update Scenario
  • Provisioners
  • Variables and Tags
  • Instance Configuration
  • S3 Configuration
  • Configuration Deployment
  • Summary

2. Module 2: Terraform Deep Dive

Adding a New Provider to Your Configuration

  • Terraform Functions
  • Functions Examples
  • Terraform Console
  • Terraform CLI
  • Terraform Providers
  • Adding The AzureRM Provider
  • Resource Arguments
  • Using The Count Argument
  • Deploying the Configuration
  • Summary

Using Variables and Functions

  • Working With Variables
  • Updating The Configuration Variables
  • Adding Multiple Environment
  • Deploying the Lower Environments
  • Managing Secrets
  • Using Environment Variables in Production
  • Summary

Using a Module for Common Configurations

  • The Scenario Expands
  • Modules
  • Using the VPC Module
  • Using the S3 Module
  • Deploying The Configuration
  • Summary

3. Module 3: Terraform With AWS

- Using The AWS Provider

  • Terraform vs CloudFormation
  • AWS Provider and Authentication
  • AWS Provider Example
  • Planning The Deployment VPC
  • Reviewing The Deployment VPC Configuration
  • Deploy The Deployment VPC
  • Summary

Creating Multiple Providers

  • Multiple Providers for Multiple Regions
  • Multiple Providers Code Examples
  • Reviewing The Production VPCs Configuration
  • Deploying The Production VPCs in Two Regions
  • Integrating Security
  • Creating The Authentication Profiles
  • Deploying The Security Configuration
  • Deploying The Security VPC
  • Creating the Peering Connection
  • Summary

Using AWS For Remote State

  • Terraform State Data
  • Planning Remote State Storage
  • Reviewing The Remote State Configuration
  • Deploying The Remote State Configuration
  • Planning For Multiple Accounts
  • State Data Migration Process
  • Migrating The State Data
  • Summary

- Automated Kubernetes ( EKS ) Cluster Using Terraform

  • Kubernetes Introduction
  • Introduction EKS Cluster Architecture
  • AWS EKS Automation

4. Module 4: Terraform With Azure

Using The AzureRM Provider

  • Terraform For The Azure Admin
  • Azure Providers
  • AzureRM Provider Examined
  • Deploying a Virtual Network
  • Reviewing The Virtual Network Config
  • Deploying The Config With Cloud Shell
  • Summary

Creating Multiple Providers

  • Using Multiple Instances
  • Security Network Deployment
  • Using The Azure AD Provider
  • Reviewing The Security Configuration
  • Deploying The Security Configuration
  • Multiple Instances for Network Peering
  • Reviewing The Peering Configuration
  • Deploying The Peering Configuration
  • Summary

Provision Azure AKS Cluster with Terraform

  • Provision Azure AKS Cluster Introduction
  • Create AKS Cluster
  • Create Outputs and Verify Outputs
  • Verify Access Using Default AKS Admin
  • Học trực tuyến

  • Học tại Hồ Chí Minh

  • Học tại Hà Nội


Các khóa học khác