How to use instance group when the situation is complicated

Hi everyone, I need some help regarding an issue with how to use instance group on Google Cloud Compute Engine.

Here is my situation: our business has a control plane and a data plane.

  • The control plane has many groups of two instances. The two instances within each group cannot share the same host machine, but instances between groups can share the same host machine.
  • The data plane has many groups of two instances. The two instances within each group cannot share the same host machine, but instances between groups can share the same host machine.
  • All instances in the control plane and all instances in the data plane need to be isolated in terms of host machine.

How should I set this up using Google Cloud instance groups with group-placement policy or anything else? Any advice would be greatly appreciated! Thanks in advance!