Manage global networks and subnets
There are two types of networks specific to the integration with Google Cloud Platform (GCP). These networks are global networks and their subnets. Global networks are private VPC networks that span different regions. So each global network may be available in different cloud locations. When you onboard or synchronize a region, the platform will update all global networks and all the subnets from the synchronized region.
To be able to deploy a VM in the Google Cloud Platform, you must add an IP in a subnet of a global network, and this means that each virtual datacenter must have a subnet. To correctly deploy VMs with automatically selected IP addresses, add the subnet as the default network of the virtual datacenter.
Create a global network
To create a global network:
Privileges: Manage global networks
Go to myCloud virtual datacenters view
Click the globe Global section button
From this section, you can onboard or synchronize the Global networks in a selected region, and their subnets.
Select Google Cloud Platform
On the Global networks page, click the + add button and complete the dialog
For Routing mode, select REGIONAL or GLOBAL. For GCP documentation, see Cloud Router overview | Google Cloud
To automatically create subnets in all regions of Google Cloud Platform, select Automatic subnet creation. This option is recommended for test environments only. The subnets will have an address in CIDR notation of 10.172.0.0/20
To onboard the subnet for a region synchronize the global network and select the region.
Create a subnet
To be able to deploy VMs in Google Cloud Platform, you will need to add private subnet IP addresses to your VMs. To obtain these IP addresses, create subnets of your global networks, and assign them to your virtual datacenters.
You can set a subnet as the default network to automatically create IP addresses if the user does not create a VM network configuration.
To create a custom mode subnet:
Privileges: Manage global networks
Go to myCloud virtual datacenters view → Global
Select the Google provider
Select a global network
Go to the Subnets page, click the + add button, and complete the dialog
The Location is the public cloud region where the platform will store the subnet's metadata
To use IPs from this subnet in a virtual datacenter, select the virtual datacenter.
In order to deploy a VM, you must have at least one subnet assigned to your virtual datacenterSelect the Purpose:
Private: for private networks
Internal HTTPS loadbalancer: for internal load balancers
Private service connect: for access to Google Cloud services through a private network
Regional managed proxy: for internal and regional external load balancers.
Select Enable flow logs to sample network traffic and store it in cloud provider logs
Select Private services access to enable your VMs to connect with provider or third party networks with services through subnet addresses
Select Default virtual datacenter subnet to enable users to deploy VMs with automatically assigned IP addresses
Click Save
Create IP addresses in a subnet
Abiquo will automatically create IP addresses in the default subnet, but you can also create them manually. You must use IP addresses within the Subnet CIDR. When you create multiple IP addresses, they will be ephemeral IPs in GCP, which means they will not persist when you undeploy or stop the VM. When you create a single IP, it can be an ephemeral IP or a static IP with a Name. The platform will include the name in the provider ID.
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved