Skip to content

The Terraform configuration sets up infrastructure for deploying a website or web application in AWS

Notifications You must be signed in to change notification settings

Christochi/terraform-aws-infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform-AWS-Webapp

Infrastructure Diagram

Alt

Description

The Terraform configuration sets up infrastructure for deploying applications. The directory structure of the terraform configuration consists of:

  • modules
  • packer
  • setup-database
  • setup-nwk
  • setup-server

Requirement

  • AWS account
  • install terraform
  • install Packer
  • install ansible

Setup

VPC Setup

  • spin-up network infrastructure in the setup-nwk directory
  • build ami image using packer in the packer directory (need to be done once, unless the image got deleted)

EC2 Setup

  • do above steps
  • spin-up ec2 instance in the setup-server directory

Database Setup

  • in progress