post https://api.linode.com//placement/groups
Creates a placement group on your account. Placement groups disperse your compute instances across physical machines (hosts) in one of our compute regions. Depending on your workload requirements, you may need your compute instances to follow specific strategies:
- Grouped together. You may want them placed close together to reduce latency between compute instances that are used for an application or workload.
- Spread apart. You may want to disperse them across several hosts to support high availability, for example when required for failover.
- For this request to complete successfully, your user needs to have the
add_placement
grant.- We offer an example API workflow you can follow to create a placement group.
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>