Object Storage

S3-compatible object storage for any workload. Store files, serve static assets, and backup your data.

Overview

Fresh.dev Object Storage provides a simple, scalable solution for storing unstructured data. It's fully compatible with the S3 API, so you can use your existing tools and libraries.

Features

  • S3 compatible — Use any S3 SDK or CLI tool
  • Unlimited storage — Pay only for what you use
  • Built-in CDN — Serve files globally with low latency
  • Versioning — Keep multiple versions of your objects
  • Access control — Fine-grained permissions with bucket policies

Use Cases

  • Static website hosting
  • Media file storage (images, videos, audio)
  • Application backups
  • Data lake storage
  • Log archival

Quick Example

Upload a file using the AWS CLI:

aws s3 cp myfile.txt s3://my-bucket/myfile.txt \
  --endpoint-url https://s3.fresh.dev

Or using the AWS SDK for JavaScript:

import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';

const client = new S3Client({
  endpoint: 'https://s3.fresh.dev',
  region: 'auto',
  credentials: {
    accessKeyId: process.env.FRESH_ACCESS_KEY,
    secretAccessKey: process.env.FRESH_SECRET_KEY,
  },
});

await client.send(new PutObjectCommand({
  Bucket: 'my-bucket',
  Key: 'myfile.txt',
  Body: 'Hello, World!',
}));