This task explains how to create the Controller virtual machine from GCP console.

To create the Controller virtual machine from GCP console:

Procedure

  1. From the GCP Console, navigate to Compute Engine > VM instances.
  2. Click CREATE INSTANCE.
  3. Enter the Name.
  4. Select the Region and Zone where the virtual machine has to be created.
  5. Under Machine configuration section, select the Series and Machine type. This depends on the scale required. A minimum of n1-standard-8 is recommended. The series and the machine type varies for different machines types.
  6. Click ENABLE button to enable confidential computing on VM instance.
  7. Click DEPLOY CONTAINER to deploy a container image to this VM instance.
  8. Under Boot disk, click CHANGE to configure the boot disk details.
    1. In thePUBLIC IMAGES tab, enter the operating system, version, boot disk types and disk size details. Select SSD persistent disk as the Boot disk type with a minimum of 128 GB disk space.
    2. In the CUSTOM IMAGES tab and select the image that was created in the above section Creating the NSX Advanced Load Balancer Controller Image.
  9. Click Select to save the configuration.
  10. Under Identity and API Access, select a Service account to be attached to the VM, using which the NSX Advanced Load Balancer Controller authenticates GCP for API access.
    Note:

    If you do not want to add the service account to the virtual machine, then service account’s JSON key can be added to the NSX Advanced Load Balancer Cloud later. See Authentication section for more details.

  11. Under Firewall, add the GCP Firewall target tags created to allow traffic from the SE to the Controller and the clients accessing the Controller. By default all incoming traffic from outside a network is blocked. Select the type of network traffic you want to allow.
  12. Under Advanced options, select Networking.
    1. Select Hostname and network interfaces.
    2. Check Enable box to enable IP forwarding. This allows the instance to help route packets.
    3. Select Network interface card option from the drop-down list.
    4. Check Network bandwidth checkbox to increase total egress bandwidth.
    5. Click Network Interfaces. Each VM instance can have one to eight network interfaces. Networks without subnetworks do not support instances with multiple network interfaces. Select the VPC network and subnet in which the Controller should be created.
    6. Select the IP stack type.
    Note:

    The VPC can be in another project and is shared with this Controller project.

  13. Specify Shielded VM and SSH keys in Security section.
  14. Specify the Description, deletion protection, reservations, automation, and availability policies in Management section.
  15. Specify Node affinity labels and CPU overcommit in Sole-tenancy section.
  16. Click Create.

Results

The Controller virtual machine must be up in a few minutes.