Coder Social home page Coder Social logo

infrastructure's Introduction

infrastructure

Requirements:

AWS Networking Setup:
  1. Create Virtual Private Cloud (VPC) (Links to an external site.).
  2. Create subnets (Links to an external site.) in your VPC. You must create 3 subnets, each in a different availability zone in the same region in the same VPC.
  3. Create an Internet Gateway (Links to an external site.) resource and attach the Internet Gateway to the VPC.
  4. Create a public route table (Links to an external site.). Attach all subnets created to the route table.
  5. Create a public route in the public route table created above with destination CIDR block 0.0.0.0/0 and internet gateway created above as the target.
Infrastructure as Code with CloudFormation
  1. Install and set up AWS command-line interface.
  2. Create CloudFormation template csye6225-infra.json or csye6225-infra.yml that can be used to set up required networking resources.
  3. Values should not be hardcoded in your CloudFormation template.
  4. You must be able to use the same CloudFormation template in the same AWS account and region to create multiple VPCs including all of its resources (listed in the “AWS Networking Setup” section) such as subnets, internet gateway, route table, etc.
Commands to be used:
Create a CloudFormation:

aws cloudformation create-stack --stack-name --template-body file://csye6225-infra.yml --parameters file://config.json --profile

  • dev for Development environment
  • demo for Demo environment
Delete a CloudFormation:

aws cloudformation delete-stack
--stack-name --profile dev

infrastructure's People

Contributors

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