3 Wordpress sites, 2 nodejs sites and 1 lamp app.

April 13, 2015 730 views
DigitalOcean LAMP Stack Ubuntu

I hope we're allowed to post requests for advice here. If not, just let me know and I'll remove the post.

I have the following on my dedicated GoDaddy server. It's a 4 Core Windows 2008 with 8GB and 2TB drive. It runs IIS with PHP, MySQL and some custom C# software.

Right now, this is what I have running.

  • 3 Wordpress sites (average traffic).
  • C# custom web service that I'm working on (needs at least 2GBs of Ram). It downloads RSS feeds and also images (needs lots of diskspace 250GB or more).
  • MySQL (average load)
  • My email service for personal and business use.

I'm loving digital ocean, and want to migrate everything over to Ubuntu nodes. For my C# stuff I'll recompile it to run with Mono.

I need some help deciding how to set this up. I'm not sure if I should divide by service (i.e. database, apache, php, etc) or if I should divide by domains (i.e. 3 LAMP stacks each running just 1 website).

While I have the above currently running on a dedicated. I would like to add a dedicated Jenkins node to CI, and maybe host my own Git repos for private projects.

So here's what I'm thinking so far.

  • 1 database node with a private network. Provides DB for the wordpress sites.
  • 1 node for wordpress to run 3 or more websites (keep them isolated from the other nodes, because wordpress can't be trusted).
  • 1 node for running NodeJS projects.
  • 1 node for running LAMP projects (without the database).
  • 1 node for running Jenkins and the Git repos.

I'm not sure what to do about my email. I could put it on the database node, but I'm kind of getting tired of managing my own email. I've looked around for other options and most want $10/month. So I might just go that route (like gmail for business).

Am I headed in the right direction? What kind of node will I need to run my database (MySQL). Should I put all my LAMP projects on one node, all my NodeJS projects on another? or should I have nodes for each project?

Any insights, tips or ideas are welcome.


Be the first one to answer this question.