Can I use one droplet for my website whilst another droplet for the MySQL, xmpp chat, images/videos. The problem is that I have easily exhausted my Disk space whilst I dont really need the huge RAM/CPU.
Our site, a social website has lots of images and then we are having "A Database Error Occurred. Unable to connect to your database server using the provided settings " messages often.
Will appreciate words of wisdom from a kind member
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!
One option would be to use DO private networking. Where one droplet would host your application server and the other would hold the database. Or maybe have your master droplet remote mount directories from your slave droplet. In both examples, you would probably want all of those resources only directly accessible behind the firewall. NOTE: private networking need to be located in the same data center, last time I looked.
Another tool to use with multiple droplets is to use DNS to seperate your URI’s, such as one droplet serving your http or https URIs, and another droplet being your ftp resource. Even though both droplets would be directly accessible, you can still use private networking between your droplets to have your server apps talk to your privately networked database.
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.