SkyportDOCS
·
FREN Open console Create an account

Server groups

Updated November 23, 2026

What it is for

Your instances run on hosts: the physical machines in our data centre. If two copies of your application are on the same host and that host fails, both stop. A server group says where to place your instances relative to each other.

An example#

You have two web servers, web-1 and web-2, that take over from each other. You put them in an Anti-affinity group: Skyport places them on two different hosts. If one host stops, the other server keeps answering.

Policies#

PolicyEffectWhen to use it
Anti-affinityA different host per instance. Creation fails when no free host is left.Several copies of the same service, which must not fail together.
Soft anti-affinityDifferent hosts when possible; otherwise creation goes ahead anyway.The same, when you would rather the instance is created regardless.
AffinityEvery instance on the same host. Creation fails when that host is full.Instances that exchange a lot of data with each other.
Soft affinityThe same host when possible; otherwise creation goes ahead anyway.The same, with no risk of failure.

Create a group and place instances in it#

  1. In the menu, choose Compute › Server groups, then Create a group.
  2. Give it a name, for example web-spread, choose the Policy, then Create the group.
  3. Create your instances: in the wizard's Placement step, choose this group under Server group.
New server group.New server group.
New server group.
  1. Name: for example web-spread.
  2. Policy: see the table above.
  3. Create the group.

What you should see

The group's Members column counts your instances. Each one is placed according to the chosen policy.

An instance joins a group when it is created only: an existing instance cannot be added later. Deleting a group does not touch its instances: they keep running where they are, only the placement rule goes away.