AWS Classroom Series 24/Oct/2019 – Networking

AWS Networking Basics

Home Network

AWS VPC

Comparison

  • Modem => Internet Gateway
  • Router => Route Table
  • Home Network => Subnet

Create a Network with new Route Table and Internet Gateway

  • Create a VPC in any region
  • Create a subnet in the vpc
  • Create and attach Internet gateway to VPC
  • Create a Route Table
  • Associate the subnet to Route Table
  • Edit Routes in Route and add rule for any ip address (apart from your VPC range) to go to internet gateway

Searching CLI’s

  • Cheat sheet
aws cli <servicename>

google for aws cli vpc
  • Command line basics
<command> [<subcommands>] [--argname argvalue] [argvalue]

ping google.com

docker create --name test  helloworld

aws ec2 describe-vpcs
  • AWS Command line
aws <servicename> <action> [args]

aws ec2 describe-vpcs

AWS CLI Commands

aws ec2 create-vpc --cidr-block '192.168.0.0/16'
aws ec2 create-subnet --cidr-block '192.168.0.0/24' --vpc-id <vpc-id>
aws ec2 create-internet-gateway 
aws ec2 attach-internet-gateway --internet-gateway-id <igw-id> --vpc-id <vpc-id>

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%