Linux VPS

Object storage and S3-compatible storage explained

What object storage is, how buckets, keys and the S3 API work, how it differs from block and file storage, popular S3-compatible options including self-hosted, and typical uses.

BeginnerCloud and VPS2 min read

Object storage stores data as objects in flat buckets instead of files in folders or blocks on a disk. Because almost every provider speaks the Amazon S3 API, "S3-compatible storage" has become the standard way to keep backups, media and static files cheaply and at large scale.

Before you start

How object storage works

  • Bucket: a top-level container, e.g. company-backups.
  • Object: the data plus metadata, addressed by a key such as 2025/10/db.sql.gz. Slashes only look like folders.
  • API: applications use HTTP requests (PUT, GET, DELETE, LIST), signed with an access key and secret key.
  • Durability: providers replicate or erasure-code objects across disks and often across sites.

Object vs block vs file storage

ObjectBlockFile
AccessHTTP APIRaw disk attached to one serverMounted share (NFS, SMB)
ScaleVirtually unlimitedPer volumePer share
Edit in placeNo, rewrite whole objectYesYes
Best forBackups, media, archives, static assetsOS disks, databasesShared documents, home folders

S3-compatible options

  • Hosted: Amazon S3 and many other cloud providers offer S3-compatible object storage, often with cheaper egress or flat pricing. Compare storage, request and data transfer fees.
  • Self-hosted: MinIO, Ceph's RADOS Gateway and Garage turn your own servers into S3 endpoints. See Ceph for virtualization.

Common uses

  • Off-site backups for servers and websites (follow the 3-2-1 rule, see backups explained).
  • User uploads and media for web apps, often served through a CDN.
  • Static website hosting.
  • Log and data archives with lifecycle rules that move old data to colder, cheaper tiers.

Security basics

  • Keep buckets private by default; share with time-limited pre-signed URLs.
  • Create access keys limited to one bucket with only the permissions needed.
  • Enable versioning or object lock to protect backups from deletion and ransomware.

Frequently asked questions

Can I mount object storage as a drive?

Tools like rclone mount or s3fs can, but performance and file semantics differ from a real disk. Avoid running databases on it.

What does S3-compatible mean exactly?

The service accepts the same API calls as Amazon S3, so tools written for S3 work by changing the endpoint URL.

Is object storage cheaper than block storage?

Usually per GB, but watch request and egress charges.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.