Open main menu

CDOT Wiki β

Changes

OPS345 Lab 2

362 bytes added, 04:14, 18 December 2021
Your Setup
* In the AWS Management Console you've looked at EC2 so far. Now open the VPC Management Console. As most things in AWS: this interface is overwhelming at first. Once you go through it several times you'll get more comfortable with it.
 
== VPC ==
 
* Click "Your VPCs". Note that there is a default one there which was created automatically with your account. Click '''Create VPC'''.
** Set the name to vpc-ops345
** No IPv6
[[File:AWSvpc-ops345.png|800px|border|center]]
 
== Subnet ==
* 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'''.
[[File:AWSsubnet-ops345.png|800px|border|center]]
== Internet gateway == The machines in your private subnet won't have internet access, even if they have public IP addresses. An internet gateway is required. ** Click Internet Gateway: Gateways, then '''Create internet gateway'''** Set the name to ops345-internet-gateway, attach .** Attach it to vpc-ops345your new VPC.** [[File:AWSAttachInternetGateway.png|800px|border|center]] == Route table == Finally: create a route table  
** 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
* Create a new security group "ops345sg" in vpc-ops345 with only the SSH port open.