| Did this page help you? Yes No Tell us about it... |
Creates a placement group that you launch cluster instances into. You must give the group a name unique within the scope of your account. For more information about placement groups and cluster instances, go to Using Cluster Instances in the Amazon Elastic Compute Cloud User Guide.
| Name | Description | Required |
|---|---|---|
|
|
A name for the placement group. Type: string Default: None |
Yes |
|
|
The placement group strategy. Type: string Valid Values: |
Yes |
The elements in the following table are wrapped in a
CreatePlacementGroupResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if the request succeeds. Otherwise, returns an error. Type: xsd:boolean |
This example creates a placement group named XYZ-cluster.
https://ec2.amazonaws.com/?Action=CreatePlacementGroup &GroupName=XYZ-cluster &Strategy=cluster &AUTHPARAMS
<CreatePlacementGroupResponse xmlns="http://ec2.amazonaws.com/doc/2012-04-01/"> <requestId>d4904fd9-82c2-4ea5-adfe-a9cc3EXAMPLE</requestId> <return>true</return> </CreatePlacementGroupResponse>