Open main menu

CDOT Wiki β

Changes

OPS345 Lab 2

284 bytes added, 11:10, 17 December 2021
Your Setup
** Set the CIDR block to 10.3.45.0/24 (larger than the subnet you will create later)
** No IPv6
[[File:AWSvpc-ops345.png|800px|border|center]]
 
* Now create a subnet in your new VPC: click on Subnets (note all the default ones, make sure you dont forget to name yours or else you'll quickly get confused). Click "Create subnet".
** Pick vpc-ops345
** Set the name to subnet-ops345
** Availability zone must be us-east-1a, in your environment that's a limitation that comes with using AWS Academy.
** Set the CIDR block to 10.3.45.0/25 (to fit inside the VPC but leave room for other subnets later)
** Under "Actions" click "Edit subnet settings" and check "Enable auto-assign public IPv4 address".
[[File:AWSsubnet-ops345.png|800px|border|center]]
* VPC dashboard:
** https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html
** New VPC vpc-ops345 with CIDR block 10.3.45.0/24, no IPv6
** Subnets: create a new one in vpc-ops345 named subnet-ops345, in us-east-1a, 10.3.45.0/25 (to fit inside the VPC but leave room for other subnets later)
** Edit subnet, enable auto-assign public IPv4 addresses
** Internet Gateway: Create ops345-internet-gateway, attach to vpc-ops345
** Create new Route table ops345-route-table, add route for 0.0.0.0/0 through ops345-internet-gateway. Then add explicit subnet association to subnet-ops345