Skip to content

Building a simple AWS VPC setup with a public subnet, internet gateway, and a web server (EC2) that's accessible over SSH and HTTP using Terraform.

Notifications You must be signed in to change notification settings

uddithmachiraju/terraform-web-server-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS Web Server Deploy

  • Deploying a complete AWS Web Server in AWS through Terraform.

Architecture

Web Server Architecture

Components we are going to build

  1. Virtual Private Cloud
  2. Internet Gateway
  3. Security Group

Steps

  1. Setup the Environment
  2. Initilize the provider
  3. Create VPC
  4. Add a public subnet
  5. Add a internet Gateway and Route Table
  6. Create security group
  7. Launch EC2 instance
  8. Access the Website
  9. Destroy

NOTE: Do the above project in AWS Console manually for better understanding of how things work.

About

Building a simple AWS VPC setup with a public subnet, internet gateway, and a web server (EC2) that's accessible over SSH and HTTP using Terraform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages