This all started when I found Plesk and installed it on a new $40 droplet here at DO. It’s a Standard / 8 GB / 4 vCPUs droplet with 160 GB SSD.
The reason for doing this was to find a better way to host our clients websites - mostly small / medium sites running on Wordpress. We used Rackspace at that time for hosting and it’s just silly expensive and our server (10 at that time) was mostly running on Ubuntu 14.04 which will be a problem at some point.
So we’ve transfered one by one over the last 6 months and everything is running very nice. I do however feel like I’m pushing the limits a bit to hard, and even though the load on the server is fine 99% of the time it’s struggling with keeping up if there is a DDOS attack or other peaks of some sort.
Here is the graphs for the last 7 days: https://imgur.com/a/WYkM9f7
At this point I could really use some advice on how to proceed. Should I scale vertical or horizontal?
If I where to resize the droplet there are so many options. I’m tempted to try dedicated cpu’s instead of shared cpu’s but I’m not sure how the performance gain will be? If this is the right step then I guess resizing to General Purpose / 32 GB / 8 vCPU with the same disk size would be a good choice.
Maybe I should go all-in and choose General Purpose / 64 GB / 16 vCPU? It will be 10 times the cost, but as we’re running over 60 sites on the server the cost is not an issue.
Or - am I on the wrong track? Should I focus on spinning up a dedicated MySQL DB, and create a cluster of smaller droplets behind a Load Balancer instead? Our should I put a Varnish/Redis cache in front?
Please help me make the right decision my fellow DO friends :) Thank you so much!
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.