Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 602 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 602 Bytes

Learning Terraform

Created a basic infrastructure on aws using terraform

Architecure

architecure-diagram

Components

  • VPC
  • Subnets
  • Internet Gateway
  • NAT Gateway
  • Security Groups
  • EC2 Instances - nginx, postgres
  • Loadbalancer

Usage

  • Update the variables.tf with the values for your environment
  • You need aws cli and pre configured with access key and secret key
  • Run below commands to run terraform
    - terraform init
    - terraform plan
    - terraform apply