Introduction to Terraform


Course Number: AWS-128

Duration: 0.5 days (3.25 hours)

Format: Live, hands-on

Terraform Training Overview

Accelebrate's Introduction to Terraform training course teaches attendees how to use Terraform to create, manage, and maintain resources. This training prepares your team to immediately use Terraform to control and automate your AWS environments.

Note: This half-day course can be extended to a 1-day or multi-day course to cover any extra modules your team may need. Please see the outline for additional topic suggestions.

Location and Pricing

This course is taught as a private, live online class for teams of 3 or more. All our courses are hands-on, instructor-led, and tailored to fit your group’s goals and needs. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for online corporate training, please contact us.

Objectives

  • The fundamentals of Terraform
  • How to modularize Terraform Code
  • The pitfalls and limitations of Terraform
  • How to securely manage access and secrets keys
  • Terraform Best Practices
  • How to use and leverage remote modules
  • What the state file is and why it’s so important
  • How to use remote backends
  • How to create and destroy resources with Terraform
  • The simple trick to mastering Terraform
  • How to understand the often-confusing documentation to create ANY resource
  • Variables in Terraform
  • How to manage different requirements for different environments
  • The key differences between the current version and the prior one (and its impact on you specifically)

Prerequisites

Students must have basic AWS understanding (VPC, EC2, S3, etc.).

Outline

Expand All | Collapse All

Overview
  • What is Terraform?
  • How Terraform works
  • Advantages and disadvantages
  • Downloading and installing (Believe this is covered beforehand by Mike)
  • How to find documentation
Introduction
  • Writing the code to create our first resource
  • Pre-planning
  • Deploying our first resource to AWS
  • Deleting resources
  • What the state file is
Variable types and data structures
  • Variables and assignment
  • Data types
    • Number, string, Boolean
  • Data structures
    • List, Maps, Objects and Tuples
  • How to use these variables
    • Number
    • String
    • List
    • Map
  • Input Variables
  • Outputs
  • Data Sources
  • Challenge 1
Working with EC2 Instances
  • Creating an EC2 instance
  • Working with EIP’s
  • How attributes work
  • Security Groups
  • Security Groups with Dynamic Blocks
  • Challenge 2
Modules
  • What are modules?
  • Why modules are so powerful
  • Module Deep-Dive
  • Module Inputs
  • Handling Module Outputs
  • Child Modules
  • Remote Modules
  • Challenge 3
IAM Masterclass
  • Industry secret on how to quickly create IAM policies
  • Using IAM policies with users and binding
RDS
  • Pre-planning (gather requirements, how to scope out work, etc.)
  • Creating an RDS instance in Terraform
Advanced Terraform
  • Remote Backends – Pre-setup
  • Remote Backends – Configuring in Terraform
  • Handling Dependencies
  • Count – Introduction
  • Count – Advanced
  • Multiple Variable Files
  • Terraform Import
Additional Topics Available for a 1- or Multi-Day Course
  • Importing Current Infrastructure into Terraform
    • How to plan out the task
    • Managing the state file
    • Bringing resources under Terraforms control
    • The drawbacks
    • Potential tools that can make life easier
  • Terraform in Large Teams
    • The importance of the state file
    • Version control
    • How to organize the teams
    • Best practices
    • State locking
    • Issues you will likely encounter
    • CI/CD
    • Resolving state conflicts
  • EKS and Terraform
    • Pre-planning
    • To Use Modules or Not?
    • Implementing EKS
  • Lambda and Terraform
    • Pre-planning
    • To Use Modules or Not?
    • Implementing Lambda Functions
  • Additional Topics as Requested

Training Materials:

All Terraform training students receive comprehensive courseware.

Software Requirements:

  • VS Code
  • Terraform Plugin for VS Code
  • AWS CLI for your platform (Windows, Mac, or Linux)
  • AWS access and secret key can be provided by you or by Accelebrate


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan