Home ACE ACE Affinity Groups

ACE Affinity Groups

Last updated on Jul 30, 2025

Description

To further reduce fault tolerance, running multiple instances serving your application/ service together with the load balancer feature provided from the virtual router in ACE, is recommended. In case you have multiple servers running your services, you can assign instances to an Affinity group in ACE.

Affinity groups control VM placement by defining whether instances should run together (affinity) or apart (anti-affinity). Strict rules enforce hard placement—VMs must follow the rule or fail to deploy—while non-strict rules act as preferences that the scheduler will try to honor but may override for availability. Use strict settings when placement is critical (e.g., redundant services on separate hosts), and non-strict when flexibility or uptime takes priority.

Tip! Affinity groups can be attached to instances while creating the instance. You can change an Affinity group of an existing instance from the Instance Details tab. Make sure to stop the instance before changing the Affinity group.

Adding New Affinity Groups

  1. From the left menu choose Compute > Affinity Groups, click Add new Affinity Group.

  2. Provide a name, optionally the description and choose affinity type.

Adding Affinity Group to an Instance that has Already Been Built

  1. From the left menu choose Compute > Instances, click on the instance name.

  2. Stop the instance, by clicking on Stop instance from the top right options.

  3. Click on Change Affinity, from the top right options.

  4. Select the Affinity group and confirm by clicking OK.

  5. Make sure to start up your instance again.