All guidesGuide collection

Object storage and file delivery guides

Public images and private backups need different storage rules. These guides help you choose a file delivery workflow, understand its cost assumptions, and keep private archives separate from assets intended for the web.

Choose by who should access the files

For public assets, read the cost comparison before setting up a custom CDN domain. Use the upload pipeline when users submit images that need processing. For server backups, go directly to the Minecraft guide and follow its private storage and restore steps.

For developers choosing object storage for an application or backup job. The examples use DigitalOcean Spaces, with an AWS S3 comparison for public file delivery.

  1. S3 vs Spaces for public file delivery and egress costs

    Compare the stated storage and transfer workloads before applying the cost examples to your own traffic.

    Storage can look cheap until people start downloading. This comparison separates storage, requests, and delivery before a good launch becomes an expensive one.

  2. Serve public files with a custom CDN domain

    Serve public assets through a custom CDN hostname and verify the delivered files.

    A working image URL is only the start. Test a new file, a stale copy, and a rollback before moving public assets to a CDN.

  3. Build an image upload and optimization pipeline

    Build the application workflow for image uploads and optimized outputs.

    A browser uploads one original directly to private object storage. A small API starts a secured image function, and only optimized variants reach your CDN.

  4. Back Up a Minecraft Server to DigitalOcean Spaces

    Back up a Minecraft world to private storage and test that it can be restored.

    A small, boring backup job is what you want: pause world saves, archive the server data, upload it to a private bucket, then test the restore before a player needs it.

Need a place to run your next project?

Explore DigitalOcean when you need cloud infrastructure for an app, automation, or backup workflow.

Disclosure: I’m a DigitalOcean affiliate. This page contains a DigitalOcean affiliate link. If you use it, I may earn a commission at no extra cost to you.

Explore DigitalOcean (opens in new tab)