Multi-Subdomain WordPress Docker Swarm with Jelastic on MirHosting.com Cloud

Has anyone successfully setup multiple subdomain WordPress Docker Swarms using Jelastic on MirHosting.com’s cloud Docker service?

My application’s requirement is as follows:

A third party application using its own MySQL database manages and authenticates the Users of the WordPress site providing access/restrict content on certain distinct WordPress subdomains without using WP-Multisite. I would like to utilize Docker containers for the WordPress instances and their replicated MySQL databases to save on hosting costs, increase performance, high availability and overall robustness of the site via auto-scaling. My understanding is Docker’s Swarm and Jelastic is suppose to automatically scale all of the Docker containers as traffic increases or decreases.

I’m looking for some guidance on the setup; how to secure, backup and safely manage the swarms so things don’t all come crashing down. Also, utilize a swarm of NGINX Docker instances for the frontend to handle reverse proxy and load balancing. I can work with either Ubuntu or Centos as my base OS for the Docker containers. Lastly, how one can manage the updates easily, cost effectively and efficiently to this potential Hornet’s nest.

The Architecture of the site may look something like the following:

a) Cloudfare (CDN, Firewall, SSL)

b) NGINX Docker Swarm (Reverse Proxy & Load Balancing)

c) Third Party Authentication App & MySQL replication database Docker Swarm

d) Primary WordPress & MySQL replication database Docker Swarm-Primary

e) Subdomain-1 WordPress & MySQL replication database Docker Swarm-1

f) Subdomain-2 WordPress & MySQL replication database Docker Swarm-2

g) Subdomain-3 WordPress & MySQL replication database Docker Swarm-3

h) Subdomain-n WordPress & MySQL replication database Docker Swarm-n

I do not want to utilize WP-Multisites due to its performance and scalability constraints. Hence, the above architecture. I look forward to your responses.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.