Create an Affinity Group

On the main menu of ZStack Cloud, choose Resource Center > Resource Pool > Resource Service > Affinity Group. On the Affinity Group page, click Create Affinity Group. Then, the Create Affinity Group page is displayed.

On the displayed page, set the following parameters:
  • Name: Enter a name for the affinity group.
  • Description: Optional. Enter a description for the affinity group.
  • Policy: Select an affinity group policy.
    ZStack Cloud provides two affinity group policies to better manage VM instances and hosts:
    • Anti-affinity group (soft):

      Allocates VM instances in the affinity group to different hosts as much as possible. If no more hosts are available, the VM instances will be allocated randomly.

    • Anti-affinity group (hard):

      Strictly allocates VM instances in the affinity group to different hosts. If no more hosts are available, the allocation fails.

Figure 1. Create Affinity Group