Coder Social home page Coder Social logo

ohbster-network's Introduction

Ohbster-network (by Obijah [email protected])
READ THIS ENTIRELY BEFORE USING. FAILURE TO DO SO COULD RESULT IN FINANCIAL LOSS. BY USING THIS CODE YOU AGREE NOT TO HOLD ME RESPONSIBLE FOR ANY DAMAGES!!
USE AT YOUR OWN RISK
Having said that, welcome to Ohbster-network
This is a reusable terraform module that will

  • Build a VPC using the a provided CIDR block
  • build multiple public and private subnets with routes and CIDR ranges
  • Build Instances and evenely distribute them among the public subnets
  • Name resources after the project name
  • Can change regions. (BEWARE!!! MUST DO A terraform destroy FIRST)
  • Create IAM groups and users, give groups access to resouces created in terraform deployment

How do you use it?
If you haven't already, you need to perform a

  • git clone
  • cd into the 'Ohbster-network' directory
  • terraform init From there you can do
  • terraform apply It should run just like that. If you want to make changes you don't need to touch ANY terraform code. Make changes to the terraform.tfvars file and re-apply

WARNING IF YOU CHANGE REGION YOU MUST DO terraform destroy BEFORE terraform apply OR IT WILL OVERWRITE YOUR STATE FILE!!
If this happens, you will need to manually destroy every resource in every region you applied since your last destroy.
This is not fun and is not cheap. (I am looking at ways to avoid this.)

  1. Open the file, terraform.tfvars
  2. Edit the settings in this file
    image
  3. Save the terraform.tfvars file and do a terraform apply

That is all you should need to change for most circumstances. Just those 9 settings. If you want multiple networks in multiple regions, you can use:
terraform workspace
to avoid maintain multiple states.

Please send any feedback to Obijah - [email protected]
Thanks and happy coding

ohbster-network's People

Contributors

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