Self-hosted PostgreSQL → Neon
easyNeon adds branching, autoscaling, scale-to-zero, and managed backups. Zero config for the features you'd spend weeks building on self-hosted.
Sign up at neon.tech. Get your connection string from the dashboard.
pg_dump -h localhost -U postgres mydb > mydb.sql
psql $NEON_CONNECTION_STRING < mydb.sql
Replace localhost Postgres URL with Neon connection string in your app and CI.
DATABASE_URL=postgres://user:pass@ep-xyz.neon.tech/mydb?sslmode=require
Use Neon's pooler URL for serverless environments to avoid connection limit issues.
What this migration involves
Moving from Self-hosted PostgreSQL to Neon is rated easy and takes about 1-3h on a typical project. The guide breaks it into 5 steps, 3 of which ship with runnable commands and 1 with a verification check.
Related migrations
FAQ
How long does migrating from Self-hosted PostgreSQL to Neon take?
Around 1-3h for a typical project — 5 steps, difficulty rated easy, 3 of them with copy-paste commands.
Is moving from Self-hosted PostgreSQL to Neon reversible?
No reverse guide is tracked yet, so treat this as a one-way move and keep a full export of your Self-hosted PostgreSQL data before you start.
What does Neon cost compared to Self-hosted PostgreSQL?
Neon: freemium from $19/mo, free plan available.