Skip to content

AntonAks/AWS-EC2-LoadBalancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS EC2 and Load Balancer Example

Description

This Terraform project demonstrates how to create three EC2 instances and a Load Balancer in AWS. It serves as a basic example for deploying infrastructure as code (IaC) using Terraform.

Prerequisites

Before you begin, ensure you have the following installed:

  • Terraform
  • AWS CLI configured with appropriate credentials

Usage

  1. Clone the repository

  2. Initialize & Validate Terraform

    terraform init
    terraform validate
  3. Plan the infrastructure

    terraform plan
  4. Apply the configuration

    terraform apply

Cleanup

To remove the created resources, run:

terraform destroy

Notes

  • This is a simple example and may require modifications for production use.
  • Ensure your AWS credentials and permissions are correctly configured.

Feel free to contribute or modify the project as needed!

About

Terraform AWS EC2 and Load Balancer Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages