StorafleetStorafleet

/// CREATE A BUCKET / DIGITALOCEAN SPACES

Create a DigitalOcean Space

Want object storage with an edge CDN baked in for your assets? DigitalOcean Spaces is S3-compatible storage with a free built-in CDN included on every bucket. Create a Space below, then connect it as a Fleet and manage it — including the CDN — straight from storafleet.

Spaces speaks the S3 API, so storafleet treats a Space exactly like any other Fleet — the same browse, sync, lifecycle, and policy tools all work, and the bundled CDN gives you fast global asset delivery without standing up a separate edge product.

Create a DigitalOcean account

If you don't already have one, sign up at cloud.digitalocean.com and add a payment method. Everything below happens in the DigitalOcean Control Panel at cloud.digitalocean.com.

Create a Space (bucket)

In the Control Panel, open Spaces Object Storage in the left menu, then click Create Bucket in the top right. On the Create a Spaces Bucket page:

  1. Choose a datacenter region. Pick the region closest to your users — for example nyc3, sfo3, ams3, fra1, sgp1, or syd1. The region you choose becomes part of the bucket's endpoint URL, so note it down.
  2. Choose a storage typeStandard Storage or Cold Storage. The storage type cannot be changed after the bucket is created, and the built-in CDN is only available on Standard Storage buckets.
  3. Enable the CDN (optional). Under the CDN section you can Enable the Spaces CDN and set an Edge Cache TTL. You can also turn this on later — and storafleet can manage it for you (see below).
  4. Name your bucket. The name must be unique across all DigitalOcean users in all regions, be 3–63 characters, contain only lowercase letters, numbers, and dashes, and begin with a letter or number. It becomes part of the endpoint URL and cannot be changed once created.
  5. Pick a destination project, review the summary, and click Create a Spaces Bucket.

See DigitalOcean's official guide: How to Create a Spaces Bucket.

Create a Spaces access key

Screenshot: the provider's key / secret confirmation screen — copy both values now (the secret is often shown only once).

Spaces uses its own S3-style credentials — separate from DigitalOcean API tokens. In the Control Panel, open Spaces Object Storage, click the Access Keys tab, then click Create Access Key. Spaces keys can only be created and managed in the Control Panel — not via the DigitalOcean API or CLI.

You'll get an Access Key (the ID) and a Secret Key. The secret is shown only once — copy it immediately and store it securely. You'll paste both into storafleet.

When creating the key, DigitalOcean offers two scopes:

  • Full access — all supported S3 APIs on all buckets, including bucket policies, lifecycle rules, versioning, CORS, and static website settings.
  • Limited access — restricted to specific buckets with Read or Read/Write/Delete permissions per bucket.
Use a full-access Spaces key with storafleet. DigitalOcean's limited (scoped) keys are incompatible with bucket policies — you cannot create a limited key for a bucket that uses a PutBucketPolicy policy, and you cannot apply a PutBucketPolicy to a bucket that already has a limited key. A scoped key would block storafleet from managing your bucket's policies.

See DigitalOcean's official guide: How to Manage Access to Spaces.

Find your endpoint

Spaces puts the region in the endpoint hostname. The regional endpoint follows the format:

  • https://<REGION>.digitaloceanspaces.com — e.g. a bucket in nyc3 uses https://nyc3.digitaloceanspaces.com.

That regional endpoint (without the bucket name prefix) is what you give storafleet. The per-bucket origin endpoint such as https://my-bucket.nyc3.digitaloceanspaces.com is for direct object URLs, not the connection endpoint.

Connect it to storafleet

Screenshot: Storafleet's Create Fleet wizard with this provider selected and the endpoint + keys filled in — the step that unsticks a first-timer.

Head to Connect DigitalOcean Spaces and create a Fleet using your bucket name, region, the regional endpoint, and the full-access Access Key + Secret Key. Once connected, you can browse, sync, and apply lifecycle and policy rules just like any other Fleet.

From there, use the CDN guide to enable and tune the Spaces edge CDN from storafleet, and the migration guide to move existing assets into your Space.