CreateCluster
Important
End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers.
For more information, visit this blog post
Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.
Request Syntax
{
"AddressId": "string
",
"Description": "string
",
"ForceCreateJobs": boolean
,
"ForwardingAddressId": "string
",
"InitialClusterSize": number
,
"JobType": "string
",
"KmsKeyARN": "string
",
"LongTermPricingIds": [ "string
" ],
"Notification": {
"DevicePickupSnsTopicARN": "string
",
"JobStatesToNotify": [ "string
" ],
"NotifyAll": boolean
,
"SnsTopicARN": "string
"
},
"OnDeviceServiceConfiguration": {
"EKSOnDeviceService": {
"EKSAnywhereVersion": "string
",
"KubernetesVersion": "string
"
},
"NFSOnDeviceService": {
"StorageLimit": number
,
"StorageUnit": "string
"
},
"S3OnDeviceService": {
"FaultTolerance": number
,
"ServiceSize": number
,
"StorageLimit": number
,
"StorageUnit": "string
"
},
"TGWOnDeviceService": {
"StorageLimit": number
,
"StorageUnit": "string
"
}
},
"RemoteManagement": "string
",
"Resources": {
"Ec2AmiResources": [
{
"AmiId": "string
",
"SnowballAmiId": "string
"
}
],
"LambdaResources": [
{
"EventTriggers": [
{
"EventResourceARN": "string
"
}
],
"LambdaArn": "string
"
}
],
"S3Resources": [
{
"BucketArn": "string
",
"KeyRange": {
"BeginMarker": "string
",
"EndMarker": "string
"
},
"TargetOnDeviceServices": [
{
"ServiceName": "string
",
"TransferOption": "string
"
}
]
}
]
},
"RoleARN": "string
",
"ShippingOption": "string
",
"SnowballCapacityPreference": "string
",
"SnowballType": "string
",
"TaxDocuments": {
"IND": {
"GSTIN": "string
"
}
}
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- AddressId
-
The ID for the address that you want the cluster shipped to.
Type: String
Length Constraints: Fixed length of 40.
Pattern:
ADID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Required: Yes
- Description
-
An optional description of this specific cluster, for example
Environmental Data Cluster-01
.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
.*
Required: No
- ForceCreateJobs
-
Force to create cluster when user attempts to overprovision or underprovision a cluster. A cluster is overprovisioned or underprovisioned if the initial size of the cluster is more (overprovisioned) or less (underprovisioned) than what needed to meet capacity requirement specified with
OnDeviceServiceConfiguration
.Type: Boolean
Required: No
- ForwardingAddressId
-
This field is not supported in your region.
Type: String
Length Constraints: Fixed length of 40.
Pattern:
ADID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Required: No
- InitialClusterSize
-
If provided, each job will be automatically created and associated with the new cluster. If not provided, will be treated as 0.
Type: Integer
Valid Range: Minimum value of 0. Maximum value of 16.
Required: No
- JobType
-
The type of job for this cluster. Currently, the only job type supported for clusters is
LOCAL_USE
.For information about Snowball Edge device types, Device hardware information in the Snowball Edge Developer Guide.
Type: String
Valid Values:
IMPORT | EXPORT | LOCAL_USE
Required: Yes
- KmsKeyARN
-
The
KmsKeyARN
value that you want to associate with this cluster.KmsKeyARN
values are created by using the CreateKey API action in AWS Key Management Service (AWS KMS).Type: String
Length Constraints: Maximum length of 255.
Pattern:
arn:aws.*:kms:.*:[0-9]{12}:key/.*
Required: No
- LongTermPricingIds
-
Lists long-term pricing id that will be used to associate with jobs automatically created for the new cluster.
Type: Array of strings
Length Constraints: Fixed length of 41.
Pattern:
LTPID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Required: No
- Notification
-
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
Type: Notification object
Required: No
- OnDeviceServiceConfiguration
-
Specifies the service or services on the Snowball Edge device that your transferred data will be exported from or imported into. AWS Snowball Edge device clusters support Amazon S3 and NFS (Network File System).
Type: OnDeviceServiceConfiguration object
Required: No
- RemoteManagement
-
Allows you to securely operate and manage Snow devices in a cluster remotely from outside of your internal network. When set to
INSTALLED_AUTOSTART
, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.Type: String
Valid Values:
INSTALLED_ONLY | INSTALLED_AUTOSTART | NOT_INSTALLED
Required: No
- Resources
-
The resources associated with the cluster job. These resources include Amazon S3 buckets and optional AWS Lambda functions written in the Python language.
Type: JobResource object
Required: No
- RoleARN
-
The
RoleARN
that you want to associate with this cluster.RoleArn
values are created by using the CreateRole API action in AWS Identity and Access Management (IAM).Type: String
Length Constraints: Maximum length of 255.
Pattern:
arn:aws.*:iam::[0-9]{12}:role/.*
Required: No
- ShippingOption
-
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:
-
In Australia, you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
-
In India, Snow devices are delivered in one to seven days.
-
In the United States of America (US), you have access to one-day shipping and two-day shipping.
-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
-
In India, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
Type: String
Valid Values:
SECOND_DAY | NEXT_DAY | EXPRESS | STANDARD
Required: Yes
-
- SnowballCapacityPreference
-
If your job is being created in one of the US regions, you have the option of specifying what size Snow device you'd like for this job. In all other regions, Snowballs come with 80 TB in storage capacity.
For information about Snowball Edge device types, see Device hardware information in the Snowball Edge Developer Guide.
Type: String
Valid Values:
T50 | T80 | T100 | T42 | T98 | T8 | T14 | T32 | NoPreference | T240 | T13
Required: No
- SnowballType
-
The type of Snow Family devices to use for this cluster.
Note
For cluster jobs, AWS Snowball Edge currently supports only the
EDGE
device type.For information about Snowball Edge device types, see Device hardware information in the Snowball Edge Developer Guide.
Type: String
Valid Values:
STANDARD | EDGE | EDGE_C | EDGE_CG | EDGE_S | SNC1_HDD | SNC1_SSD | V3_5C | V3_5S | RACK_5U_C
Required: Yes
- TaxDocuments
-
The tax documents required in your AWS Region.
Type: TaxDocuments object
Required: No
Response Syntax
{
"ClusterId": "string",
"JobListEntries": [
{
"CreationDate": number,
"Description": "string",
"IsMaster": boolean,
"JobId": "string",
"JobState": "string",
"JobType": "string",
"SnowballType": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ClusterId
-
The automatically generated ID for a cluster.
Type: String
Length Constraints: Fixed length of 39.
Pattern:
CID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
- JobListEntries
-
List of jobs created for this cluster. For syntax, see ListJobsResult$JobListEntries
in this guide. Type: Array of JobListEntry objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- Ec2RequestFailedException
-
Important
End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers. For more information, visit this blog post
. Your user lacks the necessary Amazon EC2 permissions to perform the attempted action.
HTTP Status Code: 400
- InvalidInputCombinationException
-
Important
End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers. For more information, visit this blog post
. Job or cluster creation failed. One or more inputs were invalid. Confirm that the CreateCluster:SnowballType value supports your CreateJob:JobType, and try again.
HTTP Status Code: 400
- InvalidResourceException
-
Important
End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers. For more information, visit this blog post
. The specified resource can't be found. Check the information you provided in your last request, and try again.
HTTP Status Code: 400
- KMSRequestFailedException
-
Important
End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers. For more information, visit this blog post
. The provided AWS Key Management Service key lacks the permissions to perform the specified CreateJob or UpdateJob action.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: