Report this

What is the reason for this report?

Can I get a private network segment?

Posted on September 18, 2019

For a managed database, can I get a private network segment which can be authorized once for pg_hba, so that each build of our application which makes it to the deployment stage which needs to connect, does not require my manual intervention in a browser?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello!

You can certainly use private networking with your managed database. Private networking will be limited between services on the same account in the same data center. The way to properly configure trusted connections, you’ll want to do this through the database’s Settings tab in the Cloud control panel (https://cloud.digitalocean.com/), clicking Edit next to Trusted sources. Here’s more on this process:

https://www.digitalocean.com/docs/databases/postgresql/how-to/secure/

This will still require password authentication during login which pg_hba.conf adjustments would allow you to bypass although our managed databases do not provide file system access to the underlying server so this isn’t possible to accomplish.

If you have any issues with setting trusted sources or authenticating, feel free to reach out to our Support team who are always happy to help out!

Swimmingly, Garrett Jansen Developer Support Engineer DigitalOcean

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.