DocsObject StorageCreate a Bucket
Object Storage

Create a Bucket

Create and configure your first storage bucket.

Create via dashboard

Go to Dashboard → Object Storage → Create Bucket. Choose a globally unique bucket name and your region.

Bucket names are permanent. Once created, a bucket name cannot be changed.

Create via API

bash
curl -X POST https://api.wasaacloud.com/api/storage \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "my-media-bucket", "type": "object", "region": "af-ke-1", "sizeGB": 500}'

Upload files with boto3 (Python)

python
import boto3

s3 = boto3.client(
    's3',
    endpoint_url='https://storage.wasaacloud.com',
    aws_access_key_id='YOUR_ACCESS_KEY',
    aws_secret_access_key='YOUR_SECRET_KEY',
)

# Upload a file
s3.upload_file('photo.jpg', 'my-media-bucket', 'images/photo.jpg')
print("Uploaded successfully")
← Previous
Object Storage Overview
Next →
S3-Compatible API

Was this article helpful?

Need more help? Open a support ticket

On this page

Create via dashboard
Create via API
Upload files with boto3 (Python)
Get support