Spaces

Spaces is an S3-compatible object storage service that lets you store and serve large amounts of data. The free, built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.

Plans and Pricing

The base rate of a Spaces subscription is $5/month and gives you the ability to create multiple Spaces.

The subscription includes 250 GiB of data storage (cumulative across all of your Spaces). Additional storage beyond this allotment is $0.02/GiB. If you cancel your subscription by destroying all your Spaces, your bill will be prorated hourly.

Bandwidth

Spaces subscriptions include 1,024 GiB of outbound data transfer (from Spaces to the internet), which is shared between all Spaces. Additional outbound transfer is $0.01/GiB. Outbound data transfer is free in the following cases:

  • From Spaces in NYC3 to Droplets in NYC1, NYC2, and NYC3
  • From Spaces in SGP1 to Droplets in SGP1
  • From Spaces in SFO2 to Droplets in SFO1 and SFO2
  • From Spaces in AMS3 to Droplets in AMS2, AMS3, LON1, and FRA1
  • From Spaces in FRA1 to Droplets in AMS2, AMS3, LON1, and FRA1

Inbound bandwidth to Spaces never counts against your Spaces transfer allowance.

Droplets have their own transfer allowance, independent of Spaces. Traffic from Droplets to Spaces does not count against your Spaces transfer allowance (because inbound bandwidth to Spaces is free), but does currently count against your Droplets’ outbound transfer allowance. We're working on changing this behavior.

Content Delivery Network (CDN)

The Spaces Content Delivery Network (CDN) is available at no additional cost. The transfer allowance that comes with the base Spaces subscription covers both CDN bandwidth and origin bandwidth. Transfer between the origin and the edge servers is calculated as part of the transfer allowance.

Regional Availability

Spaces are available in NYC3, SFO2, SGP1, and FRA1. Spaces work with Droplets in all regions. The Spaces CDN is available in all regions where Spaces are available.

Note
We've disabled creating new Spaces in AMS3 until we complete maintenance on the datacenter as part of addressing Spaces performance concerns. Learn more about Spaces AMS3 availability.

The Spaces CDN points of presence are in the following locations:

Region PoP Locations
North America Ashburn, Atlanta, Chicago, Dallas, Denver, Los Angeles, Miami, New York, San Jose, Seattle, Toronto
Europe Amsterdam, Frankfurt, London, Madrid, Milan, Paris, Stockholm, Warsaw
South America São Paulo (beta)
Asia Hong Kong (beta), Manila (beta), Seoul (beta), Singapore (beta), Tokyo (beta)
Oceania Melbourne (beta), Sydney (beta)

Features

DigitalOcean Spaces provide S3-compatible object storage which lets you store and serve large amounts of data. You can create them in a few seconds and use them immediately with no configuration. Data transfer is automatically secured with HTTPS, and the available storage capacity scales seamlessly.

Spaces are ideal for storing static, unstructured data like audio, video, and images as well as large amounts of text. Because Spaces are an object storage implementation, use cases like databases, applications written in server-side languages, and mission-critical applications will work best with local storage or block storage.

If you use Spaces to serve static or dynamic content for your website, you can also benefit from using the Spaces CDN (Content Delivery Network), which is available at no additional cost. CDNs reduce page load times, improve performance, and reduce your bandwidth and infrastructure costs by caching your assets across a set of geographically distributed servers.

Unique URLs

A Spaces subscription gives you the ability to create multiple Spaces to use as logical units for segmenting content. Each Space has its own unique URL.

The Spaces URL naming pattern is spacename.region.digitaloceanspaces.com and region.digitaloceanspaces.com/spacename, where spacename is the name of your Space and region is the region your Space is in.

High Availability

Spaces is built with Ceph, just like block storage. As we describe in our blog post on why we chose Ceph:

Ceph is built for redundancy, and we carefully ensure that the loss of a single drive, server, or even an entire data center rack does not compromise data integrity or availability.

Ceph gracefully heals itself when individual components fail, ensuring continuity of service with uncompromised data protection. Additionally, we use sophisticated monitoring systems built around tools including Icinga, Prometheus, and our own open-source ceph_exporter. These help us respond immediately to any issues with our Ceph infrastructure to ensure continuous availability.

