By Ervin Jason
hello,
so I’ve been considering hosting my applications on DigitalOcean.
It’s a React frontend application and a NodeJS express backend API application with MySQL database, should I choose in this case 2 droplets (1 for frontend and 1 for backend with the managed database) or can this be done on 1 droplet with managed database.
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!
Hi @ervinjason,
You can’t use this setup on one Droplet hosting all if you want to use a Managed Database. What you can do is either have one Droplet that hosts your frontend and backend alongside MySQL together or have a Droplet for your frontend and get a Managed Database.
Either way would be fine. If you intend your App to get a lot of traffic, I’ll suggest separating the frontend and the Dabatase (Managed Database). Otherwise, if you don’t expect a lot of traffic in the beginning, one Droplet should suffice.
Well, I think It depends on you. Which is best for you nor which is not for you? Because you used it according to your own will not either someone’s suggestion. Maybe the app that someone recommended is good for him not for you.
My opinion is that it depends on you. Is one better for you than the other? Due to the fact that you used it according to your own will, not due to someone else’s suggestion. There is a possibility that you won’t benefit from the app that someone recommended.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.