How to Create Spaces

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.

DigitalOcean Spaces allow you to store and serve large amounts of data. Each Space you create within an account has its own URL and can be used as a logical unit for segmenting content.

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

Creating your first Space automatically starts your Spaces subscription. Your subscription automatically ends when you destroy all of your Spaces.

You can create a Space at any time from the Create menu by selecting Spaces. This will take you to the Create a Space page.

The Spaces create page

From here, you need to:

  1. Choose a datacenter region. The datacenter region you choose will also become part of a Space’s endpoint URL. See regional availability for Spaces for more information on the available options.

  2. Optionally, enable the Spaces CDN (Content Delivery Network). If you click Enable CDN, you can customize the Edge Cache TTL, which is the amount of time the edge servers will cache your content.

  3. Choose to restrict file listing or enable file listing. The visibility of a Space’s file listing has no effect on the visibility of the files themselves. You can change the file listing visibility at any time after creation.

  4. Choose a unique name for your Space. The name of the Space makes up part of its endpoint URL and cannot be changed once it is created. Names must:

    • Be unique among all users in all regions. If the name you choose is already in use, a message will appear which says Space already exists.
    • Be between 3 and 63 characters long.
    • Contain only lowercase letters, numbers, and dashes.
    • Begin with a letter or number.
  5. Select a project to add the Space to.

After choosing your settings, click Create a Space. This will take you to the newly-created Space’s Files tab, which displays the files and folders in its root.

The index page of an empty Space

After creation, the Settings page of a Space displays its Endpoint value, which is used to configure third-party clients. The Index page displays its name, size, and creation date.