Spectra Logic
1-800-833-1132 : 1-303-449-6400


Amazon S3 Operations : Amazon S3 Bucket Operations : Create Bucket (Put Bucket)

Create Bucket (Put Bucket)
Description
Create a bucket. The default data policy for the user creating the bucket is assigned to the bucket. If a default data policy cannot be determined, the operation fails. No media are initially allotted. This is an Amazon S3 compatible operation.
*
§
For BlackPearl software version 3.5.2 or earlier, the BlackPearl system changes bucket names with upper case letters to all lower case letters when needed. If you are using bucket names that only differ by case, the buckets are combined on the cloud target causing possible data collision and bucket ownership/permission problems.
§
For BlueScale software version 4.0 or later, if the bucket name is incompatible with the naming requirements of the cloud target provider, bucket creation fails and an error is returned.
Notes:
§
§
See Put Bucket for Amazon S3 operation details.
Also see Create Bucket - Spectra S3.
Requests
Syntax
PUT http[s]:/{datapathDNSname}/{bucket_name}/
{bucket_name} must be unique on the BlackPearl system.
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
§
§
Example
Sample Request
This request creates the bucket named “bucket1”.
PUT http://blackpearl-hostname/bucket1 HTTP/1.1
Sample Response
HTTP/1.1 200 OK