Skip to content

DigitalOcean Spaces Setup & File Transfer

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

Capabilities

  • ✅ 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

Prerequisites

  • A DigitalOcean account (create one)
  • At least one Space created
  • Spaces access keys

Required credentials

Access key

  • Where to find: DigitalOcean Control Panel => API => Spaces Keys
  • Example: AKIAIOSFODNN7EXAMPLE

Secret key

  • Example: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Optional credentials

Personal access token

  • 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.

Available regions

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

Storage tiers

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)

Setup (DigitalOcean Control Panel)

1. Create a Space

  1. Go to DigitalOcean Control Panel
  2. Navigate to Spaces Object Storage in the sidebar
  3. Click Create a Space
  4. 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)
  5. Click Create a Space

2. Generate Spaces access keys

  1. Go to API in the left sidebar
  2. Scroll to Spaces Keys
  3. Click Generate New Key
  4. Enter a name (e.g., blober-access)
  5. Copy the Access Key and Secret Key before you leave the page. The secret is shown only once

3. Create a personal access token (optional)

To list your Spaces by project:

  1. Go to API in the left sidebar
  2. Under Tokens, click Generate New Token
  3. Enter a name and select scopes (read access is sufficient)
  4. Copy the token immediately

4. Configure in Blober

  1. In Blober, go to Workflows => New Workflow
  2. Select DigitalOcean Spaces as source or destination
  3. Enter:
    • Access Key
    • Secret Key
    • (Optional) Personal Access Token
  4. Test by browsing your Spaces

Troubleshooting

"Access Denied" error

  • 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

Not all Spaces showing up

  • 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

Slow transfers

  • Choose a Space in a region geographically close to you
  • Transfer speeds depend on your internet connection and the distance to the datacenter

Cold storage retrieval

  • 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

Best practices

  • 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

External references