How to configure SDN Private networks
Private networks enabled by SDN offer unrestricted secure networking customisable by you. Create isolated environments within zones or allow traffic through a cloud server acting as a firewall and router. Define custom local networks with the IP ranges of your choosing and attach IPs statically or automatically using DHCP.
The new private networks allow you to connect an unlimited number of cloud servers to any private network for no additional cost. The predictable prices remain the same regardless of the number of connected cloud servers or the amount of transferred traffic.
Network control panel
At your UpCloud control panel, go to the Private Network section under the Network menu where you can find the private networks currently configured on your account.
Any new Private networks you create will appear on this list. Initially, you’ll only see the default Utility network that securely interconnects all of the cloud servers on your UpCloud account.
Here is also where you can see the cloud servers attached to your private networks by clicking on any particular network to expand the view.
Creating new private networks
Creating and configuring new private networks is really simple. Open your UpCloud control panel and the Private Network section under the Network menu.
Click the Create network button to begin configuring a new one.
Configure a new private network by naming the network as you like and choosing the location you want the network to be deployed at. Only servers within the same location can be directly attached to a private network at that data centre.
Afterwards, click the Create network button to confirm.
All set, your new private network is then ready for attaching cloud servers. Check the instructions below on how to join servers to the network.
Attaching servers to networks
Go to your UpCloud control panel and open Network options in the settings of the server you wish to attach to a new private network.
By default, every UpCloud server has two public IP addresses, versions 4 and 6, as well as a single private IP address connected to the utility network.
Start by clicking the Attach private network button.
This opens a new window that lists the available private networks at your server’s location.
Choose the private network you want to attach to your cloud server.
Alternatively, you can create a new private network by selecting the Create new network option and configuring the new network with a name and a location.
You can also select whether you wish the private network to assign an IP address for your server automatically using DHCP, or manually allowing you to enter the IP you wish within the network.
Once you’ve made the selections, click the Attach network button to confirm.
That’s it, your cloud server has now been attached to the private network. It will show as a new network interface and display the IP address you chose to use.
However, before you are quite finished, you still need to configure a new network interface at your operating system level. Check the guide on how to add new IP addresses for instructions for his.
Removing servers from networks
Detaching servers from a network is as simple as deleting the network interface used to join the server to the private network.
Go to your UpCloud control panel and the Network menu under your server settings.
Click the delete icon on the network interface you wish to remove.
Then complete the removal by clicking the Ok button in the confirmation window.
The cloud server has then been detached from that particular private network. If you are not expecting to use the same interface again, you may delete the IP address at your OS level, or leave the configuration in place if you want to attach the cloud server to another private network.
The same method can be used to detach cloud servers from the utility network by deleting the default private IP address if you so choose.