Amazon Parallel Computing Service CreateCluster API
The CreateCluster API from Amazon Parallel Computing Service — 1 operation(s) for createcluster.
The CreateCluster API from Amazon Parallel Computing Service — 1 operation(s) for createcluster.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-parallel-computing-service:amazon-parallel-computing-service-createcluster-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: AWS Parallel Computing Service Createcluster API
version: '2023-02-10'
description: Generated from AWS's published Smithy model for AWS Parallel Computing Service. 1 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://pcs.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#CreateCluster:
post:
operationId: CreateCluster
summary: Create Cluster
description: Creates a cluster in your account. PCS creates the cluster controller in a service-owned account. The cluster
controller communicates with the cluster resources in your account. The subnets and security groups for the cluster
must already exist before you use this API action. It takes time for PCS to create the cluster. The cluster is in
a Creating state until it is ready to use. There can only be 1 cluster in a Creating state per Amazon Web Services
Region per Amazon Web Services account. CreateCluster fails with a ServiceQuotaExceededException if there is already
a cluster in a Creating state.
responses:
'200':
description: Success
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/CreateClusterResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/InternalServerException'
'402':
description: ServiceQuotaExceededException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ServiceQuotaExceededException'
'429':
description: ThrottlingException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- AWSParallelComputingService.CreateCluster
requestBody:
required: true
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/CreateClusterRequest'
tags:
- Createcluster
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: pcs
schemas:
AccessDeniedException:
type: object
properties:
message:
type: string
required:
- message
Accounting:
type: object
properties:
defaultPurgeTimeInDays:
type: integer
description: The default value for all purge settings for slurmdbd.conf. For more information, see the slurmdbd.conf
documentation at SchedMD. The default value for defaultPurgeTimeInDays is -1. A value of -1 means there is no
purge time and records persist as long as the cluster exists. 0 isn't a valid value.
mode:
type: string
enum:
- STANDARD
- NONE
description: The default value for mode is NONE. A value of STANDARD means Slurm accounting is enabled.
required:
- mode
AccountingRequest:
type: object
properties:
defaultPurgeTimeInDays:
type: integer
description: The default value for all purge settings for slurmdbd.conf. For more information, see the slurmdbd.conf
documentation at SchedMD. The default value for defaultPurgeTimeInDays is -1. A value of -1 means there is no
purge time and records persist as long as the cluster exists. 0 isn't a valid value.
mode:
type: string
enum:
- STANDARD
- NONE
description: The default value for mode is NONE. A value of STANDARD means Slurm accounting is enabled.
required:
- mode
CgroupCustomSetting:
type: object
properties:
parameterName:
type: string
description: PCS supports custom Cgroup settings for clusters. For more information, see Configuring custom Cgroup
settings in PCS in the PCS User Guide.
parameterValue:
type: string
description: The values for the configured Cgroup settings.
required:
- parameterName
- parameterValue
Cluster:
type: object
properties:
name:
type: string
description: The name that identifies the cluster.
id:
type: string
description: The generated unique ID of the cluster.
arn:
type: string
description: The unique Amazon Resource Name (ARN) of the cluster.
status:
type: string
enum:
- CREATING
- ACTIVE
- UPDATING
- DELETING
- CREATE_FAILED
- DELETE_FAILED
- UPDATE_FAILED
- SUSPENDING
- SUSPENDED
- RESUMING
description: The provisioning status of the cluster. The provisioning status doesn't indicate the overall health
of the cluster. The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life
and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is
down and all compute instances are terminated. The resources still count toward your service quotas. You can delete
a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions
in PCS in the PCS User Guide.
createdAt:
type: string
description: The date and time the resource was created.
modifiedAt:
type: string
description: The date and time the resource was modified.
scheduler:
$ref: '#/components/schemas/Scheduler'
size:
type: string
enum:
- SMALL
- MEDIUM
- LARGE
description: 'The size of the cluster. SMALL: 32 compute nodes and 256 jobs MEDIUM: 512 compute nodes and 8192 jobs
LARGE: 2048 compute nodes and 16,384 jobs'
slurmConfiguration:
$ref: '#/components/schemas/ClusterSlurmConfiguration'
networking:
$ref: '#/components/schemas/Networking'
endpoints:
type: array
items:
$ref: '#/components/schemas/Endpoint'
description: The list of endpoints available for interaction with the scheduler.
errorInfo:
type: array
items:
$ref: '#/components/schemas/ErrorInfo'
description: The list of errors that occurred during cluster provisioning.
required:
- name
- id
- arn
- status
- createdAt
- modifiedAt
- scheduler
- size
- networking
ClusterSlurmConfiguration:
type: object
properties:
scaleDownIdleTimeInSeconds:
type: integer
description: 'The time (in seconds) before an idle node is scaled down. Default: 600'
slurmCustomSettings:
type: array
items:
$ref: '#/components/schemas/SlurmCustomSetting'
description: Additional Slurm-specific configuration that directly maps to Slurm settings.
slurmdbdCustomSettings:
type: array
items:
$ref: '#/components/schemas/SlurmdbdCustomSetting'
description: Additional SlurmDBD-specific configuration that directly maps to SlurmDBD settings.
cgroupCustomSettings:
type: array
items:
$ref: '#/components/schemas/CgroupCustomSetting'
description: Additional Cgroup-specific configuration that directly maps to Cgroup settings.
authKey:
$ref: '#/components/schemas/SlurmAuthKey'
jwtAuth:
$ref: '#/components/schemas/JwtAuth'
accounting:
$ref: '#/components/schemas/Accounting'
slurmRest:
$ref: '#/components/schemas/SlurmRest'
ClusterSlurmConfigurationRequest:
type: object
properties:
scaleDownIdleTimeInSeconds:
type: integer
description: 'The time (in seconds) before an idle node is scaled down. Default: 600'
slurmCustomSettings:
type: array
items:
$ref: '#/components/schemas/SlurmCustomSetting'
description: Additional Slurm-specific configuration that directly maps to Slurm settings.
slurmdbdCustomSettings:
type: array
items:
$ref: '#/components/schemas/SlurmdbdCustomSetting'
description: Additional SlurmDBD-specific configuration that directly maps to SlurmDBD settings.
cgroupCustomSettings:
type: array
items:
$ref: '#/components/schemas/CgroupCustomSetting'
description: Additional Cgroup-specific configuration that directly maps to Cgroup settings.
accounting:
$ref: '#/components/schemas/AccountingRequest'
slurmRest:
$ref: '#/components/schemas/SlurmRestRequest'
ConflictException:
type: object
properties:
message:
type: string
resourceId:
type: string
description: The unique identifier of the resource that caused the conflict exception.
resourceType:
type: string
description: The type or category of the resource that caused the conflict exception."
required:
- message
- resourceId
- resourceType
CreateClusterRequest:
type: object
properties:
clusterName:
type: string
description: 'A name to identify the cluster. Example: MyCluster'
scheduler:
$ref: '#/components/schemas/SchedulerRequest'
size:
type: string
enum:
- SMALL
- MEDIUM
- LARGE
description: 'A value that determines the maximum number of compute nodes in the cluster and the maximum number
of jobs (active and queued). SMALL: 32 compute nodes and 256 jobs MEDIUM: 512 compute nodes and 8192 jobs LARGE:
2048 compute nodes and 16,384 jobs'
networking:
$ref: '#/components/schemas/NetworkingRequest'
slurmConfiguration:
$ref: '#/components/schemas/ClusterSlurmConfigurationRequest'
clientToken:
type: string
description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency
ensures that an API request completes only once. With an idempotent request, if the original request completes
successfully, the subsequent retries with the same client token return the result from the original successful
request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically
generate one for you.
tags:
type: object
additionalProperties:
type: string
description: 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is
optional and can be an empty string.
required:
- clusterName
- scheduler
- size
- networking
CreateClusterResponse:
type: object
properties:
cluster:
$ref: '#/components/schemas/Cluster'
Endpoint:
type: object
properties:
type:
type: string
enum:
- SLURMCTLD
- SLURMDBD
- SLURMRESTD
description: Indicates the type of endpoint running at the specific IP address.
privateIpAddress:
type: string
description: 'For clusters that use IPv4, this is the endpoint''s private IP address. Example: 10.1.2.3 For clusters
configured to use IPv6, this is an empty string.'
publicIpAddress:
type: string
description: 'The endpoint''s public IP address. Example: 192.0.2.1'
ipv6Address:
type: string
description: 'The endpoint''s IPv6 address. Example: 2001:db8::1'
port:
type: string
description: 'The endpoint''s connection port number. Example: 1234'
required:
- type
- privateIpAddress
- port
ErrorInfo:
type: object
properties:
code:
type: string
description: The short-form error code.
message:
type: string
description: The detailed error information.
InternalServerException:
type: object
properties:
message:
type: string
required:
- message
JwtAuth:
type: object
properties:
jwtKey:
$ref: '#/components/schemas/JwtKey'
JwtKey:
type: object
properties:
secretArn:
type: string
description: The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the JWT
key.
secretVersion:
type: string
description: The version of the Amazon Web Services Secrets Manager secret containing the JWT key.
required:
- secretArn
- secretVersion
Networking:
type: object
properties:
subnetIds:
type: array
items:
type: string
description: 'The ID of the subnet where PCS creates an Elastic Network Interface (ENI) to enable communication
between managed controllers and PCS resources. The subnet must have an available IP address, cannot reside in
Outposts, Wavelength, or an Amazon Web Services Local Zone. Example: subnet-abcd1234'
securityGroupIds:
type: array
items:
type: string
description: 'The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
The following rules are required: Inbound rule 1 Protocol: All Ports: All Source: Self Outbound rule 1 Protocol:
All Ports: All Destination: 0.0.0.0/0 (IPv4) or ::/0 (IPv6) Outbound rule 2 Protocol: All Ports: All Destination:
Self'
networkType:
type: string
enum:
- IPV4
- IPV6
description: The IP address version the cluster uses. The default is IPV4.
NetworkingRequest:
type: object
properties:
subnetIds:
type: array
items:
type: string
description: The list of subnet IDs where PCS creates an Elastic Network Interface (ENI) to enable communication
between managed controllers and PCS resources. Subnet IDs have the form subnet-0123456789abcdef0. Subnets can't
be in Outposts, Wavelength or an Amazon Web Services Local Zone. PCS currently supports only 1 subnet in this
list.
securityGroupIds:
type: array
items:
type: string
description: A list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.
networkType:
type: string
enum:
- IPV4
- IPV6
description: The IP address version the cluster uses. The default is IPV4.
Scheduler:
type: object
properties:
type:
type: string
enum:
- SLURM
description: The software PCS uses to manage cluster scaling and job scheduling.
version:
type: string
description: 'The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling.
You can update this version using the UpdateCluster API action. For more information, see Updating the scheduler
version on a cluster and Slurm versions in PCS in the PCS User Guide. Valid Values: 23.11 | 24.05 | 24.11 | 25.05
| 25.11 | 26.05'
required:
- type
- version
SchedulerRequest:
type: object
properties:
type:
type: string
enum:
- SLURM
description: The software PCS uses to manage cluster scaling and job scheduling.
version:
type: string
description: 'The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling.
For more information, see Slurm versions in PCS in the PCS User Guide. Valid Values: 24.11 | 25.05 | 25.11 | 26.05'
required:
- type
- version
ServiceQuotaExceededException:
type: object
properties:
message:
type: string
serviceCode:
type: string
description: The service code associated with the quota that was exceeded.
resourceId:
type: string
description: The unique identifier of the resource that caused the quota to be exceeded.
resourceType:
type: string
description: The type or category of the resource that caused the quota to be exceeded.
quotaCode:
type: string
description: The quota code of the service quota that was exceeded.
required:
- message
- serviceCode
SlurmAuthKey:
type: object
properties:
secretArn:
type: string
description: The Amazon Resource Name (ARN) of the shared Slurm key.
secretVersion:
type: string
description: The version of the shared Slurm key.
required:
- secretArn
- secretVersion
SlurmCustomSetting:
type: object
properties:
parameterName:
type: string
description: PCS supports custom Slurm settings for clusters, compute node groups, and queues. For more information,
see Configuring custom Slurm settings in PCS in the PCS User Guide.
parameterValue:
type: string
description: The values for the configured Slurm settings.
required:
- parameterName
- parameterValue
SlurmRest:
type: object
properties:
mode:
type: string
enum:
- STANDARD
- NONE
description: The default value for mode is NONE. A value of STANDARD means the Slurm REST API is enabled.
required:
- mode
SlurmRestRequest:
type: object
properties:
mode:
type: string
enum:
- STANDARD
- NONE
description: The default value for mode is NONE. A value of STANDARD means the Slurm REST API is enabled.
required:
- mode
SlurmdbdCustomSetting:
type: object
properties:
parameterName:
type: string
description: PCS supports custom SlurmDBD settings for clusters. For more information, see Configuring custom SlurmDBD
settings in PCS in the PCS User Guide.
parameterValue:
type: string
description: The values for the configured SlurmDBD settings.
required:
- parameterName
- parameterValue
ThrottlingException:
type: object
properties:
message:
type: string
retryAfterSeconds:
type: integer
description: The number of seconds to wait before retrying the request.
required:
- message
ValidationException:
type: object
properties:
message:
type: string
reason:
type: string
enum:
- unknownOperation
- cannotParse
- fieldValidationFailed
- other
description: The specific reason or cause of the validation error.
fieldList:
type: array
items:
$ref: '#/components/schemas/ValidationExceptionField'
description: A list of fields or properties that failed validation.
required:
- message
- reason
ValidationExceptionField:
type: object
properties:
name:
type: string
description: The name of the exception.
message:
type: string
description: The message body of the exception.
required:
- name
- message
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/pcs/service/2023-02-10/pcs-2023-02-10.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)