/terraform-practice

A simple Terraform project to practice the creation and management of AWS resources.

Primary LanguageHCLApache License 2.0Apache-2.0

Terraform-practice

A simple Terraform project to practice the creation and management of AWS resources.

Objectives

Create and manage the following resources at AWS:

  1. VPC.
  2. Internet Gateway.
  3. Custom Route Table.
  4. Subnet.
  5. Associate the subnet with the Route Table.
  6. Security group to allow ports 22, 80, and 443.
  7. Network interface with an IP in the subnet.
  8. Assign an elastic IP to the network interface.
  9. Ubuntu server and install/enable apache2.

Prerequisites

To this project work correctly it's required:

  • The Terraform CLI installed, I'm using the 1.5.7 version.
  • AWS CLI installed.
  • AWS account and associated credentials that allow the creation of resources.