DigitalOcean Spaces Setup & File Transfer
4 min read
DigitalOcean Spaces is S3-compatible object storage with a built-in CDN. Blober connects via the S3-compatible API and supports both standard and cold storage tiers.
Path format:
space-name/path/to/file.ext
- ✅ Browse Spaces and objects
- ✅ Upload files (including large files)
- ✅ Download files
- ✅ Delete objects
- ✅ Copy objects (within the same Space)
- ✅ Move objects
- ✅ S3-compatible API
- ✅ Multi-region support (automatic region detection)
- ✅ Cold storage tier support
- ✅ Project organization via Personal Access Token
- A DigitalOcean account (create one)
- At least one Space created
- Spaces access keys
- Where to find: DigitalOcean Control Panel => API => Spaces Keys
- Example:
AKIAIOSFODNN7EXAMPLE
- Example:
wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
- Purpose: lists Spaces organized by project and shows project names
- Where to find: DigitalOcean Control Panel => API => Tokens
- Without it, Blober has to check every region to find your Spaces, which is slower.
Blober finds your Spaces in these DigitalOcean regions. DigitalOcean lists its current regions on the Spaces availability page.
| Region code | Location |
|---|---|
nyc3 |
New York 3 |
sfo2 |
San Francisco 2 |
sfo3 |
San Francisco 3 |
ams3 |
Amsterdam 3 |
sgp1 |
Singapore 1 |
fra1 |
Frankfurt 1 |
syd1 |
Sydney 1 |
blr1 |
Bangalore 1 |
tor1 |
Toronto 1 |
atl1 |
Atlanta 1 |
lon1 |
London 1 |
ric1 |
Richmond 1 |
mkc1 |
Kansas City 1 |
DigitalOcean Spaces supports two storage tiers, set at bucket creation:
| Tier | Use case | Retrieval |
|---|---|---|
| Standard | Frequently accessed data | Immediate |
| Cold | Infrequent access, archival | Immediate (higher retrieval cost) |
- Go to DigitalOcean Control Panel
- Navigate to Spaces Object Storage in the sidebar
- Click Create a Space
- Configure:
- Datacenter region: Choose from available regions
- Storage tier: Standard or Cold
- CDN: Enable if needed for edge caching
- Space name: Unique name (lowercase, 3-63 characters)
- Click Create a Space
- Go to API in the left sidebar
- Scroll to Spaces Keys
- Click Generate New Key
- Enter a name (e.g.,
blober-access) - Copy the Access Key and Secret Key before you leave the page. The secret is shown only once
To list your Spaces by project:
- Go to API in the left sidebar
- Under Tokens, click Generate New Token
- Enter a name and select scopes (read access is sufficient)
- Copy the token immediately
- In Blober, go to Workflows => New Workflow
- Select DigitalOcean Spaces as source or destination
- Enter:
- Access Key
- Secret Key
- (Optional) Personal Access Token
- Test by browsing your Spaces
- Double-check your Access Key and Secret Key
- Verify the key has permissions for the Spaces you're trying to access
- Make sure you're using Spaces keys, not regular API tokens
- Blober checks each region in the table above to find your Spaces, which may take a moment
- If you provide a Personal Access Token, Spaces will load faster and be organized by project
- Newly created Spaces may take a few seconds to appear
- Choose a Space in a region geographically close to you
- Transfer speeds depend on your internet connection and the distance to the datacenter
- Files in Cold Spaces are retrieved at normal speed but have higher per-request costs
- The storage tier is set at Space creation and cannot be changed afterward
- Add a Personal Access Token alongside your Spaces keys for faster listing, grouped by project
- Pick the tier when you create the Space: Standard for frequently accessed data, Cold for archives
- DigitalOcean Spaces pricing: $5/month for 250 GB storage + 1 TB outbound transfer, then $0.02/GB storage and $0.01/GB transfer
- Create Spaces keys just for Blober instead of reusing keys from other applications
- Consider Spaces CDN for publicly served files you access frequently