Basic Network Setup
Networking setup should be a one-time setup. Security Groups can and should be added as needed. While Floating IPs fall under the Networking fold-out, they should be allocated and released together with instances to maximize security.
Creating a Network
Click “Network” in the left-hand navigation pane to open the fold-out menu.
Click “Networks” in the fold-out menu.
The “Networks” page will open.
The “uab_campus” network entry should already be in the table.
Click “+ Create Network” to open a dialog box.
Fill out the dialog box. Only the “Network” tab is important, we will create a subnet as a separate step.
Enter a “Network Name”.
Leave “Enable Admin State” checked.
Uncheck “Create Subnet”. We will do this as a separate step. The other tabs should be removed.
Leave the “Availability Zone Hints” box empty.
Click “Create”.
Redirects to the “Networks” page.
There should be a new entry in the table with the name given in (4.a)
Creating a Subnet
Click “Network” in the left-hand navigation pane to open the fold-out menu.
Click “Networks” in the fold-out menu.
The “Networks” page will open.
The “uab_campus” network should already be an entry in the table.
At least one other entry must be in the table. See Creating a Network.
Under the “Actions” column, select the drop-down triangle button in the row corresponding to the network you want to add a subnet to.
Click “Create Subnet” in the drop-down to open a dialog box.
Fill out the dialog box.
The “Subnet” tab.
Enter a “Subnet Name”.
Enter
192.168.0.0/24as the “Network Address”. The trailing/24allocates the entire range from192.168.0.0through192.168.0.255to the subnet.Ensure “IPv4” is selected in the “IP Version” drop-down box.
Leave “Gateway IP” empty to use the default value of
192.168.0.0.Leave “Disable Gateway” unchecked.
Click the “Next >>” button to move to the “Subnet Details” tab.
The “Subnet Details” tab.
Leave “Enable DHCP” checked.
Enter
192.168.0.20,192.168.0.100in the “Allocation Pools” box. The IP addresses in that range will be assigned to instances on this subnet.Leave “DNS Name Servers” empty.
Leave “Host Routes” empty.
Click “Create”.
Redirects to the “Overview” page for the network the subnet was added to.
Click the “Subnets” tab next to “Overview” to verify the subnet was added to the table for this network.
Creating a Router
To follow these directions for creating a router, a network and subnet must already exist.
Click “Network” in the left-hand navigation pane to open the fold-out menu.
Click “Routers” in the fold-out menu.
Click “+ Create Router” to open a dialog box.
Fill out the dialog box.
Enter a “Router Name”.
Leave “Enable Admin State” checked.
Select “uab-campus” in the “External Network” drop down box.
Leave the “Availability Zone Hints” box empty.
Click “Create Router”.
Redirects to the “Routers” page.
There should be a new entry in the table with the name given in (4.a)
Now we need to connect the router to our subnet. Click the name of the new entry under the “Name” column to open the router “Overview” page.
Click the “Interfaces” tab.
Click “+ Add Interface” to open a dialog box.
Fill out the dialog box.
Select an existing network-subnet pair in the “Subnet” drop down box.
If this is your only router on the selected subnet, leave “IP Address” empty to use the subnet gateway.
Click “Submit”
Redirects to the “Interfaces” page for the router.
There should be a new entry in the table.
Creating a Security Group
These instructions show you how to prepare to use SSH with your instances. Security Groups are used to set rules for how external devices can connect to our instances. Here we will create an SSH Security Group using a method that can be applied to other types of connections. The method used can be applied to other types of Security Groups as well.
Click “Networks” in the left-hand navigation pane to open the fold-out menu.
Click “Security Groups” in the fold out menu.
Click “+ Create Security Group” to open a dialog box.
Fill out the dialog box.
Under “Name” enter
ssh.Leave “Description” empty.
Click “Create Security Group”.
Redirects to the “Manage Security Group Rules: ssh” page.
There should be an entry for “Egress IPv4” and “Egress IPv6”. Leave these alone.
Click “+ Add Rule” to open a dialog box.
Select “SSH” in the “Rule” drop down box. This will change the remaining fields.
Leave “Description” empty.
Select “CIDR” in the “Remote” drop down box.
Type
0.0.0.0/0in the “CIDR” box. WARNING! This is NOT good practice! For your research instances, you’ll want to constrain the CIDR value further to a narrower range of IP addresses. The rule we have shown here leaves the SSH port open to all IP addresses world-wide.
Click “Add”.
Redirects to the “Manage Security Group Rules: ssh” page.
There should be a new entry in the table.