This task explains how to create the Controller virtual machine from GCP console.
To create the Controller virtual machine from GCP console:
Procedure
- From the GCP Console, navigate to Compute Engine > VM instances.
- Click CREATE INSTANCE.
- Enter the Name.
- Select the Region and Zone where the virtual machine has to be created.
- 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.
- Click ENABLE button to enable confidential computing on VM instance.
- Click DEPLOY CONTAINER to deploy a container image to this VM instance.
- Under Boot disk, click CHANGE to configure the boot disk details.
- 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.
- In the CUSTOM IMAGES tab and select the image that was created in the above section Creating the NSX Advanced Load Balancer Controller Image.
- Click Select to save the configuration.
- 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.
- 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.
- Under Advanced options, select Networking.
- Select Hostname and network interfaces.
- Check Enable box to enable IP forwarding. This allows the instance to help route packets.
- Select Network interface card option from the drop-down list.
- Check Network bandwidth checkbox to increase total egress bandwidth.
- 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.
- Select the IP stack type.
Note:The VPC can be in another project and is shared with this Controller project.
- Specify Shielded VM and SSH keys in Security section.
- Specify the Description, deletion protection, reservations, automation, and availability policies in Management section.
- Specify Node affinity labels and CPU overcommit in Sole-tenancy section.
- Click Create.
Results
The Controller virtual machine must be up in a few minutes.