Report this

What is the reason for this report?

Share database between droplets in VPC Network

Posted on June 1, 2020

I have several droplets and use ServerPilot. Is it possible to access the database in one droplet from another when they are in the same VPC? I followed the VPC instructions and am able to ping the Private IPs between droplets, but it’s not letting me connect to a database in PHP.

My databases are created using ServerPilot. If this is a firewall issue it looks like I would neat a subscription with HeatShield for custom firewall rules, but I would prefer not to get another subscription.

I created a Managed Database and that works in multiple droplets, but I was wondering if this is possible without needing the Managed Database.

Thank you

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.