AWS Builder Center

AWS for Beginners:

Building Cloud Infrastructure with Terraform

AWS with Terraform

Terraform is an Infrastructure as Code (IaC) tool that allows infrastructure to be defined using configuration files.
For example, instead of manually creating an EC2 instance through the AWS Console, Terraform can define the desired infrastructure:
resource "aws_instance" "web" {
ami = "ami-xxxxxxxx"
instance_type = "t3.micro"

tags = {
Name = "terraform-web-server"
}
}
The typical Terraform workflow is:
Write Terraform Code
↓
terraform init
↓
terraform plan
↓
terraform apply
↓
AWS Infrastructure
This approach makes infrastructure repeatable, version-controlled, and easier to automate.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article