Giter Site home page Giter Site logo

terraform_website's Introduction

terraform_website

Use Terraform to deploy a webserver in an auto scaling group fronted by an application load balancer on AWS.

This site was deployed with Terraform to 2 EC2 instances in an Auto Scaling Group fronted by an Application Load balancer.

The load balancer is accessible via port 80 and 443 from the Internet while the instances allow all trafic from only the load balancer.(You can edit the ports for this in the securitygroup.tf file)

The instances are also accessible by ssh from the IP address specified in the variable MY_IP

At start-up the user-data runs to install Apache and also writes a simple home page, alternatively the script could be configured to download a website folder from S3.

It is deployed in Us-east-1 region and some of the availability zones are hardcoded, however i will try to update this.

The AMI specified in others.tf is also hard coded, this will also be updated.

Cheers and have a good day, I hope some one finds this useful.

terraform_website's People

Contributors

sanim16 avatar

Watchers

 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.