Infrastructure droplets app to database

Hello guys

I would like to know how to create an infrastructure in digitalocean between 2 droplets one for application (php, nginx …) and another for database (mysql, mongo, redis …)

How do I free up access from the database to the application droplet

Does anyone have any tutorials?

Thank you


Submit an 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. There no tutorial on infrastructure really, it’s more over you need to know what you’re doing already if you’re going to be managing one otherwise just read mysql docs.

Why do you want it split between two droplets?