Deploying a connector on Google Cloud Platform

You can deploy a connector in the Google Cloud Platform (GCP) environment during the network creation process. You must create a Linux virtual machine (VM) on GCP on which you install the network connector.

Steps: Install a Linux VM

  1. Navigate to GCP and access Compute Engine > Virtual Machines > VM Instances.
  2. Click Create Instance.
  3. Enter the VM parameters.

NameThe name you assign to the VM.
RegionA specific geographical location where your VM is run.
ZoneDetermines what computing resources are available, and where your data is stored and used.
Machine familyThe types of VMs for common workloads, optimized for cost and flexibility.
SeriesThe CPU platform series.
Machine typeThe VM vCPU and memory type.
CPU platformThe microarchitecture of your VM instance.
ContainerDeploy a container to this VM instance by using a container-optimized OS image.
Boot diskEach instance requires a disk to boot from.
SSH KeysAllow access to this instance via SSH.
HostnameThe VM instance hostname.
NetworkThe network determines what network traffic the instance can access.
SubnetworkAssigns an IPv4 address to the instance from the subnetwork range.
Note: This subnetwork must be the same as the Network Subnet in the OpenVPN Cloud administration portal.
Primary internal IPFor ephemeral, restarting an instance won't change its internal IP, but deleting and recreating an instance will.
External IPAn external IP address associated with this instance. Select an unused static IP address or choose Ephemeral to use an IP from a shared ephemeral IP address pool. Selecting None results in the instance having no external internet access.
IP forwardingIP forwarding must be enabled.
IP forwarding allows the instance to help route packets.
  1. Click Create.
  2. Click the Select Linux Distribution dropdown and select the distribution that you want to install the connector on.
  1. Copy the commands shown for your terminal.
  2. Connect to your GCP VM through SSH and paste the commands.
    • Select Yes for each prompt.
    • Once the installation completes, a setup token prompt displays.
  3. In the OpenVPN Cloud administration portal, click Generate Token and click to copy the token.
  4. Access your Linux terminal and paste the token.
    • The utility imports the connector profile and connects to OpenVPN Cloud.