Creating an unmanaged instance group and load balancer
To create an unmanaged instance group:
- Go to Compute Engine > Instance groups > New unmanaged instance group.
- From the Region and Zone dropdown lists, select the same region and zone that the mirrored recipient, in this case the FortiGate-VM, is in.
- From the Network dropdown list, select the FortiGate-VM external VPC network.
- From the Subnetwork dropdown list, select the subnet in the external VPC where the FortiGate-VM interface is.
- From the VM instances dropdown list, select the FortiGate-VM.
- Click Create.
To create a health check:
- Go to Compute Engine > Instance groups > Health checks.
- From the Protocol dropdown list, select TCP.
- In the Port field, enter 22.
- In the Check interval and Timeout fields, enter 5.
The health check fails unless you add a firewall rule to allow the following IP address ranges: 130.211.0.0/22 and 35.191.0.0/16. |
To create an internal load balancer for the packet mirroring policy:
- Go to NETWORKING > Network services > Load balancing > Create load balancer.
- Under TCP Load Balancing, click Start configuration.
- Under Internet facing or internal only, select Only between my VMs.
- Under Multiple regions or single region, select Single region only.
- Click Continue.
- Complete backend configuration:
- From the Region dropdown list, select the same region as the FortiGate-VM and instance group.
- From the Network dropdown list, select the mirror VPC.
- From the Health check dropdown list, select the health check that you created.
- Complete frontend configuration:
- From the Subnetwork dropdown list, select the mirror subnet.
- Under Advanced options, select Enable this load balancer for packet mirroring.
- Click Done.
- Click Create.