Skip to content
Live $300 credit for new accounts Valid for 60 days from account creation Get started →

Affinity Groups

Affinity Groups control the placement of VMs on hypervisor hosts within the cloud infrastructure. Use them to co-locate VMs for low-latency communication or spread them across hosts for fault tolerance.

  • From the left-hand menu, click Affinity Groups.
  • Click Create Affinity Groups or the + icon.
  • Choose the Project and Availability Zone.
  • Enter a Name and Description.
  • Select the affinity group type:
TypeBehavior
Host Affinity (Strict)VMs must always run on the same hypervisor host. If not possible, deployment fails.
Host Anti-Affinity (Strict)VMs must always run on different hosts. If not possible, deployment fails.
Host Anti-Affinity (Non-Strict)Prefers different hosts, but allows same host if capacity requires it.
Host Affinity (Non-Strict)Prefers same host, but allows different hosts if needed.
  • Click Submit.