Giter VIP home page Giter VIP logo

aws-terraform-2tier-architecture's Introduction

aws-terraform-2tier-architecture

Spin up a 2-tier infrastructure on AWS Cloud using this terraform script within few minutes.

!!! This repository is deprecated. Please visit github.com/terrablocks for up to date terraform modules !!!

Prerequisites:

  • AWS Account
  • IAM User with Access Key & Secret Key
  • AWS CLI (Download)
  • Terraform (Download)

1. Configure local machine:

  • Install AWS CLI
  • Open terminal(linux/mac)/command prompt(windows)
  • Run aws configure
  • Provide the access key, secret key and region as requested

2. Setup 2-tier Infrastructure:

  • Unzip downloaded terraform file
  • Add terraform executable file to your environment variable (Optional)
  • Download all the files leaving .gitignore and README.md files. Note: You must generate your own private & public key
  • Open terminal(linux)/command prompt(windows)
  • Run terraform init command
  • Run terraform apply command. Provide yes as input when asked and hit enter

Hurray!! Your infrastructure is now ready.

3. Let's Test the Infrastructure:

  • Go to EC2 dashboard and click on Load Balancer in the left pane and grab the dns name of your load balancer
  • Paste the dns name in your browser's URL bar and hit enter
  • You should now see a "Hello World" meesage

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.