Practical Application of Terraform Best Practices

Terraform    |    Intermediate
  • 15 videos | 1h 29m 2s
  • Earns a Badge
Terraform best practices emphasize reusable modules, semantic versioning, Terraform state management, collaboration, and protecting sensitive information. In practical terms, this includes automating network configurations and application deployments, managing environments, refactoring monolithic deployments to a more module-based infrastructure, and using no-code modules where feasible. In this course, you will explore how to apply best practices by automating network configurations and managing application load balancers to deploy scalable and highly available applications. You'll discover how to refactor configurations from a monolithic to a more modular design and leverage the moved block to avoid potential service disruptions. After course completion, you will be able to apply Terraform best practices including the automation of network configurations and the deployment of scalable and highly available applications.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Identify the components and features of consul-terraform-sync (cts)
    Prepare to automate a network configuration in terraform with consul-terraform-sync (cts) by installing jq json processor and deploying infrastructure for consul, a sample application, and an api gateway resource
    Define a policy with sufficient privileges and create a token with the same privileges for cts to use when communicating with a consul cluster
    Inspect the cts configuration file on a cts instance to validate its effectiveness in automating network configuration
    Run consul-terraform-sync (cts) in daemon mode to automatically scale up an application deployment
    Deploy an application configuration in a blue environment that leverages an application load balancer (alb) in aws
    Deploy an application configuration in a green environment that leverages an application load balancer (alb) in aws
  • Modify traffic to implement a canary test in a blue-green application deployment
    Apply a terraform configuration with a single main configuration file in a single directory with a single state file
    Refactor a monolithic configuration by splitting it into two separate configuration files with one root module for a production environment and a separate root module for a development environment
    Refactor a configuration with separate configuration files for different environments by separating production and development states
    Refactor a configuration by organizing resources into modules
    Move resources safely with the moved configuration block
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 57s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 6m 2s
    In this video, find out how to identify the components and features of Consul-Terraform-Sync (CTS). FREE ACCESS
  • Locked
    3.  Preparing to Automate Network Configuration
    9m 1s
    During this video, discover how to prepare to automate a network configuration in Terraform with Consul-Terraform-Sync (CTS) by installing jq JSON processor and deploying infrastructure for Consul, a sample application, and an API Gateway resource. FREE ACCESS
  • Locked
    4.  Configuring the Consul ACL System for CTS
    6m 20s
    During this video, discover how to define a policy with sufficient privileges and create a token with the same privileges for CTS to use when communicating with a Consul cluster. FREE ACCESS
  • Locked
    5.  Validating a CTS Configuration File
    4m 14s
    In this video, learn how to inspect the CTS configuration file on a CTS instance to validate its effectiveness in automating network configuration. FREE ACCESS
  • Locked
    6.  Automating Network Configuration
    6m 24s
    In this video, learn how to run Consul-Terraform-Sync (CTS) in daemon mode to automatically scale up an application deployment. FREE ACCESS
  • Locked
    7.  Deploying Apps in a Blue Environment
    7m 4s
    In this video, find out how to deploy an application configuration in a blue environment that leverages an application load balancer (ALB) in AWS. FREE ACCESS
  • Locked
    8.  Deploying Apps in a Green Environment
    6m 14s
    During this video, discover how to deploy an application configuration in a green environment that leverages an application load balancer (ALB) in AWS. FREE ACCESS
  • Locked
    9.  Running a Canary Test in a Blue-Green Deployment
    8m 12s
    In this video, discover how to modify traffic to implement a canary test in a blue-green application deployment. FREE ACCESS
  • Locked
    10.  Applying a Monolithic Configuration
    5m 51s
    Upon completion of this video, you will be able to apply a Terraform configuration with a single main configuration file in a single directory with a single state file. FREE ACCESS
  • Locked
    11.  Refactoring into Two Separate Configurations
    5m 16s
    After completing this video, you will be able to refactor a monolithic configuration by splitting it into two separate configuration files with one root module for a production environment and a separate root module for a development environment. FREE ACCESS
  • Locked
    12.  Refactoring a Configuration Using State Separation
    9m 53s
    During this video, you will learn how to refactor a configuration with separate configuration files for different environments by separating production and development states. FREE ACCESS
  • Locked
    13.  Refactoring a Configuration to Use Modules
    8m 19s
    In this video, find out how to refactor a configuration by organizing resources into modules. FREE ACCESS
  • Locked
    14.  Moving Modules with the Moved Block
    4m 21s
    Find out how to move resources safely with the moved configuration block. FREE ACCESS
  • Locked
    15.  Course Summary
    56s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.7 of 22 users Rating 4.7 of 22 users (22)
Rating 4.8 of 6 users Rating 4.8 of 6 users (6)