> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bunny.net/llms.txt
> Use this file to discover all available pages before exploring further.

# DigitalOcean Spaces

> Accelerate DigitalOcean Spaces content delivery with bunny.net CDN for faster global file access.

Bunny CDN pulls and caches files from your DigitalOcean Space and delivers them from a global edge network, getting your content to users faster than serving from the Space alone. This guide walks you through the setup in three steps.

<Tip>
  Prefer to keep your files on bunny.net? [Bunny Storage](/storage) is globally replicated object storage with tight CDN integration, and it offers an [S3-compatible API](/storage/s3) (currently in beta).
</Tip>

<Steps>
  <Step title="Configure your Space and get its URL">
    Set up your Space and upload some content, following [DigitalOcean's Spaces quickstart](https://docs.digitalocean.com/products/spaces/). Note the **Space URL** shown on the Create a Space page, you'll use it as your Pull Zone origin.

    <Note>
      Disable DigitalOcean's built-in Spaces CDN. Leaving it enabled interferes with Bunny CDN.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/bunnynet-cb9733c2/RilmGx6yE6wbeAYi/images/cdn/integrations/storage/digitalocean-space-url.png?fit=max&auto=format&n=RilmGx6yE6wbeAYi&q=85&s=56ca4b237ad2bf4e7c48cbb8ef7f74e8" alt="DigitalOcean Space URL" width="526" height="136" data-path="images/cdn/integrations/storage/digitalocean-space-url.png" />
    </Frame>
  </Step>

  <Step title="Create a Pull Zone">
    Log in to your [bunny.net dashboard](https://dash.bunny.net) and create a new Pull Zone. Give it a name and set the origin URL to your Space URL from the previous step, then choose your pricing and region tiers and click **Add Pull Zone**. For details, see [How to create your first Pull Zone](/cdn/quickstart).

    <Frame>
      <img src="https://mintcdn.com/bunnynet-cb9733c2/RilmGx6yE6wbeAYi/images/cdn/integrations/storage/digitalocean-add-pull-zone.png?fit=max&auto=format&n=RilmGx6yE6wbeAYi&q=85&s=99cb72739cbfe5a34fdaf80b9ee6a522" alt="Adding a Pull Zone with the Space URL as origin" width="596" height="94" data-path="images/cdn/integrations/storage/digitalocean-add-pull-zone.png" />
    </Frame>
  </Step>

  <Step title="Test your Pull Zone">
    Upload some files to your Space and make sure their permissions are set to **Public**, so Bunny CDN can fetch and cache them. Once the configuration has synced to the edge network, request a file through your Pull Zone hostname. For example:

    ```
    https://bunnyspace.ams3.digitaloceanspaces.com/bunny-flying.png
    ```

    becomes:

    ```
    https://bunnyspace.b-cdn.net/bunny-flying.png
    ```

    If the `b-cdn.net` URL serves the file, Bunny CDN is caching content from your Space. Replace your Space URLs with the Bunny CDN URLs in your application to start serving cached content.
  </Step>
</Steps>
