You’re welcome! Here’s how to get DigitalOcean Spaces credentials and set up everything, similar to AWS S3 / Wasabi / BunnyCDN.
1. Create a DigitalOcean Account
If you don’t have one already:
2. Create a Space (Bucket)
- Go to the DigitalOcean Dashboard:
https://cloud.digitalocean.com/spaces - Click “Create a Space”
- Choose:
- Datacenter region (e.g.,
SFO2,NYC3,SGP1, etc.) - Enable CDN (optional)
- Restrict file listing (recommended if private)
- Space name (e.g.,
next3-bucket)
- Datacenter region (e.g.,
- Click “Create Space”
3. Generate Access Key and Secret Key
- Go to https://cloud.digitalocean.com/account/api/tokens
- Scroll down to Spaces access keys
- Click “Generate New Key”
- Give it a name (e.g.,
next3-upload-key) - Click Create Access Key
You’ll receive:
- Access Key
- Secret Key
Copy and store them securely — Secret Key is shown once.
4. Endpoint & Region Format
Each region has a specific endpoint format:
| Region | Endpoint Format |
|---|---|
| NYC3 | nyc3.digitaloceanspaces.com |
| SFO2 | sfo2.digitaloceanspaces.com |
| SGP1 | sgp1.digitaloceanspaces.com |