Droplet Plan for WordPress + Mean Stack

Posted October 17, 2016 3.7k views


We are currently developing a project that involves running 2 Web applications together, being them WordPress (PHP + MySql) and a Mean Stack Project (Nodejs + MongoDB).

Is it possible to get both to run in a 512MB Droplet (5$/m)?

And if not, would 2 droplet’s of the same size or the 10$/m one suffice for it?

We are working with a company as a part of a college project, and they show the need to have both technologies running at the lowest price possible, so performance may not be a priority in this scenario.

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.

Submit an Answer
2 answers


$5 Droplet will not be able to run WordPress. WordPress runs with MySQL which requires at least 1 GB of RAM. It can be made working on $5 with Swap, but I would not recommend it.
About MEAN stack, I have one $5 Droplet that is working OK with it.
Going WordPress + MEAN stack on one $5 Droplet will definitely not work.

I did some testing earlier and found out that MEAN stack is not so memory hungry so I would try going with one $10 Droplet for both. Also I would also Add Swap Space by following linked guide. It will make much harder for your application to fail because of Out Of Memory.

Key of that is Swap and testing. Maybe you can make even $5 Droplet + Swap working in your case, but as I said, I recommend at least $10 Droplet + Swap.

You said you’re working as part of college project. I want to let you know that if you’re student, you can get $50 in credit free from GitHub Student Pack. If you didn’t already used it and you’re student, it will be enough for 5 months to run $10 Droplet. You can also get $10 code (DONEWS - I hope it is not forbidden to share it like that, I will edit it if it is) by subscribing to DigitalOcean Newsletters. :)

by Justin Ellingwood
One of the easiest way of increasing the responsiveness of your server and guarding against out of memory errors in your applications is to add some swap space. In this guide, we will cover how to add a swap file to an Ubuntu 16.04 server. <$>[warning] [label...
  • Thanks for the answer, i’ll take a look into it, the Student’s pack is out of question since we will not be hosting the software.

I installed the Wordpress One Click App, on a 512MB droplet, it seems to run just fine.

  • Glad to know you got around it. :) About WordPress, this is new on 16.04 Image. 14.04 WP image was disabled for $5 (512MB RAM) Droplets. Anyways, as I said in initial answer I recommend adding swap as WP on 512 MB RAM can go very easily down due to sufficient memory