Skip to content

Post: stop standing up an S3 bucket per preview environment (Neon Storage #3)#1440

Open
bobbyonmagic wants to merge 4 commits into
mainfrom
post/neon-bucket-per-preview-environment
Open

Post: stop standing up an S3 bucket per preview environment (Neon Storage #3)#1440
bobbyonmagic wants to merge 4 commits into
mainfrom
post/neon-bucket-per-preview-environment

Conversation

@bobbyonmagic

Copy link
Copy Markdown
Collaborator

Third storage post (dated Jul 8). The cost/ops angle: giving each preview its own storage usually means provisioning a bucket per environment (policy, IAM, CORS, lifecycle, teardown, orphans). When the bucket rides the branch, that whole apparatus disappears.

Backed by the tested files demo: one command brings a preview with a copy of the files (no bucket created, no IAM minted), one command tears it down. Reuses neon-storage-demo. Covers the copy-on-write cost story and the orphaned-bucket security angle.

Interactive: neon.ts snippet, the manual per-env checklist, an animated terminal, a comparison table, a tip callout on orphans, and a github card. OG generated, validated.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: 45b49c1
Status: ✅  Deploy successful!
Preview URL: https://5aa0f758.devops-daily.pages.dev
Branch Preview URL: https://post-neon-bucket-per-preview.devops-daily.pages.dev

View logs

@bobbyonmagic bobbyonmagic force-pushed the post/neon-bucket-per-preview-environment branch from 1054fea to 45b49c1 Compare July 8, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant