---
title: "Building Neon Object Storage"
description: "Neon Object Storage is an S3-compatible object store whose buckets and objects branch together with a Neon Postgres database under one shared branch_id, so a child branch inherits files at the fork point with copy-on-write isolation."
url: "https://swe.quest/articles/building-neon-object-storage-34a868ace858c276"
canonical: "https://neon.com/blog/building-neon-object-storage"
source: "Neon"
published: "2026-08-06"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 6
tags: ["storage-systems","postgres","cloud","infrastructure-as-code"]
---

# Building Neon Object Storage

A post on [Neon](https://swe.quest/sources/neon.md), published 2026-08-06, 6 min read, Announcement. Original: [https://neon.com/blog/building-neon-object-storage](https://neon.com/blog/building-neon-object-storage)

## Summary

Neon Object Storage is an S3-compatible object store whose buckets and objects branch together with a Neon Postgres database under one shared branch\_id, so a child branch inherits files at the fork point with copy-on-write isolation. Postgres branches via the pageserver's page-level copy-on-write. Object Storage uses its own lineage-and-versioning scheme: each branch stores an ordered lineage back to root, every write adds a versioned row, lookups walk the lineage, and deletes on a child write a tombstone version without touching the parent. Branch creation is a single write regardless of data size, and storage cost only grows as branches diverge. Access is through the standard S3 wire protocol with Neon credentials, with bucket visibility managed in Neon rather than S3 ACLs and provisioning declared in neon.ts.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md) (Infrastructure)

## Prerequisites

- Neon database branching ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))
- S3 API basics ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))

## Keywords

Neon, Neon Object Storage, S3, Lakebase, neon.ts, copy-on-write

## Related posts

- [Add files to your branches](https://swe.quest/articles/add-files-to-your-branches-c605b42373f4bac8.md): Neon · 2026-11-23 · Medium · 6 min read · Storage systems, Serverless, PostgreSQL, Cloud platforms
  Neon Object Storage is an S3-compatible store whose buckets belong to database branches: child branches inherit buckets and objects via the same copy-on-write model as Neon Postgres, so previews get isolated, unbilled-until-diverged copies of production files.
- [Understanding Neon’s object hierarchy](https://swe.quest/articles/understanding-neon-s-object-hierarchy-93be958b09bed77b.md): Neon · 2023-06-07 · Easy · 4 min read · PostgreSQL, Serverless, Databases
  Neon organizes serverless Postgres into projects, branches and compute endpoints, built on a separation of storage and compute that avoids sizing a database upfront.
- [SELECT ’Hello, World’](https://swe.quest/articles/select-hello-world-151ac208b5f708c9.md): Neon · 2022-06-15 · Easy · 5 min read · PostgreSQL, Storage engines, Serverless, Cloud platforms, Multi-tenancy
  Neon is a serverless Postgres service built on separated storage and compute, launching behind a waitlist.
- [Architecture decisions in Neon](https://swe.quest/articles/architecture-decisions-in-neon-01182afd96537274.md): Neon · 2022-07-08 · Medium · 9 min read · PostgreSQL, Storage engines, System design, Serverless, Replication
  Neon built serverless Postgres by separating storage from compute without forking Postgres.
- [Deep dive into Neon storage engine](https://swe.quest/articles/deep-dive-into-neon-storage-engine-efc0ffc53406f34d.md): Neon · 2023-03-30 · Hard · 7 min read · Storage engines, PostgreSQL, Distributed databases, Serverless, Replication
  Neon's storage engine separates Postgres compute from storage and serves pages through GetPage@LSN, reconstructing any page as of any log sequence number from immutable layer files.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
