GithubHelp home page GithubHelp logo

aws-networking's Introduction

aws-networking

aws cli command to create a subnet

check if the command execute successfully with --dry-run flag without creating subnet

aws ec2 create-subnet --dry-run --vpc-id vpc-0187f61 --cidr-block 192.168.2.0/23 --availability-zone us-east-2a --profile startup

create new subnet

aws ec2 create-subnet --vpc-id vpc-01871361 --cidr-block 192.168.2.0/23 --availability-zone us-east-2a --profile startup

specify a tag Name

aws ec2 create-tags --resources subnet-063e6da9e --tags Key=Name,Value=demo-priv-a --profile startup

create new route table

aws ec2 create-route-table --vpc-id vpc-0187ff01361 --profile startup

associate route table with private subnet

aws ec2 associate-route-table --route-table-id rtb-0351af279f60 --subnet-id subnet-063e6dbccda9e --profile startup

specify a tag Name

aws ec2 create-tags --resources rtb-035af29f60 --tags Key=Name,Value=demo-priv-rt --profile startup

creating an internet gateway attaching it to a VPC, and creating a route

aws ec2 create-internet-gateway --profile startup aws ec2 create-tags --resources igw-03b1ccb --tags Key=Name,Value=demo-igw --profile startup aws ec2 attach-internet-gateway --internet-gateway-id igw-031741b --vpc-id vpc-018c1 --profile startup aws ec2 create-route --route-table-id rtb-022ea72cf154 --destination-cidr-block 0.0.0.0/0 --gateway-id igw-03522117cb --profile startup

aws-networking's People

Contributors

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