Skip to content

onemtc/terraform-wth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What The Hack: Infrastructure As Code with Terraform

Introduction

DevOps is a journey not a destination. Implementing Infrastructure-as-Code is one of the first steps you will need to take!

When implementing an application environment in the cloud, it is important to have a repeatable way to deploy the underlying infrastructure components as well as your software into the target environment. This includes resources such as:

  • Virtual Networks, Network Security Groups (Firewalls), Public IPs, Virtual Machines, Storage (Disks)
  • PaaS Services (Azure Container Apps, Azure SQL, App Service, etc)
  • Configuration Management (installing & configuring software on VMs)

The best way to make deployments repeatable is to define them with code, hence the term "Infrastructure as Code" (aka IAC). There are multiple technologies that enable you to achieve this. Some of these include:

  • ARM Templates
  • Bicep Templates
  • HashiCorp's Terraform
  • Ansible, Chef, Puppet, Salt Stack, and others

This hack is focused on using Terraform to implement your IaC.

Learning Objectives

This hack will help you learn:

  • How Terraform can be used to deploy Azure infrastructure

The challenges build upon each other incrementally. You will start by creating basic Terraform manifests to get you familiar with the tools & syntax. Then you extend your manifests incrementally to deploy multiple infrastructure resources to Azure.

Challenges

Prerequisites

You will want to prepare your machine with the following to help complete the Challenges for this hack:

Repository Contents

  • ../Student
    • Terraform challenges
  • ../Student/Resources
    • Shell scripts needed to complete the challenges

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages