Documentation Index
Fetch the complete documentation index at: https://docs.xloud.tech/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Server groups enforce placement policies that determine how a set of instances is distributed across physical compute hosts. Use server groups to guarantee high availability through host separation, improve performance through co-location, or meet compliance requirements for workload isolation.Prerequisites
- An active Xloud project
- At least two compute hosts available (required for
anti-affinityenforcement) - Sufficient server group quota
Placement Policies
| Policy | Behavior | Failure Mode |
|---|---|---|
| affinity | All instances placed on the same physical host | Launch fails if the target host cannot accommodate the instance |
| anti-affinity | Each instance placed on a different physical host | Launch fails if insufficient distinct hosts are available |
| soft-affinity | Prefer the same host; allow different hosts if required | Launch succeeds even when co-location is not possible |
| soft-anti-affinity | Prefer different hosts; allow same host if no alternative exists | Launch succeeds even when distinct hosts are unavailable |
Create a Server Group
- Dashboard
- CLI
Navigate to Server Groups
Navigate to Compute > Server Groups in the sidebar.
Click Create Server Group.
Configure the server group
| Field | Type | Required | Description |
|---|---|---|---|
| Name | Text input | Yes | Human-readable name for the group |
| Policy | Dropdown | Yes | Placement policy — see the table above |
affinity— instances on same physical machine (mandatory)anti-affinity— instances on different machines (mandatory)soft-affinity— same machine preferred (best effort)soft-anti-affinity— different machines preferred (best effort)
View Server Groups
- Dashboard
- CLI
Navigate to Compute > Server Groups. The list shows:
Filter by Name or Policy using the search/filter bar.Click a group name to view the detail page, which shows the Members tab
listing all instances assigned to this server group.
| Column | Description |
|---|---|
| ID/Name | Group identifier (clickable to view details) |
| Member Count | Number of instances in the group |
| Policy | Placement policy |
Launch Instances in a Server Group
- Dashboard
- CLI
When creating an instance, expand the Advanced Options section in Step 3
(System Config) of the wizard. Select your server group from the Server Group
table.Alternatively, from the server group detail page, click the Create Instance
action in the More dropdown. The server group is pre-selected in the wizard.
Delete a Server Group
- Dashboard
- CLI
Navigate to Compute > Server Groups. Click the Delete action (the first
row action) on the group row. Confirm the deletion in the dialog.
Deleting a server group removes the placement constraint. Existing instances
are not affected, but new launches will no longer enforce the policy.
Next Steps
Launch an Instance
Create instances with server group placement in the 4-step wizard
Availability Zones
Understand fault domains and zone-level placement
Live Migration
Move instances between hosts while respecting group policies
Troubleshooting
Resolve placement failures and group member limit issues