{"id":2203,"date":"2019-10-16T07:56:53","date_gmt":"2019-10-16T04:56:53","guid":{"rendered":"https:\/\/upcloud.com\/global\/us\/resources\/tutorials\/configure-sdn-private-networks\/"},"modified":"2019-10-16T07:56:53","modified_gmt":"2019-10-16T04:56:53","slug":"configure-sdn-private-networks","status":"publish","type":"tutorial","link":"https:\/\/upcloud.com\/global\/resources\/tutorials\/configure-sdn-private-networks\/","title":{"rendered":"How to configure SDN Private networks"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Private networks <a rel=\"noopener\" href=\"https:\/\/upcloud.com\/global\/products\/software-defined-networking\" target=\"_blank\">enabled by SDN<\/a> offer&nbsp;unrestricted secure networking customisable by you. Create isolated environments within zones or allow traffic through <span style=\"font-weight: 400;\">a cloud server acting as a firewall and router.<\/span> Define custom local networks with the IP ranges of your choosing and attach IPs statically or automatically using DHCP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Network control panel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/private_networks_1-1024x453.png\" alt=\"Private networks\" class=\"wp-image-32621\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Any new Private networks you create will appear on this list.&nbsp;Initially, you\u2019ll only see the default Utility network that securely interconnects all of the cloud servers on your UpCloud account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating new private networks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Creating and configuring new private networks is really simple.&nbsp;Open your UpCloud control panel and the <a href=\"https:\/\/hub.upcloud.com\/networks\/private\" target=\"_blank\" rel=\"noopener\">Private Network<\/a>&nbsp;section under the Network menu.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click the <em>Create SDN network<\/em> button to begin configuring a new one.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/private_networks_2-1024x453.png\" alt=\"Create SDN Network button\" class=\"wp-image-32623\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/create_sdn_network-1-1024x453.png\" alt=\"Create SDN Network\" class=\"wp-image-32625\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Afterwards, click the <em>Create SDN network<\/em> button to confirm.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/private_networks_3-1024x453.png\" alt=\"Network successfully created\" class=\"wp-image-32624\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Attaching servers to networks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go to your <a rel=\"noopener\" href=\"https:\/\/hub.upcloud.com\/\" target=\"_blank\">UpCloud Control Panel<\/a> and open Network options in the settings of the server you wish to attach to a new private network.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/server_network_settings-3-1024x637.png\" alt=\"Server networks\" class=\"wp-image-32626\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start by clicking the <em>Attach SDN private network<\/em> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/attach_sdn_private_network-1024x643.png\" alt=\"Attach SDN private network\" class=\"wp-image-32627\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This opens a new window that lists the available private networks at your server\u2019s location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the private network you want to attach to your cloud server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/attach_sdn_private_network_window-1024x467.png\" alt=\"Attach SDN private network to your server\" class=\"wp-image-32628\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, you can create a new private network by selecting the <em>Create new SDN network<\/em> option and configuring the new network with a name and a location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019ve made the selections, click the <em>Attach network<\/em> button to confirm.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/attach_sdn_private_network_window_selected-1024x467.png\" alt=\"Network selected\" class=\"wp-image-32630\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s 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.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/server_network_settings_server_added-1024x696.png\" alt=\"Network attached\" class=\"wp-image-32631\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">However, before you are quite finished, you still need to configure a new network interface at your operating system level. Check the guide on <a href=\"https:\/\/upcloud.com\/global\/community\/\n\/tutorials\/attaching-new-ip-addresses\/\" target=\"_blank\" rel=\"noopener\">how to add new IP addresses<\/a> for instructions on this.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Removing servers from networks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Detaching servers from a network is as simple as deleting the network interface used to join the server to the private network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to your <a rel=\"noopener\" href=\"https:\/\/hub.upcloud.com\/\" target=\"_blank\">UpCloud Control Panel<\/a> and the Network menu under your server settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click the delete icon on the network interface you wish to remove.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/detach_network-1024x695.png\" alt=\"Detach private network\" class=\"wp-image-32632\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then complete the removal by clicking the <em>Detach <\/em>button in the confirmation window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/upcloud.com\/media\/detach_network_interface-1024x467.png\" alt=\"Detach network interface\" class=\"wp-image-32633\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n","protected":false},"author":3,"featured_media":32674,"comment_status":"open","ping_status":"closed","template":"","community-category":[259,247],"class_list":["post-2203","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/comments?post=2203"}],"version-history":[{"count":0,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/tutorial\/2203\/revisions"}],"wp:attachment":[{"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/media?parent=2203"}],"wp:term":[{"taxonomy":"community-category","embeddable":true,"href":"https:\/\/upcloud.com\/global\/wp-json\/wp\/v2\/community-category?post=2203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}