Databases & Storage

Object Storage (S3-compatible)

Scalable storage for files, media, backups and large datasets, accessed over an HTTP API compatible with Amazon S3.

What Object Storage (S3-compatible) is

Object storage keeps data as objects (files plus metadata) in buckets, accessed via an HTTP API. The Amazon S3 API has become a de facto standard, and many cloud providers and self-hosted systems such as MinIO offer compatible implementations.

What it solves

  • Storing user uploads, documents, images and videos without filling application servers
  • Durable storage for backups, exports and logs
  • Serving static assets and media through a CDN
  • Holding large datasets for processing and analytics

When it makes sense

  • Any product where users upload or download files
  • Database backups and long-term archives
  • Static website hosting and frontend asset delivery
  • Data lakes and document collections for AI processing

Strengths

  • Highly durable and practically unlimited capacity
  • Pay-for-what-you-use pricing model on most providers
  • Pre-signed URLs let clients upload and download directly and securely
  • Lifecycle rules, versioning and replication options

Limitations

  • Not a file system: no in-place partial updates and different consistency and latency characteristics
  • Misconfigured bucket permissions are a common source of data leaks
  • Egress and request costs can grow with heavy traffic
  • Searching or querying contents requires separate indexing or metadata in a database

Alternatives, and when they are better

  • PostgreSQL (binary columns)

    Storing very small files directly in the database can be simpler when files are few, tiny and must be updated transactionally with related records.

  • Network file storage

    Shared network file systems fit legacy applications that require POSIX file semantics and cannot be changed to use an object API.

Practical examples

  • A document management feature where users upload contracts that are later processed by an AI pipeline
  • An HR platform storing candidate CVs with access restricted through pre-signed URLs
  • Automated daily database backups stored with lifecycle-based retention

How it fits into the product architecture

Object storage is the file layer of the product: the backend stores metadata and permissions in the database and keeps file contents in buckets. Clients typically upload and download directly using short-lived pre-signed URLs, with a CDN in front for public assets. Operations include private-by-default bucket policies, encryption, lifecycle rules for retention and including buckets in backup and disaster recovery planning.

Next step

Choosing a stack for a new product?

We start from requirements, costs of ownership and the team you will have, then recommend technology with the reasons written down.