Spaces How-Tos

Generated on 30 Jun 2026

Spaces Object Storage is an S3-compatible service for storing and serving large amounts of data. The built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.

Getting Started

How to Create a DigitalOcean Spaces Bucket

Create a Spaces bucket to store, organize, and serve unstructured data.

How to Destroy a DigitalOcean Spaces Bucket

Permanently delete a Spaces bucket.

How to Manage Access to DigitalOcean Spaces

Control access to Spaces buckets using access keys or DigitalOcean teams.

How to Migrate DigitalOcean Spaces Buckets Using Flexify.IO

Migrate buckets to and from DigitalOcean Spaces with Flexify.IO.

How to Transfer DigitalOcean Spaces Buckets Between Regions Using Rclone

Transfer data between DigitalOcean Spaces regions using third-party tools such as Rclone.

File Management

How to Upload, Download, and Delete Files

Upload, download, and delete files in buckets.

How to Organize Files in Folders

Organize files in a Space by creating folders, moving files into them, filtering folder contents, and deleting folders when you no longer need them.

How to Share Links to Files

Share files from a Spaces bucket by setting file permissions or creating presigned URLs.

How to Set File Listing Permissions

Set whether a Spaces bucket’s file listing is public or private.

How to Set File Metadata

Set standard and custom metadata for files in a Spaces bucket.

Content Delivery Network

How to Enable the DigitalOcean Spaces CDN

Enable and disable the Spaces CDN, configure edge cache TTL settings, set up custom subdomains with TLS, and manage CDN endpoints.

How to Manage the DigitalOcean Spaces CDN Cache

Manage the Spaces CDN cache, including setting edge cache TTL values and purging cached files.

Advanced Configuration

How to Configure DigitalOcean Spaces Access Logs

Enable and manage Spaces access logs to record requests made to your bucket and CDN endpoints.

How to Configure DigitalOcean Spaces Versioning

Preserve, retrieve, and restore every version of every object stored in your buckets using S3 Versioning.

How to Configure Bucket Policies

Configure a bucket policy for a Space using the S3-compatible API, AWS CLI, or s3cmd.

How to Configure Lifecycle Rules

Configure lifecycle rules for a Space to expire objects or remove incomplete multipart uploads automatically.

How to Configure Cross-Origin Resource Sharing

Configure Cross-Origin Resource Sharing (CORS) on a DigitalOcean Space to allow web applications from another origin to access bucket resources.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.