Virtual Network and Security Group Setup

1

From the dashboard, as shown in the figure below, click on Network on the left of the dashboard to open the drop-down menu then click on Virtual Networks.

2

From the Virtual Network screen, click on the green ‘+’ sign button and then click instantiate, as shown in the figure below to being creating a new virtual network.

3

Select a Virtual Network template from the list shown in the figure below and give the network name in the field below.

4

Next, select the network from the address ranges list to see the address range of your network, as you can see from the figure, the range will start from 192.168.15.1 and will contain 254 IP address assignments up to 192.168.15.254.

5

Then click on Context under Network Configuration to see the fields shown in the figure below and then enter your Network Address, Network Mask, Gateway and DNS. MTU of the guest interfaces and the IPv6 Gateway should be left blank (default).

6

Next click on Security under Network Configuration shown in the figure to see what security group the network is going to use. Since we only have only the default security group it is going automatically use it. In the second part of this guide we will create a security group and assign it to a virtual network.

7

Finally go back to the top and click on the green Create button as shown in the figure to create the virtual network.

8

As you can see from the figure below, the virtual network was successfully created.

9

The final thing that you need to do is to click on the virtual network that you just created and set the permissions of Group to Use as shown in the figure. This will allow the users in your group to be able to use the virtual network.

10

To create a security group to be later on applied to the virtual instances, you need to start from the Dashboard again. Click on Network on the left of the dashboard to open the drop-down menu then click on Security Groups.

11

From the Security Groups screen, click on the green “+” sign button, as shown in the figure below, to begin creating a new security group.

12

After you get to the security group creation wizard, enter the name of the security group and the description (optional) that you want to create in their respective field as shown in the figure.

13

Next, enter the rules you want to set for your security group. The rule shown in the figure below is a rule that will allow only SSH access to the instances that have this security group applied. From the Target Network drop-down, select Any Network to allow any network to establish an SSH connection inbound, select protocol and port range and then click Add rule.

14

We will now add another rule for the traffic direction going Outbound and Port Range and Target Networks set to All as shown in the figure to allow outbound access to all ports on all networks. Then click Add Rule at the bottom.

15

As you can see from the figure below, the rules to the security group were successfully added.

16

Finally click on the green Create button to create the security group with the defined rules.

17

The figure below shows that the security group was successfully created with security group ID 109.