Hello. About this post:https://www.digitalocean.com/community/tutorials/automating-the-deployment-of-a-scalable-wordpress-site Although it is outdated, this is the most complete guide on the WordPress scaling that I see is recommend in this forum. Can I have a simple setup without so many nodes and then scale? Is there a best way or starting point to create a simple infrastructure and then scale if necessary? I am thinking about the following configuration:

1x DO Database Managed 1vCPU-2GB + 1 failover node 2x Webservers Nginx 1vCPU-2GB 1x GlusterFS with 2 nodes(1vCPU-1GB) with replica 1x DO Load Balancing 1x Droplet 1vCPU 1GB for Redis to handler PHP sessions 1x Elastic Search Server(it is additional for improve the searches)

Digital Ocen Firewall(I’m not sure how to configure it on this infrastructure though.) Things I might use: Spaces Object Storage Spaces CDN

We do not expect to receive a lot of traffic at the beginning although this could grow over time.

I would like to know if I am overdoing it with this initial infrastructure, or if there is a simpler, but equally scalable starting point.

Thanks


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @agenteAND,

I believe that this looks like a very solid setup!

A couple of things that I would mention:

  • Run some stress tests to see how the website and the infrastructure perform under a specific load. You can learn more about this here:

https://www.digitalocean.com/community/tutorials/an-introduction-to-load-testing

That way you can decide how many servers you would need and pick up the right resources.

  • When you decide to go into production, I would recommend using a CDN like Cloudflare

  • If you need to scale in the future, also consider scaling vertically, meaning that you could add extra resources to your webservers for example before adding new servers.

Hope that this helps! Regards, Bobby