08/22/2022 - 08/23/2022
08:30 AM - 04:30 PM
Online Virtual Class Guaranteed to Run
USD $1,525.00
Enroll
09/06/2022 - 09/07/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $1,525.00
Enroll
09/12/2022 - 09/13/2022
10:00 AM - 06:00 PM
Online Virtual Class
USD $1,525.00
Enroll

Objectives

• Install and configure Terraform with the AWS Provider

• Setting up an AWS VPC with Terraform

• Setting up our first AWS Lambda app

• Setting Up An S3 bucket and web site

• Setting up DynamoDB Simple Table

• Introduction to AWS EC2 using Terraform

• Setting up multiple EC2 web servers with an AWS LoadBalancer

• Understand Terraform modules and programming

Audience

Data Engineers, Developers, Cloud Developers

Prerequisites

A basic understanding of cloud terminology, specifically AWS would be helpful

Duration

Two days

Lab Setup Guide

Outline for Terraform for AWS Training

Chapter 1. Introduction to Terraform

  • What is Terraform
  • What is Terraform (cont)
  • Why Infrastructure as Code
  • Key features of Terraform
  • Other Infrastructure Automation Tools
  • Terraform Strengths
  • How Does Terraform Work?
  • Sample Terraform Workflow
  • Terraform vs Configuration Management
  • Drawbacks Configuration Management
  • Benefits of Declarative Infrastructure
  • Drawbacks of Declarative Infrastructure
  • Terraform Processing
  • Master Server Mode
  • Drawbacks of Master Server Mode
  • Masterless Mode
  • Agents
  • Drawbacks of Agents
  • Agentless
  • Summary

Chapter 2. Terraform Basics

  • The Terraform Command-line
  • Running Terraform
  • The Current State
  • Directory Structure
  • Load Order
  • Configuration Formats
  • HCL
  • String Interpolation
  • Configuration Files
  • Variables
  • Outputs
  • Data Sources
  • Data from Providers
  • Resources
  • Data Sources and Resources
  • Providers
  • Built-in Providers
  • Configuring Providers
  • Modules
  • Defining a Module
  • Configuring the AWS Provider
  • Configuring the AWS Provider (cont)
  • Manipulating DNS Entries
  • Summary

Chapter 3. AWS Networking and Terraform

  • AWS Networking Fundamentals
  • AWS Networking Fundamentals (cont)
  • VPCs and Subnets
  • Firewalls on AWS
  • Security Overview Diagram
  • Security Groups
  • Security Group Rules
  • Putting It All Together
  • Feature Network Objects
  • Overall Traffic Flow
  • Setting up a VPC
  • Terraform vc.tf
  • Summary

Chapter 4. AWS Identity and Access Management

  • AWS Identity and Access Management (IAM)
  • IAM Groups
  • Working with IAM
  • The IAM Dashboard
  • IAM Principals
  • Root Account Access vs. IAM User Access
  • Roles
  • Creating a Role in AWS Management Console
  • Accessing AWS
  • Sample Summary of a configured Role
  • Identity Providers
  • AWS Key Management Service (KMS)
  • User Management
  • Password Policies
  • Using Multi-Factor Authentication Devices
  • Terraform IAM
  • Terraform IAM Import
  • Summary

Chapter 5. AWS Lambda and Terraform

  • What is AWS Lambda
  • Supported Languages
  • Lambda Supported Languages
  • Examples of the Base Lambda Function
  • Use Cases
  • How It Works
  • Example: Processing S3 Source Events with Lambda
  • The Programming Model
  • Configuring Lambda Functions
  • Lambda Function Blueprints
  • Troubleshoot and Monitor Lambda Functions?
  • Developing Lambda in Java
  • Terraform and AWS Lambda
  • Terraform fmt and validate
  • Summary

Chapter 6. Deeper Dive with Terraform

  • Create your own Terraform Library
  • Terraform Variables
  • Terraform Variables (cont)
  • Terraform State
  • Terraform State (cont)
  • Sharing State and Teamwork Considerations
  • Terraform Remote Backends
  • Use Tools
  • Terraform Workspaces
  • Terraform Workspaces (cont)
  • Summary

Chapter 7. AWS S3 and DynamoDB

  • What is AWS Simple Storage Service (S3)
  • AWS Storage
  • Regions
  • Getting started with S3
  • Bucket Configurable Properties
  • Bucket Permissions
  • Bucket-level Operations
  • Authorization of REST Requests
  • The Object Key
  • Object Storage Class Levels
  • Amazon S3 Security
  • S3 Use Case: Backup and Archiving
  • Another S3 Use Case: Static Web Hosting
  • S3 Use Case: Disaster Recovery
  • AWS S3 Pricing
  • Amazon S3 SLA Definitions
  • Amazon S3 SLA Service Commitment
  • S3 CLI
  • Terraform and AWS S3
  • Database Services
  • Relational Database Service (RDS)
  • DynamoDB
  • DynamoDB Consistency Model
  • DynamoDB Query Support
  • DynamoDB Components
  • Amazon ElastiCache
  • Redshift
  • Terraform and AWS DynamoDB
  • Summary

Chapter 8. Terraform Modules

  • What is a Terraform Module
  • Working with Modules
  • Modules – Local vs Remote
  • Terriform Registry
  • Terraform Registry
  • Module Best Practices
  • Summary

Chapter 9. AWS EC2 Introduction

  • What is Elastic Compute Cloud (EC2)
  • AWS Marketplace for OSes
  • AWS Marketplace for Tools and Applications
  • Shop Around for Cheaper EC2 Instances …
  • Spot Instance Pricing History
  • Instances Default Quotas
  • Accessing EC2
  • Amazon Elastic Block Store (EBS) Overview
  • EBS Store Details
  • Instance Tagging
  • Newer Tag Features
  • EC2 Instance Types
  • The Instance Types Matrix
  • The Instance Types Matrix (cont)
  • The T2 Instance Type (Example of a Low-end Type)
  • Modifying an Instance
  • The EC2 Dashboard
  • EC2 Pricing
  • Dedicated Instances
  • VM Import / Export to/from AWS
  • Elastic IP Address
  • EC2 Service Level Agreement
  • Terraform and EC2
  • Summary

Chapter 10. Terraform Programming

  • What is Terraform Programming
  • Terraform Operators
  • Terraform Loops
  • Terraform Loops (cont)
  • Terraform Conditional Expressions
  • Terraform count
  • Terraform for_each
  • for_each or count?
  • Next Steps
  • Summary

Lab Exercises

Lab 1. Qwiklabs
Lab 2. Install and configure Terraform with the AWS Provider
Lab 3. Setting up an AWS VPC with Terraform
Lab 4. Introduction to AWS Lambda
Lab 5. Setting up our first AWS Lambda app
Lab 6. Introduction to AWS S3
Lab 7. Setting Up An S3 bucket and web site
Lab 8. Setting up DynamoDB Simple Table
Lab 9. Introduction to AWS EC2
Lab 10. Introduction to AWS EC2 using Terraform
Lab 11. Setting up 4 EC2 web servers with an AWS LoadBalancer