Code Monkey home page Code Monkey logo

ah_network's Introduction

Setting up a network.

This project sets up a network to deploy the Authors Haven on AWS.

The Amazon Machine Images can be built with help of AMI building repo, follow steps on the readme to build the neccessary images.

Getting Started

Clone the repository and cd into ah_network. Initialize terraform with the command terraform init which initializes the current working directory containing the terraform configuration files. After the command has executes successfully you need to edit sample.terraform.tfvars by adding the aws credential files namely aws_access_key and aws_secret_key. You will also have to add the path to a key you have downloaded from aws and add it to the variable key_path with the key name added to variable aws_key_name.

The other variables needed include aws_front_ami, aws_docu_ami and aws_db_ami Which you will obtain after bulding the respective images from the AMI building repo repo.

After that you change the name of the file from sample.terraform.tfvars to terraform.tfvars. With this done you are all set to spin up the instances on aws.

Prerequisites

Kindly install terraform on your computer.

Deployment

After setting up everything as per the setup stage deployment to aws is all that is left. To deploy the configuration to aws run the command terraform plan and this will output a list of resources the script will deploy to aws. When you have read through and are about the resources that are going to be created use the command terraform apply to startup the process. After some while you will receive a prompt on the terminal to ask if you accept the resources to be created. You should accept with a yes but if you feel there is something you need to change type no. If you accept, the resources will be built onto aws.

Built With

  • Terraform - Tool that allows you to configure infrastructure as code.

Authors

ah_network's People

Contributors

darius-ndubi avatar

Watchers

James Cloos 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.