DigitalOcean Home

How to Create and Delete Spaces Using the Control Panel

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

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.

Creating your first Space will automatically start your Spaces subscription. Deleting all of your Spaces will automatically end your subscription.

Create a Space

You can create a Space at any time from the Create menu by selecting Spaces.

Create menu

This will take you to the Create a Space page.

Screenshot of Create a Space screen

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 this setting at any time after creation. See Manage File Listing Permissions for more information.

  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.

Screenshot of the Spaces index screen

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.

Delete a Space

When you have created at least one Space, the Spaces link in the main navigation bar of the Spaces page will display all of your Spaces. Select the Space you want to delete, then navigate to its Settings page. In the Destroy this space section, you can permanently Destroy the Space and all of its contents.

Screenshot of the Settings tab

Your Spaces subscription will automatically end when you delete your last Space. When you have no Spaces remaining, you’ll have the opportunity to leave feedback.