Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Terraform Basics - Managing Infrastructure as Code

Packt via Coursera

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
This course provides a comprehensive introduction to managing cloud infrastructure with Terraform. By the end, you'll be able to automate infrastructure provisioning using Terraform, write and manage configurations in HashiCorp Configuration Language (HCL), and deploy resources on AWS. You'll gain hands-on experience with AWS CLI, Terraform CLI, and state management, enabling you to confidently handle Infrastructure as Code (IaC) projects. The journey begins with setting up your environment, including configuring AWS, multi-factor authentication, and Terraform. You'll also install and configure the necessary tools like Visual Studio Code for efficient development. Next, the course delves into Terraform's core components, focusing on its configuration language and state management. Through practical projects, you'll learn to create and manage AWS resources such as EC2 instances and S3 buckets. This course is perfect for beginners looking to learn cloud automation. No prior experience with Terraform is necessary, though familiarity with cloud concepts will be beneficial.

Syllabus

  • Getting Started
    • In this module, we will introduce the course's structure and objectives, ensuring a clear understanding of what to expect. We will guide you through how to navigate the course materials, enabling you to make the most out of the learning experience. This section sets the foundation for your journey into mastering Terraform.
  • Setting Up Your Environment and Tools
    • In this module, we will walk through the essential steps to prepare your environment for Terraform development. This includes setting up your AWS account, enabling multi-factor authentication, and installing Terraform and the AWS CLI. We will also configure your IDE, specifically Visual Studio Code, and show how to set up WSL for Windows users to optimize your Terraform workflow.
  • Understanding Infrastructure as Code (IaC) and Terraform
    • In this module, we will dive into the principles of Infrastructure as Code and its relevance in the modern IT landscape. We will demonstrate how Terraform simplifies infrastructure management, helping you automate processes. You will also explore the core components of Terraform, including providers and state, and practice deploying infrastructure using both manual and automated methods.
  • Terraform's Core Components
    • In this module, we will explore the core components of Terraform, focusing on HCL syntax and organization of configuration files. You will learn how to use essential Terraform CLI commands and gain hands-on experience with remote backends and providers. This section will help you build a strong foundation for working with Terraform’s powerful infrastructure-as-code capabilities.
  • Working with Resources
    • In this module, we will focus on working with resources in Terraform. You’ll learn how to define and configure essential infrastructure components such as VPCs and EC2 instances. This section also covers how to manage dependencies, use meta-arguments, and secure your infrastructure with security groups. Through hands-on exercises, you’ll apply these concepts to real-world scenarios.
  • Project - Deploying an S3 Static Website
    • In this module, we will guide you through the process of deploying a static website using AWS S3 and Terraform. You will set up an S3 bucket, configure it for public access, and enable static website hosting. The project will culminate in automating the file upload process using Terraform, demonstrating the power of IaC in web deployment.
  • Working with Data Sources
    • In this module, we will explore how to use data sources in Terraform to dynamically retrieve information about your infrastructure. You will learn to fetch AMI data, VPC details, and account-specific settings, making your configurations more flexible and adaptable. This section also covers using IAM policies to securely manage permissions.

Taught by

Packt - Course Instructors

Reviews

Start your review of Terraform Basics - Managing Infrastructure as Code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.