By creating networks you can build an internal network that can be used by your instances to communicate without having to connect to the internet. This provides fast and secure communication between your instances.
In order to create a new network, go to Projects => Network => Networks. This screen will contain a list with all your networks. Above the list you'll find the button "Create Network". Click here to enter the dialog.
Step 1: Create the network
- Network Name:
Specify a name to identify the network, this can be anything you want.
- Admin State:
The state to start the network in. If enabled, the network will go online once created.
- Create Subnet:
Select this check box when you want to create a subnet. You don't have to specify a subnet when you create a network. However if you don't create a subnet you'll not be able to connect a instance to the network.
- Click "Next" to continue
Step 2: Create the subnet
- Subnet Name:
Specify a name for the subnet, this can be anything you want.
- Network Address:
Specify the network address for this subnet. This has to be a valid IPv4 or IPv6 network address.
- IP Version:
Select IPv4 or IPv6.
- Gateway IP:
Specify an IP address for a specific gateway, this parameter is optional.
- Disable Gateway:
Select this check box to disable a gateway IP address.
- Once you're finished click "Next".
Step 3: Configure DHCP
If you're configuring DHCP for your subnet, instances can automatically configure their network interfaces.
- Enable DHCP:
Select this check box to enable DHCP. If you want to give all of your instances a static network configuration you don't need the DHCP server. In that case disable DHCP and click "Create" to complete the setup.
- Allocation Pools:
Specify the pools from which the DHCP server may assign IP addresses.
- DNS Name Servers:
Specify which nameservers the instances should use
- Host Routes:
Specify host routes for your subnet.
- Click "Create", your network will now be created.