Ceph is also compatible with a large subset of the S3 RESTful API, which allows you to use many familiar tools and commands.

CDN (Content Delivery Network)

Spaces provides a free, built-in CDN that you can enable with a few clicks. If you've enabled the Spaces CDN for your Space, you can access the contents of your Space using the edge URL <spacename>.<region>.cdn.digitaloceanspaces.com instead of the origin URL.

A CDN is a network of edge servers that deliver content to users. Each point of presence (PoP), the location of a group of edge servers, sends content to the users that are physically closest to it.

CDNs help deliver static and dynamic online content faster and more reliably. Because most search engines factor page load time into their algorithm, using a CDN can also provide an SEO advantage. Using a CDN additionally provides a layer of redundancy for websites; a CDN PoP can serve cached content to users even if the origin or other PoPs are down.

You can control how long your CDN content is cached using the TTL settings, either for all the content in your Space or for individual objects. You can similarly choose to purge the cache for the entire Space or individual objects at any time.

If you don't want to use the default edge URL, you can use a custom subdomain, like images.example.com. Subdomains you use with the Spaces CDN must have an SSL certificate for security reasons. If you've added your domain to DigitalOcean, you use DigitalOcean's Let's Encrypt certificates, which are fully managed and renewed on your behalf every 60 days. You also have the option to manually upload an SSL certificate if you use a different DNS provider or want to upload an existing certificate.

Limits

  • Spaces have the following rate limits:

    • 750 requests (any operation) per IP address per second to all Spaces on an account

    • 150 PUTs, 150 DELETEs, 150 LISTs, and 240 other requests per second to any individual Space

    • 2 COPYs per 5 minutes on any individual object in a Space

    Applications should retry with exponential backoff on 503 Slow Down errors. If you plan to push more than 200 requests per second to Spaces, we recommend using the Spaces CDN or creating more Spaces.

  • DigitalOcean's internal DNS infrastructure has rate limits in place to limit the impact of abusive actors. If you are making a large number of requests, we recommend implementing recursive DNS caching.

  • Sharing ownership of Spaces is currently per account, not per Space.

  • While you can set permissions for all the files in a folder, currently you’ll need to use a third-party client to set permissions recursively.

  • Spaces currently do not support tags.

  • You cannot delete more than 10,000 files from a Space at once via the control panel. You can use the API or delete fewer files at a time.

  • The Transmit v. 5.0.5 release solved some compatibility issues, but it is not yet fully compatible with Spaces. Please use Transmit 4 as a workaround.

  • In the 2+ week period during which a Space is pending destruction, you cannot reuse that Space's name. If you need to recover a Space that is pending destruction, open a support ticket.

Known Issues

  • Space delete actions do not include the correct IP address that conducted the action in an account's security history.

  • Uploading hundreds or thousands of files via cloud.digitalocean.com may not complete reliably. For this use case, use s3cmd or other third-party tools.

  • In the API, list-objects-v2 pagination does not work.

  • Uploading files and folders with spaces in their name is not supported, but when you upload using the drag and drop feature, they will upload successfully.

  • You cannot currently create wildcard SSL certificates using DigitalOcean's Let's Encrypt integration.

  • File metadata headers, like Content-Encoding, are not passed through the CDN. Metadata headers are correctly set when fetching content directly from the origin.

  • We've disabled creating new Spaces in AMS3 until we complete maintenance on the datacenter as part of addressing Spaces performance concerns. Learn more about Spaces AMS3 availability.

Latest Updates

Upcoming Changes

  • Restrictions on Spaces in AMS3 Applied Until Datacenter Expansion Planned for February 2020

    We are expanding the AMS3 datacenter to address capacity and load issues with Spaces in that region. We plan to finish the expansion in February 2020.

    Some temporary restrictions apply to Spaces in AMS3 until the datacenter expansion is complete: as of July 2019, you cannot create new Spaces in AMS3; as of September 2019, we applied allowance and rate limits on uploads to existing Spaces in AMS3.

19 July 2019

3 July 2019

  • The installation repo for the metrics agent has been moved to DigitalOcean Spaces.

9 May 2019

  • Spaces are now available in the Frankfurt (FRA1) region.

7 May 2019

  • Creating Spaces in NYC3 is now re-enabled.

For more information, see all Spaces release notes.