Terraform is an open source "Infrastructure as Code" tool, used by DevOps and SysOps engineers to codify their cloud infrastructure requirements.
In this lesson you'll learn about Terraform from the ground up, and how it can be used to codify infrastructure. Terraform can be used to provision infrastructure across multiple cloud providers including AWS which this lesson will focus on.
resource "aws_instance" " QA " {
ami = data.aws_ami.ubuntu.id
instance_type = var.instance_type
key_name = var.key_name
subnet_id = aws_subnet.private.id
security_groups = [aws_security_group.webserver.id]
user_data =<<EOFF
#!/bin/bash
read -r -d '' META <<- EOF
QA ♥ Terraform!
For any feedback, queries, or suggestions relating to this lesson
please contact us at:
Support: platformsupport@qa.com
LinkedIn: https://www.linkedin.com/in/jeremycook123
EOF
echo "$META"
EOFF
tags = {
Org = "QA"
Lesson = "Terraform 1.15"
Author = "Jeremy Cook"
}
}Learn about Terraform and how to use it to provision AWS infrastructure
Learn how to build and create Terraform configurations and modules
Learn how to use the Terraform CLI to launch and manage infrastructure on AWS
Anyone interested in learning about Terraform, and the benefits of using it to codify infrastructure
Anyone interested in building and launching AWS infrastructure using Terraform
Anyone interested in deploying cloud native applications on AWS
Prerequisites which would be considered useful for this lesson are:
Knowledge of the AWS cloud platform and the various services within it – particularly VPC, EC2, and IAM
Basic System administration experience
Basic Infrastructure and Networking Knowledge
Basic SysOps and/or DevOps Knowledge
All Terraform configuration as used within the provided demonstrations is located in GitHub here: