GithubHelp home page GithubHelp logo

al_aws's Introduction

TeraData Code Challenge

This repo is a collection of Terraform files that satisfies the requirements of an interview code challenge.

Prerequisites

Install terraform on a mac or windows pc

  1. In the root directory create a file called terraform.tfvars

Your file will contain 2 lines:

access_key = "<input your aws access key>"
secret_key = "<input your aws secret key>"
  1. Generate an ssh key and label it aws_tdcc.pub. Store the public key in the keys folder of the repo.

Deploying

This automation runs off 3 commands:

terraform init

This will grab all the providers needed to run the automation

terraform plan

This will display all the actions that the automation is about to perform

terraform apply

This will kick off the automation. When finished it will output the public IPs of the (3) webservers and the public DNS entry of the ELB.

Disclaimers

The SSL certificate used for the ELB is created via a terraform resource and is self-signed. A browser warning will pop-up when accessing the https site

DNS propogations from AWS can take a few minutes. The URL endpoints may not work immediately.

Authors

al_aws's People

Contributors

arcticgenes 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.