How to configure NGINX load balancer in Gigality?
Load Balancing is a process of distributing load across multiple components. This process is performed by a specific type of node called ‘load balancers’. In Gigality, load balancers can be added manually to the virtual environment.
Nginx is one of the most popular open-source servers in the world, which provides customers with great performance, ensuring the efficiency of their applications. Using NGINX requires no extra steps or pre-configuration. It offers a built-in Layer 7 load balancing and content caching to provide a cost-effective and highly available platform for applications hosting due to its scalability, security, and high resource usage efficiency.
1 - nginx.conf
For performing necessary configurations for NGINX balancer the nginx.conf file, located in the conf folder, is used.
File location- /etc/nginx/nginx.conf
2 - conf.d
With access to NGINX configurations, you can not only edit the existing files but also upload your own config files with custom settings to the conf.d folder.
3 - tcmaps
The tcpmaps folder contains the mappings.xml
file where you can set the redirection of the TCP balancing ports.
There you need to specify the pair of ports: one to listen to and the
other to redirect to.
Related Articles
What type of load balancing options are available with Gigality PaaS?
Load balancing is a process of traffic navigation and workload distribution across multiple components, which is performed by the dedicated type of nodes called load balancers. In Gigality PaaS such instance(s) can be manually added into the ...
How do I use HTTP Load Balancing?
Load balancing ensures high system availability through the distribution of workload across multiple components. Using multiple components with load balancing, instead of a single component, may increase reliability through redundancy. Gigality uses ...
What is shared load balancer and how it works under Gigality platform?
The Gigality Platform provides us with a Shared Load Balancer (resolver). It represents an NGINX proxy server between the client side (browser, for example) and my application, deployed to the Gigality Cloud. Shared LB processes all incoming ...
How do I use caching with NGINX balancer?
Caching in NGINX is the process of storing data in front of web servers. For example, the files a user automatically requests by looking at a web-page can be stored in your NGINX cache directory. When a user returns to a page he’s recently looked at, ...
How to install a traffic distributor on a Gigality environment?
The process of Traffic Distributor installation is fairly simple with Gigality - being specially packed for the Marketplace, it can be created in a few clicks and start working in just a matter of minutes. Herewith, the configuration of the solution ...