Create a bucket using the S3 API (with s3curl)
You can use the S3 API to create a bucket in a replication group. Because ECS uses custom headers (x-emc), the string to sign must be constructed to include these headers. In this procedure the s3curl tool is used. There are also several programmatic clients you can use, for example, the S3 Java client.
Prerequisites
- To create a bucket, ECS must have at least one replication group configured.
- Ensure that Perl is installed on the Linux machine on which you run s3curl.
- Ensure that curl tool and the s3curl tool are installed. The s3curl tool acts as a wrapper around curl.
- To use s3curl with x-emc headers, minor modifications must be made to the s3curl script. You can obtain the modified, ECS-specific version of s3curl from the EMCECS Git Repository.
- Ensure that you have obtained a secret key for the user who will create the bucket. For more information, see ECS Data Access Guide, available from https://www.dell.com/support/.
About this task
Steps
Next steps
You can list the buckets using the S3 interface, using:
./s3curl.pl --debug --id=my_profile http://<DataNodeIP>:9020/