I am exploring managed instance groups on GCP, and I am trying to create a multi-zone (regional) MIG. However, it always selects the default network, and I don't see any way to change it (I know it can change if the MIG is zonal). Is it possible to use a custom network with a regional MIG, or is that just a current limitation that it always needs to use the default?
1 Answer
First you will need to create the VPC Network and set its dynamic routing mode to Global.
Then simple while Creating an instance group, select Create New Instance Template under Instance Template and while setting the instance template choose the created network under the Networking section
.
-
Hi, that works for single-zone MIGs. My issue is with multi-zone MIGs. They are always grayed out.– zzenonnJul 6, 2021 at 13:30
-
You were right, I have updated my answer with the multiple zones setup in the configuration. And I have not found any issue. Could you share a screenshot and or the full configuration?– PitJul 6, 2021 at 16:34