Spaces Resources

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

Additional Tools for Spaces

You can use Spaces from the control panel directly in your web browser, but you may run into browser limitations when uploading files larger than 2 GB or more than 100 files at a time. To handle these use cases, we recommend using the API or a third-party client.

The DigitalOcean Spaces API

Spaces provides a RESTful XML API for programatically managing your data using standard HTTP requests. The API is interoperable with Amazon’s AWS S3 API so you can use existing S3 tools with Spaces.

See the API documentation on Spaces and the API documentation on the Spaces CDN for more information.

Third-Party Clients

Third-party graphical clients interact with Spaces in ways similar to the control panel. They avoid browser limitations but require configuration to connect. Some common clients are Transmit 4+ (macOS), Cyberduck 6.2.x (Windows, macOS), or FileZilla Pro (Windows, macOS).

Transmit 4 is a macOS-only file transfer utility that is fully compatible with Spaces.
Transmit 5 is the latest version of the macOS-only file transfer utility. It’s largely compatible with Spaces, but Transmit 4 is fully compatible.
Cyberduck is an open-source file transfer client for Windows and macOS that supports S3.

Third-party command-line tools facilitate both personal use and automation. The most common client is s3cmd (Linux, macOS, Bash on Windows).

s3cmd is a cross-platform command-line tool for managing S3 and S3-compatible object stores.
Examples of s3cmd commands for common actions with Spaces, like uploading and managing files, setting permissions, and encryption.

Third-party API client libraries allow you to interact with Spaces programmatically. You can use AWS S3 SDKs and other S3 compatible libraries with Spaces.

The Spaces API is inter-operable with the AWS S3 API, meaning you can use existing S3 tools and libraries with it. These examples demonstrate how to perform a number of common Spaces operations in JavaScript, Go, PHP, Python 3, and Ruby.

More Information

On DigitalOcean Spaces

Recommendations on how to get the best performance from Spaces based on your use case and application architecture, like using a CDN, optimizing your request rate, and properly handling 50x errors.

DigitalOcean Community Tutorials