Jump toUpdate content

How to use Placement Groups

Reviewed on 26 May 2021Published on 26 May 2021

Placement Groups allow you specify that you want certain Instances to either run on different physical hypervisors for maximum availability, or else as physically close together as possible for minimum latency.

Requirements:

How to create a Placement Group

  1. Click Instances in the Compute section of the side menu. The Instances page displays.

  2. Click the Placement Groups tab. To find the tab you may need to click More at the top right of the dashboard first.

  3. Click Create a Placement Group. The creation wizard displays.

  4. Complete the following steps in the wizard:

    • Enter a Name for your Placement Group, or leave the randomly-generated name in place.
    • Choose an Availability Zone, which is the geographical region where your Placement Group will be created. You can only add Instances from this same Availability Zone to the Placement Group.
    • Choose the Type of Placement Group:
      • Low Latency groups ensure that Instances are located as close as possible to each other
      • Maximum Availability groups ensure that Instances do not run on the same physical hypervisor
    • Choose the Policy for your Placement Group:
      • Enforced means that, if the group cannot be applied, only Instances on hypervisors matching the group settings will boot
      • Optional ensures that the settings of the Placemet Group are applied wherever possible, but lets Instances boot on hypervisors that don’t match the group policy.
    • Add Instances to the Placement Group.
    Important:

    Instances must be powered off to be available to be added to a placement group.

  5. Click Create a Placement Group to finish. Your Placement Group is created and you are returned to the list of your Placement Groups, where your new Placement Group now displays.

How to add Instances to a Placement Group

Important:

Your Instance must be powered off for this action.

  1. Navigate to the Placement Groups tab (via the Instances page accessible from the Compute section of the side menu). A list of your Placement Groups displays.

  2. Click the Placement Group you wish to add Instances to. You are taken to the Overview for that Placement Group.

  3. Click the Instances tab.

  4. Use the drop down menu to select the Instance you want to add, then click Add Instance

You are returned to the list of Instances attached to your Placement Group, where the Instance you added now displays. If you wish to power the Instance you added back on, you can do so by clicking «See more Icon» and selecting Power On from the drop down menu.

Tip:

You can also add an Instance to a Placement Group from the Instances page (accessible by clicking Instances in the Compute section of the console side menu. From there, click the name of the Instance in question, then scroll down to the Placement Groups section of the Instance Overview tab. Click Join a Placement Group and select the Placement Group you want to add the Instance to, confirming your choice when prompted).

How to remove Instances from a Placement Group

  1. Navigate to the Placement Groups tab (via the Instances page accessible from the Compute section of the side menu)

    A list of your Placement Groups displays.

  2. Click the Placement Group you wish to remove Instances from. You are taken to the Overview for that Placement Group.

  3. Click the Instances tab.

  4. Click «See more Icon» next to the Instance you want to remove, then click Remove.

    A pop up displays.
  5. Confirm that you want to remove the Instance by clicking the Remove button.

You are returned to the list of Instances attached to your Placement Group, where the Instance you removed no longer displays.

Tip:

You can also remove an Instance from a Placement Group from the Instances page (accessible by clicking Instances in the Compute section of the console side menu. From there, click the name of the Instance in question, then scroll down to the Placement Groups section of the Instance Overview tab. Click next to the Placement Group you want to remove your Instance from, and select Leave from the drop down menu, confirming your choice when prompted).

How change an Instance’s Placement Group

Important:

Your Instance must be powered off for this action.

  1. Click Instances in the Compute section of the side menu. A list of your Instances displays.

  2. Click the name of the Instance in question. The Instance Overview tab displays.

  3. Scroll down to Placement Groups

  4. Click «See more Icon» next to the Placement Group name, and select Change from the drop down menu. A pop up displays.

  5. Select another Placement Group from the drop down list, then click Save.

Your Instance’s Placement Group is changed, and you are returned to the Instance Overview page. If you wish to power the Instance back on, you can do so using the slider at the top right of the page.

Tip:

You can also remove an Instance from a Placement Group from the Instances page (accessible by clicking Instances in the Compute section of the console side menu. From there, click the name of the Instance in question, then scroll down to the Placement Groups section of the Instance Overview tab. Click next to the Placement Group you want to switch from, and select Switch from the drop down menu. You are prompted to select a different Placement Group, and to confirm your choice.)

How modify a Placement Group’s type

Important:

All Instances within a Placement Group must be powered off for this action.

  1. Navigate to the Placement Groups tab (via the Instances page accessible from the Compute section of the side menu). A list of your Placement Groups displays.

  2. Click the Placement Group in question. You are taken to the Placement Group’s Overview tab.

  3. Scroll down to the Placement Group’s type section, and choose the required type for your group.

The new group type will be applied immediately, and Instances of the group will boot according to the new settings once they are powered back on.

How to modify a Placement Group’s policy

Important:

All Instances within a Placement Group must be powered off for this action.

  1. Navigate to the Placement Groups tab (via the Instances page accessible from the Compute section of the side menu). A list of your Placement Groups displays.

  2. Click the Placement Group in question. You are taken to the Placement Group’s Overview tab.

  3. Scroll down to the Placement Group’s policy section, and choose the required policy for your group.

The new group policy will be applied immediately, and Instances of the group will boot according to the new settings once they are powered back on.

How to delete a Placement Group

Deleting a Placement Group will have no direct impact on the Instances that are attached to it. They will continue to run on their current hypervisors until you reboot them.

  1. Navigate to the Placement Groups tab (via the Instances page accessible from the Compute section of the side menu). A list of your Placement Groups displays.

  2. Click «See more Icon» next to the Placement Group you want to delete, and select Delete from the drop down menu that displays.

    A pop up appears asking you to confirm this action.
  3. Click Delete this Placement Group

You are returned to the list of your Placement Groups, where the group you just deleted no longer displays.

See Also