1
Copy the direct connection string
Under Connect on the project’s dashboard, choose the branch and
database, turn connection pooling off, and copy the string. Its host
has no Leave its parameters as they are: Midplane keeps
-pooler. A read replica’s compute is best.channel_binding=require, and options, which Neon routes by.2
Let Midplane in, if IP Allow is on
Add both of your region’s egress addresses to
Neon’s IP Allow.
3
Run the role script, not Neon's Roles page
Run it in Neon’s SQL Editor, on the same branch and database
(the role script). On Neon it carries the password in
plain text, the only form Neon takes; Neon stores it hashed. A role made
under Roles in Neon’s console joins
neon_superuser, which can do
far more than read.neondb_owner if it owns the
tables.
If the test says the database did not answer
If the test says the database did not answer
A compute that scaled to zero wakes on the first connection: Test
again.
If your compute autosuspends
If your compute autosuspends
Midplane reads each source’s catalog every 5 minutes, so a compute set
to suspend after 5 minutes idle may stay awake.
If you use branches
If you use branches
A source reads one branch: the one in its connection string.