Giter Site home page Giter Site logo

guillermo-musumeci / terraform-aws-vpc-3-tier-single-az Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 4.0 18 KB

Terraform to deploy a single AZ network for 3-tier application in AWS

HCL 100.00%
aws aws-vpc aws-subnet bastion-server availability-zone 3-tier-architecture terraform infrastructure-as-code

terraform-aws-vpc-3-tier-single-az's Introduction

Deploy a single AZ network for 3-tier application in AWS using Terraform

  • Create a single AZ VPC with 3 subnets: web (public), app (private) & database (private)

  • Create Internet Gateway, NAT Gateway and routes

  • Create segurity groups for VPC and subnets

  • Create bastion servers (Linux & Windows) in the web public subnet and security groups

Files:

  • auth-variables.tf --> AWS authentication variables

  • bastion-linux.tf --> Linux Bastion

  • bastion-windows.tf --> Windows Bastion

  • common-variables.tf --> Common variables (app name, environment, etc)

  • network-main.tf --> Create network components (VPC, Subnets, etc)

  • network-variables.tf --> Variables for network components

  • security-main.tf --> Security groups for all subnets

  • terraform.tfvars --> AWS authentication variables

Note: remove the bastion-windows.tf and/or the bastion-linux.tf if you don't need access to private subnets

terraform-aws-vpc-3-tier-single-az's People

Contributors

guillermo-musumeci avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.