Creating instance groups
Create two unmanaged instance groups in ZONE_1 and ZONE_2. Each group will contain the FortiGate instance from the respective zone.
To create instance groups:
- Create an unmanaged instance group:
gcloud compute instance-groups unmanaged create fgt-umig1--zone=$ZONE1
- Add a VM instance to the instance group:
gcloud compute instance-groups unmanaged add-instances fgt-umig1 \ --instances=example-vm-fgt1 \ --zone=ZONE_1
- Repeat steps 1 and 2 for the second zone.