** Untested in production - use at own risk ** - That said, this environment is heavily based on the production ready Jelastic Magento environment. There is a high confidence in its stability
OpenMage, PHP based eCommerce platform, is packaged as an advanced highly reliable and auto-scalable cluster on top of certified Jelastic dockerized stack templates with the following topology:
- Varnish load balancer is supplemented with NGINX server as HTTPS proxy
- Scalable NGINX PHP application servers with preconfigured automatic horizontal scaling to handle load spikes
- MariaDB Cluster with asynchronous master-slave replication to ensure high availability, fault tolerance and data security
- Redis Sessions node to retain user session parameters
- Redis Cache node for content cache storing
- Elastic Data Storage node for media files
Other features:
- PHP 7.4
- Lets Encrypt for SSL on default jelastic domain upon install
- Dynamic Admin Url
- N98-MageRun installed
- Fully composer based install OpenMage
- awscli tool install on frontend nodes
Click the Deploy button below, specify your email address within the widget, choose one of the Jelastic Public Cloud providers and press Install.
Note: If you are already registered at Jelastic, you can deploy this cluster by importing the package manifest raw link within the dashboard using 'IMPORT'
In the opened confirmation window at Jelastic dashboard:
- type the Environment name,
- optionally, customize its Display Name.
- set the OpenMage Locale, Timezone and Currency
Admin email will be the Jelastic environment owner email
Then, select the preferable region (if several are available in your jelastic environment) and click on Install. Once the deployment is finished, you’ll see the appropriate success pop-up with access credentials to your administration Magento panel, whilst the same information will be duplicated to your email box.
So now you can just click on the Open in browser button within the shown frame and start filling your highly available and reliable Magento installation with the required content, being ready to handle as much users as your service requires.
- Bind a custom domain via cloudlets panel
- Configure your DNS entry
- Add the domain to the Let's Encrypt plugin - do this on the Balancer
- Set the domain in OpenMage admin
- Secure PHPMyqdmin - setup IP limits to the database nodes access to PHPMydmin - This must be done else your environment as a potential hack point
- 1: Varnish based load balancer with external ip setup (https://hub.docker.com/r/jelastic/varnish/tags?page=1&ordering=last_updated)
- 2: Multiple NGINX/PHP frontend which wills scale horizontally on load. (https://hub.docker.com/r/jelastic/nginxphp/tags?page=1&ordering=last_updated)
- 3: Multiple databases with primary -> replica replication (https://github.com/jelastic-jps/mysql-cluster/)
- 4: Multiple redis services, one for cache, one for sessions
- 5: Storage node.
These are generated by the script: scripts/setings_generate.php
You simply add the ndded values to teh relevant PHP arrays. Then run the script as:
php ./scripts/settings_generate.php >./settings/populate.txt
which generates the needed textual data for the manifest. Commit and push back to teh repo and the values will be loaded up creation of environment
Fine tuning and customization: multi-cloud HA and DR, geo distributed load balancing, performance optimization, WAF, CDN and other required addons can be installed afterward on demand.
To start offering this solution to your customers please follow to Auto-Scalable Clusters for Managed Cloud Business