This Terraform script automates the deployment of a comprehensive cybersecurity home lab within AWS. Designed to reflect real-world cloud infrastructure, it demonstrates skills in Infrastructure as Code (IaC), secure resource management, and scalability. The script provisions key components including a Virtual Private Cloud (VPC), EC2 instances for a web server, attack platform, and Nessus vulnerability scanner, as well as an S3 bucket for centralized log storage.
# Example from the script
resource "aws_instance" "web_server" {
ami = "ami-12345678"
instance_type = "t2.micro"
subnet_id = aws_subnet.public.id
key_name = "your-key-pair"
tags = {
Name = "WebServer"
}
}