Connect Public Cloud to other products via a new subnet to connect virtual machines without a customer Edge router
Using the Global Router, you can connect a public cloud to other Selectel products that can be connected to the Global Router; more information is available in the General information about the Selectel Global Router service instruction.
You can configure connectivity using several scenarios; you can view other scenarios in the Ways to connect a public cloud to the Global Router instruction.
Configuration description
Upon your request, we will create a private subnet in the public cloud, which will be visible in the list of networks of your virtual data center. The subnet will connect virtual machines directly to the service Edge router managed by Selectel. In this case, the service Edge router will act as a gateway. You will define the network addressing and the address for the service Edge router yourself and provide them in a ticket for creating a new subnet.
You will not be able to manage the routing of the created subnet — only add virtual machines to it. Virtual machines that you add to this subnet can simultaneously be added to other public cloud subnets.
Prerequisites
You can use any infrastructure you wish to connect to the public cloud via the global router for configuration. The infrastructure elements and its network parameters are provided as an example.
Configuration result
In this example, the dedicated server, cloud server, and public cloud virtual machine will be connected via a Global Router using a new public cloud subnet.

Configuration steps
- Create a Global Router.
- Connect the dedicated server and cloud platform subnets to the Global Router.
- Create a new subnet for communication with the Global Router.
- Connect virtual machines to the new subnet.
- If the virtual machine is added to other subnets, configure routes on the virtual machine.
- Configure static routes on the dedicated and cloud servers.
1. Create a Global Router
- In the Control panel, in the top menu, click Products and select Global Router.
- Click Create router. A limit of five global routers is set for each account.
- Enter the router name.
- Click Create.
- If the router was created with the status
ERRORor is stuck in one of the statuses, create a ticket.
2. Connect the dedicated server and cloud platform subnets to the Global Router
To connect the dedicated server subnet (in the example 192.168.0.0/24) and the cloud platform subnet (in the example 192.168.1.0/24) to the Global Router, use the Connect networks and subnets to a Global Router section of the Connecting products and services via a Global Router instruction.
3. Create a new subnet for communication with the Global Router
-
Create a ticket requesting the creation of a new private public cloud subnet that will connect the service Edge router to virtual machines. In the ticket, specify:
- the connection method for connecting the public cloud to the Global Router — the first method;
- Global Router ID, which can be found in the Control Panel in the Network Services → Selectel Global Router → router page → field under the router name;
- the virtual data center name, which can be found in the Control Panel in the VMware Cloud → Virtual Data Centers section → virtual data center card;
- desired CIDR of the new subnet — in the example
192.168.2.0/24; - desired subnet gateway, this address will be assigned to the service Edge router — in the example
192.168.2.1; - optionally: a name for the subnet.
-
We will create the subnet and inform you in the ticket. The subnet will appear in Cloud Director in the list of virtual data center subnets.
4. Connect the virtual machine to the new subnet
- From the Control Panel, open the Cloud Director panel: in the top menu, click Products → VMware Cloud → section Cloud Director.
- Open the virtual data center page.
- Go to the Compute → Virtual Machines.
- Open the page of the virtual machine you want to connect to the Global Router.
- Go to the VM Hardware → NICs.
- Click EDIT.
- Optionally: to create a new port, click NEW.
- In the port row, in the Adapter Type column, select VMXNET3.
- In the port row, in the Network column, select the subnet that was created via a ticket.
- In the port row, in the IP column, enter an address for the virtual machine from the created subnet
192.168.2.0/24— in the example192.168.2.2. - Click Save.
- If you added a network to a powered-on virtual machine, turn it off and turn it on with recustomization. The network interface and its settings will be added to the virtual machine.
5. Configure routes on the virtual machine
If the public cloud virtual machine is added only to the new subnet, which we created following your ticket request, skip this step.
If the public cloud virtual machine is added not only to the new subnet but also to other public cloud subnets connected to your Edge router, you will need to configure static routes.
The route configuration parameters depend on which gateway you choose as the Default Gateway:
- your (client) Edge router address — in the example
192.168.20.1 - or the service Edge router address — in the example
192.168.2.1
Client Edge router address
Service Edge router address
- From the Control Panel, open the Cloud Director panel: in the top menu, click Products → VMware Cloud → section Cloud Director.
- Open the virtual data center page.
- Go to the Compute → Virtual Machines.
- Open the page of the virtual machine you want to connect to the Global Router.
- Go to the VM Hardware → NICs.
- Click EDIT.
- For the subnet row connected to the client Edge router and not associated with the global router, select the Primary NIC checkbox.
- On the virtual machine, configure static routes to the server subnets and other services connected to the Global Router, via the service Edge router address — in the example
192.168.2.1.
6. Configure static routes on dedicated and cloud servers
If the Global Router is used as the Default Gateway on the cloud and dedicated servers, you do not need to configure routes.
If not, on cloud and dedicated servers connected to the Global Router, configure static routes:
-
as the destination subnet, specify the CIDR of the new public cloud subnet — in the example
192.168.2.0/24; -
as the gateway, specify an address from the subnet that the corresponding server is added to and which is used as the Global Router gateway, in the example:
- for the dedicated server —
192.168.0.1; - for the cloud server —
192.168.1.1.
- for the dedicated server —