---
title: "Anti-Affinity: ensure your instances run on different Hypervisors."
description: "Anti-Affinity Groups | Exoscale Cloud Hosting Blog"
date: 2015-04-14
url: https://www.exoscale.com/blog/anti-affinity/
---
# Anti-Affinity: ensure your instances run on different Hypervisors.

![anti-affinity cover](https://www.exoscale.com/blog/anti-affinity/anti-affinity.png)

Anti-Affinity groups let you specify which instances should run on separate hosts. In case of a HA cluster for example you may wish to keep your instances on separate hypervisors to ensure a more reliable fault tolerance.

### How it works

Create an Anti-Affinity group through the console. Now whenever you create a new instance you may assign it to a group.
Instances in a given anti-affinity group are all spawned on different hypervisors.

![anti-affinity demo](https://www.exoscale.com/blog/anti-affinity/anti-affinity-demo.gif)

