Creates a placement group on your account. Placement groups disperse your Linodes across physical machines (hosts) in one of our compute regions. Depending on your workload requirements, you may need your Linodes to follow specific strategies:
-
Grouped-together model. You may want them placed close together to reduce latency between Linodes that are used for an application or workload. Affinity placement groups follow this model.
-
Spread-apart model. You may want to disperse them across several hosts to support high availability, for example when required for failover. Anti-affinity placement groups follow this model.
To run this operation, your user needs the add_linodes grant. Talk to your local account administrator about grant management for your user.
There's a tutorialWe offer an example API workflow you can follow to create a placement group and add Linodes to it.
linode-cli placement group-create \
--label PG_Miami_failover \
--region us-mia \
--placement_group_type "anti-affinity:local" \
--placement_group_policy strict
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>linodes:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>