Skip to content

vlobzakov/bitrix24-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highly Available and Auto-Scalable Bitrix24 Cluster

Ensuring scalable performance and continuous accessibility is a task that is of highiest importance for any web project. The website of any business should always be available for customers, and the pages of the website should be loaded in the shortest possible time, regardless of factors that may or cannot affect the server. Bitrix Web Cluster offers an integrated solution that provides easily customizable and flexible scalability and accessibility for the entire web project, and not just a database or web server individually. Another feature is that Bitrix Web Cluster is extremely attractive to business owners and administrators: web -clasterization is supported at the bitrix architecture level. Web developers should not absolutely not make absolutely changes in the source code of their web projects in order to migrate into the configuration of the cluster.

Cluster Topology

While the JPS installation the following topology will be created:

Where:

  • Either highly available LiteSpeed ADC or NGINX load balancer is used for distributing the incoming traffic within a cluster

  • Web Application Firewall will be enabled by the default if LiteSpeed Web Server will be installed

  • The Bitrix24 application itself is handled by either LiteSpeed Web Server or NGINX PHP servers with preconfigured automatic horizontal scaling to handle load spikes

  • Memecached. For centralized and robust cache data storage, the Bitrix solutions takes advantage of the memcached server cluster which is in use by many web projects

  • Highly-available MariaDB Galera Cluster is used to store and operate user data. Cluster implements Galera replication topology with synchronous replication between cluster nodes

  • Traffic encryption is provided by Let's Encrypt Add-On with automatic issuing of trusted SSL certificate and Auto-Renewal

  • Premium CDN integration in order to provide lightning-fast static assets loading

  • Push server (pulling server, instant messages server) is designed to quickly exchange messages between users who enter the portal through the browser or are connected using table or mobile applications

  • NAS service is implemented via NFS shared storage to process file requests from the cluster nodes

Deployment to the Cloud

To get started, log in to Virtuozzo Application Platform dashboard, import the required manifest using the link from GitHub: https://github.com/jelastic-jps/bitrix24-cluster/blob/main/manifest.jps

In the opened confirmation window, if required, you may untick the Install LiteSpeed High-Performance Web Server, thus the NGINX load balancer and NGINX web server will be deployed instead of LiteSpeed stacks.

If required, change the Environment Name and destination Region.

After successful installation, you’ll receive emails with Bitrix Cluster admin panel URL and database access credentials. The cluster topology looks like as follows in the platform dashboard.

To start using application go to the initial Bitrix24 service setup by opening Open in Browser button in the successful installation window.

To bind a custom domain with custom SSL certificate follow the steps described in our documentation otherwise you can use Let's Encrypt Free SSL Add-On automated solution. Install the add-on on the load balancer layer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%