Skip to content

Terraform script to set up vpc with subnets on aws

Notifications You must be signed in to change notification settings

vanneback/aws-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current architecture

+-------------------------------------------------------------------------------------------------------------------------------------+ | | | +-------------------------------------------------------------------------------------------------------------------------------+ | | | | | | | | | | | +----------------------------------------------------------+ +--------------+ | | | | | | | | +----------------+ | | | | | | | | | | | | | | | +-----------+ +----------------+ +-----------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |Nat Gateway| <------+ <----+ Route Table <-+ | | | | | |Instance | |Security Group | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | +-----------+ +----------------+ +-----^-----+ | | | | | | | | | | | | | | | | | | | | | | | | | | Network | +----------------+ | | | | | | Public subnet - 10.0.2.0/24 | | | | | +--------+ +-+--+---+ | | | | | | ACL | | | | | | | | +----------------------------------------------------------+ | | +--+ Router <-----+Internet| | | |-----------------------------------| | | | | | |Gateway | | | +----------------------------------------------------------+ | | | | | | | | | | | | | | +---------------+ | +--------+ +-+--+---+ | | | | | | | | | | | | | | | +---------+-+ +----------------------------+ | | | | | | | | | | | | | | | <------+ | | | | | | | | | | | | | | | <----+ Route Table <--+ | | | | | |Instance | | Security Group | | | | | | | | | | | | | | | | | | | | | | | | | +-----------+ +----------------------------+ | | | | | | | | | | | | | | | | | | | | PriVate subnet - 10.0.1.0/24 | | | | | | | | | | | | | +---------------+ | | | | +----------------------------------------------------------+ +--------------+ | | | | | | | | Vpc - 10.0.0.0/16 | | | +-----+-------------------------------------------------------------------------------------------------------------------------+ | | | | Region us-east2 | +-------------------------------------------------------------------------------------------------------------------------------------+

##TODO Add the nat gateway

About

Terraform script to set up vpc with subnets on aws

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages