Deploying the primary FortiGate-VM instance
- Go to Compute Engine > VM Instances. Click CREATE INSTANCE.
- Configure the instance settings:
- In the Name field, enter the desired name.
- From the Region dropdown list, select the region where you created your VPC networks in Creating VPC networks.
- From the Zone dropdown list, select a zone within the chosen region. You must deploy both FortiGates in the same region and zone.
- From the Machine type dropdown list, select the number of vCPUs for this instance. This should match the FortiGate license and be a minimum of four vcPUs so that the instance supports four vNICs.
- Under Boot disk, click Change.
- On the Custom images tab, select the newly created image. Click Select.
- Click to expand Management, security, disks, networking, sole tenancy, then click Networking.
- Configure the unprotected network:
- Click the edit icon for the interface already created for the instance.
- From the Network dropdown list, select the unprotected network. Your subnet is automatically populated.
- From the External IP dropdown list, select Create IP address.
- In the Name field, enter a name for the IP address, then click RESERVE.
- From the IP Forwarding dropdown list, select On.
- Click Done.
- Configure the protected network:
- Click Add network interface.
- From the Network dropdown list, select the protected network.
- From the External IP dropdown list, select None.
- Click Done.
- Configure the HA network:
- Click Add network interface.
- From the Network dropdown list, select the HA network.
- From the External IP dropdown list, select None.
- Click Done.
- Configure the management network. For A-P HA to properly manage IP addresses and route tables, the HA cluster must have a public IP address assigned to the HA mgmt interface. Without this configuration, failover does not complete successfully and results in failure of the cluster:
- Click Add network interface.
- From the Network dropdown list, select the management network.
- From the External IP dropdown list, select Ephemeral.
- Click Done.
You cannot add interfaces to an instance after creating it. If you create the instance with an improper interface configuration, you must destroy the instance and recreate it with the proper interface configuration.
- After configuring all elements, click Create.