Create a Bucket
Create buckets using the RustFS UI, rc, or the S3 API.
This guide explains how to create buckets using the RustFS UI, rc, or the S3 API.
Requirements
- A running RustFS instance (see Installation Guide).
rcinstalled and configured with an alias for the command-line workflow.
Use the RustFS Console
- Log in to the RustFS Console.
- On the Buckets page, in the top right corner, select Create Bucket.
- Enter a bucket name and select Create.

Using rc
See the rc guide for installation and alias configuration.
Create a bucket:
rc bucket create rustfs/my-bucket
rc bucket list rustfs/✓ Bucket 'rustfs/my-bucket' created successfully.Using the API
Create a bucket via API:
PUT /{bucketName} HTTP/1.1S3 requests must be signed with AWS Signature V4, so use an S3 client rather than hand-crafting headers. With the AWS CLI configured for your access keys:
aws s3api create-bucket \
--bucket bucket-creation-by-api \
--endpoint-url http://localhost:9000Confirm that the bucket appears in the RustFS Console.