<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>loadbalance Archives - ServerStadium</title>
	<atom:link href="https://serverstadium.com/knowledge-base/tag/loadbalance/feed/" rel="self" type="application/rss+xml" />
	<link>https://serverstadium.com/knowledge-base/tag/loadbalance/</link>
	<description>Public Cloud Solution by ServerStadium</description>
	<lastBuildDate>Tue, 09 Dec 2025 06:15:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://serverstadium.com/wp-content/uploads/2023/04/cropped-favicon-1-32x32.png</url>
	<title>loadbalance Archives - ServerStadium</title>
	<link>https://serverstadium.com/knowledge-base/tag/loadbalance/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Set Up WAF KEMP in ServerStadium Part 2</title>
		<link>https://serverstadium.com/knowledge-base/set-up-waf-kemp-in-serverstadium-part-2/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Wed, 25 May 2022 09:29:06 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=2042</guid>

					<description><![CDATA[<p>INTRODUCTION Hello! Still discussing about WAF KEMP; now let&#8217;s continue to add setup some WAF rules on the SubVS of virtual services. Kemp Web Application Firewall (WAF) services are natively integrated into the Kemp LoadMaster. This enables secure deployment of web applications, preventing Layer 7 attacks while maintaining core load balancing services and ensuring superior&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/set-up-waf-kemp-in-serverstadium-part-2/">Set Up WAF KEMP in ServerStadium Part 2</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">INTRODUCTION</h2>



<p class="wp-block-paragraph">Hello! Still discussing about WAF KEMP; now let&#8217;s continue to add setup some WAF rules on the <strong>SubVS </strong>of <strong>virtual services.</strong></p>



<p class="wp-block-paragraph">Kemp Web Application Firewall (WAF) services are natively integrated into the Kemp LoadMaster. This enables secure deployment of web applications, preventing Layer 7 attacks while maintaining core load balancing services and ensuring superior application delivery and security. WAF functionality directly augments the LoadMaster&#8217;s existing security features to create a layered defense for web applications &#8211; enabling safe, compliant, and productive use of published services.</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">WAF KEMP DEFAULT RULES</h2>



<p class="wp-block-paragraph">KEMP WAF has default rules that update daily.</p>



<p class="wp-block-paragraph">This setting can be found at <strong>Web Application Firewall &gt; Access Settings.</strong></p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="776" height="269" class="wp-image-2044" src="https://serverstadium.com/wp-content/uploads/2022/04/KEMP-Default-RULES.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2022/04/KEMP-Default-RULES.png 776w, https://serverstadium.com/wp-content/uploads/2022/04/KEMP-Default-RULES-300x104.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/KEMP-Default-RULES-768x266.png 768w" sizes="(max-width: 776px) 100vw, 776px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">WAF KEMP CUSTOM RULES</h2>



<p class="wp-block-paragraph">You can also write and upload your own custom rules if required.</p>



<p class="wp-block-paragraph">With the WAF-enabled LoadMaster, you can choose whether to use Kemp-provided rules, custom rules which can be uploaded, or a combination of both.</p>



<p class="wp-block-paragraph">The writing in WAF KEMP has a similar syntax to ModSec writing rules.</p>



<p class="wp-block-paragraph">The ModSecurity Reference Manual should be consulted in any cases where questions arise relating to the syntax of commands: <a href="https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual">https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual</a></p>



<p class="wp-block-paragraph">After writing some custom rules, you can upload them to KEMP through the following menu.</p>



<p class="wp-block-paragraph"><strong>Web Application Firewall &gt; Custom Rules</strong> <strong>&gt; Browse &gt; Add Ruleset</strong></p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" class="wp-image-2045" src="https://serverstadium.com/wp-content/uploads/2022/04/KEMP-custom-rules.png" alt="" width="752" height="274" srcset="https://serverstadium.com/wp-content/uploads/2022/04/KEMP-custom-rules.png 1413w, https://serverstadium.com/wp-content/uploads/2022/04/KEMP-custom-rules-300x109.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/KEMP-custom-rules-1024x373.png 1024w, https://serverstadium.com/wp-content/uploads/2022/04/KEMP-custom-rules-768x280.png 768w" sizes="(max-width: 752px) 100vw, 752px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">WAF KEMP DEMO</h2>



<p class="wp-block-paragraph">I&#8217;ve added some rules that block access from my device IP. The rules syntax is as the following:</p>



<pre class="wp-block-code"><code>SecRule REMOTE_ADDR "@ipMatch 125.164.9.70" \
id:99999,phase:1,t:none,log,deny,ctl:ruleEngine=off</code></pre>



<p class="wp-block-paragraph">If the rule is applied to the <strong>SubVs</strong>, my device will get an <strong>Access denied </strong>message from accessing the website.</p>



<p class="wp-block-paragraph">Now go to <strong>Virtual Services &gt; your 443 or 80 Virtual IP Address &gt; your SubVSs</strong> <strong>&gt; Modify</strong></p>



<p class="wp-block-paragraph">To enable the WAF rules, <strong>check </strong>the <strong>Enabled </strong>box on the <strong>WAF </strong>panel.</p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" class="wp-image-2047" src="https://serverstadium.com/wp-content/uploads/2022/04/WAF-enabled.png" alt="" width="764" height="394" srcset="https://serverstadium.com/wp-content/uploads/2022/04/WAF-enabled.png 1354w, https://serverstadium.com/wp-content/uploads/2022/04/WAF-enabled-300x155.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/WAF-enabled-1024x528.png 1024w, https://serverstadium.com/wp-content/uploads/2022/04/WAF-enabled-768x396.png 768w" sizes="(max-width: 764px) 100vw, 764px" /></figure>



<p class="wp-block-paragraph">To apply the BLOCK-IP.conf WAF custom rule, just scroll down the rules on the <strong>Manage Rules </strong>column, check the <strong>BLOCK-IP </strong>rules, and apply them to the <strong>SubVs</strong>.</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-2049" src="https://serverstadium.com/wp-content/uploads/2022/04/BLOCK-ip.png" alt="" width="765" height="242" /></figure>



<p class="wp-block-paragraph">Here is the result before and after the rules, applied to the <strong>SubVs.</strong></p>



<p class="wp-block-paragraph"><strong>Before applying the rule</strong></p>



<figure class="wp-block-image size-full"><img decoding="async" class="wp-image-2051" src="https://serverstadium.com/wp-content/uploads/2022/04/before-applied-1.png" alt="" /></figure>



<p class="wp-block-paragraph"><strong>After applying the rule</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="495" height="148" class="wp-image-2052" src="https://serverstadium.com/wp-content/uploads/2022/04/after-applied.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2022/04/after-applied.png 495w, https://serverstadium.com/wp-content/uploads/2022/04/after-applied-300x90.png 300w" sizes="(max-width: 495px) 100vw, 495px" /></figure>



<p class="wp-block-paragraph">You can also inspect the <strong>WAF Event log</strong> to see if the rule is read by the system.</p>


<p>2022-04-09T19:28:51+00:00 lb100 wafd: [client 125.164.9.70] ModSecurity: Access denied with code 403 (phase 1). IPmatch: &#8220;125.164.9.70&#8221; matched at REMOTE_ADDR. [file &#8220;/tmp/waf/6/BLOCK-IP.conf&#8221;] [line &#8220;2&#8221;] [id &#8220;99999&#8221;] [hostname &#8220;6.5 (subahmadcloud)&#8221;] [uri &#8220;/&#8221;] [unique_id &#8220;dce9c392-cd01-490f-adaf-755c64e3242a&#8221;] 2022-04-09T19:28:52+00:00 lb100 wafd: [client 125.164.9.70] ModSecurity: Access denied with code 403 (phase 1). IPmatch: &#8220;125.164.9.70&#8221; matched at REMOTE_ADDR. [file &#8220;/tmp/waf/6/BLOCK-IP.conf&#8221;] [line &#8220;2&#8221;] [id &#8220;99999&#8221;] [hostname &#8220;6.5 (subahmadcloud)&#8221;] [uri &#8220;/&#8221;] [unique_id &#8220;c19d2e9e-c2c5-4c35-a6fc-c63235f5eb35&#8221;] 2022-04-09T19:35:28+00:00 lb100 wafd: [client 125.164.9.70] ModSecurity: Access denied with code 403 (phase 1). IPmatch: &#8220;125.164.9.70&#8221; matched at REMOTE_ADDR. [file &#8220;/tmp/waf/6/BLOCK-IP.conf&#8221;] [line &#8220;2&#8221;] [id &#8220;99999&#8221;] [hostname &#8220;6.5 (subahmadcloud)&#8221;] [uri &#8220;/&#8221;] [unique_id &#8220;87c30379-753d-4632-8e86-48256ce6dc44&#8221;] 2022-04-09T19:35:29+00:00 lb100 wafd: [client 125.164.9.70] ModSecurity: Access denied with code 403 (phase 1). IPmatch: &#8220;125.164.9.70&#8221; matched at REMOTE_ADDR. [file &#8220;/tmp/waf/6/BLOCK-IP.conf&#8221;] [line &#8220;2&#8221;] [id &#8220;99999&#8221;] [hostname &#8220;6.5 (subahmadcloud)&#8221;] [uri &#8220;/&#8221;] [unique_id &#8220;a507ea93-eec2-41d1-9532-4978db0f06c7&#8221;]</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">CONCLUSION</h2>



<p class="wp-block-paragraph">Though it is a long work process, it is still worth starting with. If you miss part 1, please read it <strong>here.</strong></p>
<p>The post <a href="https://serverstadium.com/knowledge-base/set-up-waf-kemp-in-serverstadium-part-2/">Set Up WAF KEMP in ServerStadium Part 2</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Set Up WAF KEMP in ServerStadium Part 1</title>
		<link>https://serverstadium.com/knowledge-base/set-up-waf-kemp-in-serverstadium-part-1/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Wed, 25 May 2022 05:06:07 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=1901</guid>

					<description><![CDATA[<p>While KEMP LoadMaster can bring a solution to distribute the web workload, KEMP also has a feature to harden the Web Application by utilizing the WAF (Web Application Firewall). WAF or Web Application Firewall helps protect web applications by filtering and monitoring HTTP/s traffic between a web application and the internet. The typical protection of&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/set-up-waf-kemp-in-serverstadium-part-1/">Set Up WAF KEMP in ServerStadium Part 1</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">While KEMP LoadMaster can bring a solution to distribute the web workload, KEMP also has a feature to harden the Web Application by utilizing the WAF (Web Application Firewall).</p>



<p class="wp-block-paragraph">WAF or Web Application Firewall helps protect web applications by filtering and monitoring HTTP/s traffic between a web application and the internet. The typical protection of WAF can provide, such as cross-site forgery, cross-site-scripting (XSS), file inclusion, and SQL injection.</p>



<p class="wp-block-paragraph">The original product of KEMP Technologies can be found at https://kemptechnologies.com/</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Licensing</h2>



<p class="wp-block-paragraph">KEMP VLM has two types of licenses, the paid one and the trial one.</p>



<p class="wp-block-paragraph">You can go with the paid license for a production environment since it will unlock all KEMP VLM&#8217;s features.</p>



<p class="wp-block-paragraph">However, we will go with the trial license in this section since we don&#8217;t need to go to a production environment yet.</p>

<p>Please register your account <a href="https://sso.kemp.ax/register/kemp/vlm?sfstate=AQAAAAQAAAAJLnJlZGlyZWN0KC9TaXRlZmluaXR5L0F1dGhlbnRpY2F0ZS9PcGVuSUQvY2FsbGJhY2sIc2lnbmluaWQgNjI3MDMyYWNkNWQ5OGMwNWU4OWY3NDFlNjIwMzVhODUYa2F0YW5hQXV0aGVudGljYXRpb25UeXBlGktlbXBBdXRoZW50aWNhdGlvblByb3ZpZGVyCmluaXRpYWxVcmw0aHR0cHM6Ly9rZW1wdGVjaG5vbG9naWVzLmNvbS92bG0tZG93bmxvYWQtaHlwZXJ2aXNvcg2">Here &#8211; Start Free Trial</a> to get your free trial license.</p>

<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Create Virtual Machine</h2>

<p>First, you must deploy<a href="https://serverstadium.com/knowledge-base/deploying-a-virtual-machine-in-serverstadium/" target="_blank" rel="noopener"> a Virtual Machine</a> with KEMP VLM as a template image.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1904" src="https://serverstadium.com/wp-content/uploads/2022/04/Image-1.png" alt="" width="536" height="543" srcset="https://serverstadium.com/wp-content/uploads/2022/04/Image-1.png 536w, https://serverstadium.com/wp-content/uploads/2022/04/Image-1-296x300.png 296w" sizes="(max-width: 536px) 100vw, 536px" /></p>
<p>Access the KEMP management UI and set the new password for the administrator. Please set the password so that it will fulfill the complexity requirements.</p>
<p>The management interface should be like in this picture.</p>

<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-1907" src="https://serverstadium.com/wp-content/uploads/2022/04/Image-2.png" alt="" width="611" height="530" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Additional Private IP + Public IP</h2>



<p class="wp-block-paragraph">You need to create additional private IP and public IP since the default private IP and public IP will be used as the management interface. Please follow the steps below to add new IP to an existing VM.</p>



<ul class="wp-block-list">
<li>Navigate to KEMP VM, click <strong>Public &amp; Private IP</strong></li>
<li>Click <strong>Acquire New Private IP </strong></li>
<li>Click <strong>Acquire new Public IP</strong>, and attach the public IP to the new Private IP</li>
<li>Your newly acquired IP should be like in the following picture</li>
</ul>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-1972" src="https://serverstadium.com/wp-content/uploads/2022/04/Image-4-2.png" alt="" width="765" height="231" srcset="https://serverstadium.com/wp-content/uploads/2022/04/Image-4-2.png 1458w, https://serverstadium.com/wp-content/uploads/2022/04/Image-4-2-300x91.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/Image-4-2-1024x310.png 1024w, https://serverstadium.com/wp-content/uploads/2022/04/Image-4-2-768x232.png 768w" sizes="(max-width: 765px) 100vw, 765px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Rules &amp; Checking</h2>



<h4 class="wp-block-heading">Content Rules</h4>



<p class="wp-block-paragraph">Content Rules are needed because if two different websites use the same 1 IP on the SubVirtul Real server (SubVR), only the website in the last order can be accessed.</p>



<p class="wp-block-paragraph">Example:</p>



<figure class="wp-block-image size-full"><img decoding="async" class="wp-image-2036" src="https://serverstadium.com/wp-content/uploads/2022/04/content-tules-1.png" alt="" /></figure>



<p class="wp-block-paragraph">Assigned the <strong>content rules </strong>to each <strong>SubVS</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1365" height="127" class="wp-image-2037" src="https://serverstadium.com/wp-content/uploads/2022/04/content-rules2.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2022/04/content-rules2.png 1365w, https://serverstadium.com/wp-content/uploads/2022/04/content-rules2-300x28.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/content-rules2-1024x95.png 1024w, https://serverstadium.com/wp-content/uploads/2022/04/content-rules2-768x71.png 768w" sizes="(max-width: 1365px) 100vw, 1365px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Virtual Services</h2>



<p class="wp-block-paragraph"><strong>Virtual Services</strong> will contain an HTTP/s service held by the backend webserver.</p>



<ul class="wp-block-list">
<li>On the left pane, click <strong>add new</strong></li>
<li>Specify the parameter below:</li>
</ul>



<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td><strong>Name</strong></td>
<td><strong>Value</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>Virtual Address</td>
<td>10.1.1.108</td>
<td>Private IP of KEMP Machine</td>
</tr>
<tr>
<td>Port</td>
<td>80 or 443</td>
<td>common HTTP/s port service</td>
</tr>
<tr>
<td>Service Name (Optional)</td>
<td>http / https</td>
<td>Optional name of the service</td>
</tr>
<tr>
<td>Protocol</td>
<td>tcp</td>
<td>transport protocol with a reliable connection</td>
</tr>
</tbody>
</table>
</figure>



<p class="wp-block-paragraph">Example of virtual service configuration</p>



<figure class="wp-block-image size-full"><img decoding="async" class="wp-image-2000" src="https://serverstadium.com/wp-content/uploads/2022/04/Image-3-1.png" alt="" /></figure>



<ul class="wp-block-list">
<li>Save the <strong>Virtual Services </strong>value by clicking <b>the Add this Virtual Service button at the right </b>pane.</li>
</ul>



<h3 class="wp-block-heading"><strong>Adding and Modifying the SubVS</strong></h3>



<p class="wp-block-paragraph">This <strong>SubVS </strong>will contain each virtual host configuration of the domain.</p>



<ul class="wp-block-list">
<li>Navigate to Virtual Services &gt; <strong>View/Modify Services</strong></li>
<li>In the <strong>SubVSs </strong>row, click <strong>Add New </strong>button on the right of the pane</li>
<li>For HTTP <strong>SubVs</strong>, we only need to set a nickname and add HTTP as a <strong>Real Server </strong>protocol</li>
<li><strong>Real Server </strong>will be the webserver behind the KEMP VLM</li>
</ul>



<p class="wp-block-paragraph">Example of HTTP <strong>SubVs </strong>and <strong>Real Server</strong> configuration</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="506" height="285" class="wp-image-2007" src="https://serverstadium.com/wp-content/uploads/2022/04/HTTP-RealServer.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2022/04/HTTP-RealServer.png 506w, https://serverstadium.com/wp-content/uploads/2022/04/HTTP-RealServer-300x169.png 300w" sizes="(max-width: 506px) 100vw, 506px" /></figure>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" class="wp-image-2009" src="https://serverstadium.com/wp-content/uploads/2022/04/HTTP-SubVS.png" alt="" width="761" height="621" srcset="https://serverstadium.com/wp-content/uploads/2022/04/HTTP-SubVS.png 971w, https://serverstadium.com/wp-content/uploads/2022/04/HTTP-SubVS-300x245.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/HTTP-SubVS-768x627.png 768w" sizes="(max-width: 761px) 100vw, 761px" /></figure>



<h3 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">HTTPS Virtual Service</h3>



<p class="wp-block-paragraph">Assuming you have an SSL certificate and want access to your domain through an HTTPS connection.</p>



<p class="wp-block-paragraph">First, Please create <strong>Virtual Services </strong>with 443 as a listening port.</p>





<p class="wp-block-paragraph">You may set the <strong>Real Server </strong>with an 80 port since the SSL termination will be on the KEMP side.</p>



<h4 class="wp-block-heading">Certificate &amp; Security</h4>

<p>Import the SSL certificate of your domain to <a href="https://support.kemptechnologies.com/hc/en-us/articles/115003853166-How-To-Import-SSL-Certificates-To-Your-LoadMaster" target="_blank" rel="noopener">KEMP LoadMaster</a>.</p>
<p>Then assign the available certificate to 443 <strong>Virtual Services</strong></p>

<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="970" height="297" class="wp-image-2038" src="https://serverstadium.com/wp-content/uploads/2022/04/ssl.png" alt="" srcset="https://serverstadium.com/wp-content/uploads/2022/04/ssl.png 970w, https://serverstadium.com/wp-content/uploads/2022/04/ssl-300x92.png 300w, https://serverstadium.com/wp-content/uploads/2022/04/ssl-768x235.png 768w" sizes="(max-width: 970px) 100vw, 970px" /></figure>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">Conclusion</h2>

<p>Almost there! We will continue to add some WAF rules in the next part. Please visit article part 2!</p><p>The post <a href="https://serverstadium.com/knowledge-base/set-up-waf-kemp-in-serverstadium-part-1/">Set Up WAF KEMP in ServerStadium Part 1</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ServerStadium Load Balancer, Solution to Distribute Load Equally</title>
		<link>https://serverstadium.com/knowledge-base/serverstadium-load-balancer-solution-to-distribute-load-equally/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Wed, 12 Jan 2022 11:27:11 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=1710</guid>

					<description><![CDATA[<p>Introduction Load Balancer is a single point entry to distribute the load between servers and can act as a proxy for the backend server behind it. ServerStadium load balancer implements a TCP-level with three policies: round-robin, Least connection, and Source IP. Round-robin load balancing: Client requests are forwarded to each server in turn Least connection&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/serverstadium-load-balancer-solution-to-distribute-load-equally/">ServerStadium Load Balancer, Solution to Distribute Load Equally</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><span style="color: #3366ff;">Introduction</span></h2>
<p><strong>Load Balancer</strong> is a single point entry to distribute the load between servers and can act as a proxy for the backend server behind it. ServerStadium load balancer implements a TCP-level with three policies: <strong>round-robin</strong>, <strong>Least connection</strong>, and <strong>Source IP</strong>.</p>
<ul>
<li><strong>Round-robin</strong> load balancing: Client requests are forwarded to each server in turn</li>
<li><strong>Least connection</strong> load balancing: Client requests are distributed to the backend server with the least number of active connections at the time the client request is received.</li>
<li><strong>Source IP</strong> load balancing: This type of load balancing uses an algorithm that takes the source and destination IP addresses of the client and server to generate a unique hash key. This key is used to allocate the client to a particular server. As the key can be regenerated if the session is broken, this load-balancing method can ensure that the client is directed to the same server previously used.</li>
</ul>
<h2><span style="color: #3366ff;">Creating a Load Balancer</span></h2>
<ol>
<li>Login to your ServerStadium management portal</li>
<li>Navigate to <strong>Networking &gt; Load Balancer</strong></li>
<li>Click <strong>Add New Load Balancer</strong></li>
<li>Input the required value displayed by the dialog box</li>
</ol>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-1712" style="border: 3px; border-style: solid; border-color: #FF0000; padding: 1em;" src="https://serverstadium.com/wp-content/uploads/2021/12/1.png" alt="" width="411" height="566" srcset="https://serverstadium.com/wp-content/uploads/2021/12/1.png 509w, https://serverstadium.com/wp-content/uploads/2021/12/1-218x300.png 218w" sizes="(max-width: 411px) 100vw, 411px" /></p>
<ul>
<li style="list-style-type: none;">
<ul>
<li><strong>Location: </strong>Jakarta</li>
<li><strong>Load Balancer Name: </strong>the name of your load balancer rule</li>
<li><strong>Algorithm: </strong>Choose your desired load balancer algorithm (round-robin, least connection, and Source IP Hash)</li>
<li><strong>Public Port: </strong>Input your public-facing port</li>
<li><strong>Private Port: </strong>Input your private port (the listened port at your instances)</li>
<li><strong>Public IP for LoadBalancer</strong><strong>: </strong>Choose <strong>Acquire Automatically</strong> if you don&#8217;t have any Public IP or want to acquire new Public IP, otherwise please choose the available Public IP in your load balancer</li>
</ul>
</li>
</ul>
<ol start="5">
<li>Click <strong>Add Load Balancer</strong> and wait until the provisioning is completed</li>
</ol>
<h2><span style="color: #3366ff;">Assigning Backend Server</span></h2>
<ol>
<li>Click Configure on the newly created Load Balancer</li>
<li>Click <strong>Assign new VM</strong>, and choose the specific VMs as the backend servers for the load balancer</li>
<li>The final result should be like the below pictures</li>
</ol>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-1781" style="border: 3px; border-style: solid; border-color: #FF0000; padding: 1em;" src="https://serverstadium.com/wp-content/uploads/2022/01/5.png" alt="" width="724" height="312" /></p>
<ol start="4">
<li>No need to assign IP Public to the VM, because you only need the loadbalancer IP Public in front of your servers.</li>
</ol>
<h2><span style="color: #3366ff;">Testing the Load Balancer</span></h2>
<p>Let&#8217;s test the load balancer to see if this works. We are gonna use the <em>round-robin</em> as load balancer algorithm. The expected result is, the traffic will forwarded to one web server and another, everytime request been made.</p>
<pre>Here, we test using a curl command from <em>command line</em>. The syntax will be like <em>curl http://&lt;load balancer IP&gt;:8080/ 
</em><span style="color: #ff0000;">curl http://202.43.248.249:8080/

</span><img loading="lazy" decoding="async" class="alignnone wp-image-1780" src="https://serverstadium.com/wp-content/uploads/2022/01/4.png" alt="" width="723" height="240" /></pre>
<h2>Conclusion</h2>
<p>If you plan deploy multiple VMs as Web workers or another app that required multiple computing machines, best to deploy the loadbalancer to distribute the load balancely.</p>
<p>To get more tips and tutorial article you can check on ServerStadiums&#8217;s <a href="https://ServerStadium.com/knowledge-base/"><strong>Knowledge base</strong></a><strong>.</strong> Or even better, you can <a href="https://cp.ServerStadium.com/regist-user"><strong>sign up</strong></a> now for <strong>free </strong>in ServerStadium to try our dashboard and feature.</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/serverstadium-load-balancer-solution-to-distribute-load-equally/">ServerStadium Load Balancer, Solution to Distribute Load Equally</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Load Balancing in ServerStadium</title>
		<link>https://serverstadium.com/knowledge-base/load-balancing-in-serverstadium/</link>
		
		<dc:creator><![CDATA[Brian K]]></dc:creator>
		<pubDate>Tue, 15 Sep 2020 07:27:11 +0000</pubDate>
				<guid isPermaLink="false">https://cloudraya.com/knowledge-base/?p=232</guid>

					<description><![CDATA[<p>Load Balancing is a technique for distributing traffic loads on two or more connection lines in a balanced way so the traffic can run optimally, maximize throughput, minimize response time, and avoid overloading one of the connection lines. As your server is growing and your visitor/user is increasing, you will need a good load-balancing system.&#8230;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/load-balancing-in-serverstadium/">Load Balancing in ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Load Balancing is a technique for distributing traffic loads on two or more connection lines in a balanced way so the traffic can run optimally, maximize throughput, minimize response time, and avoid overloading one of the connection lines.</p>



<p class="wp-block-paragraph">As your server is growing and your visitor/user is increasing, you will need a good load-balancing system. You may know some popular load balancing systems such as Nginx, HAProxy, Balance, Pen, etc. However, you will need experience in setting up these systems. Of course, it is not easy to set up.</p>



<p class="wp-block-paragraph">Don&#8217;t worry; ServerStadium can do the magic.<br />Once you log into the control panel https://cp.serverstadium.com, there is a menu on the left side of the dashboard. You can click &#8220;Networking&#8221; and then choose &#8220;Load Balance&#8221;</p>



<h2 class="has-vivid-cyan-blue-color has-text-color wp-block-heading">How to Set Your Load Balancing System Up in ServerStadium</h2>



<div class="schema-how-to wp-block-yoast-how-to-block">
<p class="schema-how-to-description">Follow these seven easy and simple steps to load balance in ServerStadium.</p>
<ol class="schema-how-to-steps">
<li id="how-to-step-1599275194921" class="schema-how-to-step"><strong class="schema-how-to-step-name">Please click &#8220;Add New Load Balancer&#8221; to add your Loadbalance</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1130" height="372" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist.png 1130w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist-300x99.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist-1024x337.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lblist-768x253.png 768w" sizes="(max-width: 1130px) 100vw, 1130px" /></p>
</li>
<li id="how-to-step-1599275974547" class="schema-how-to-step"><strong class="schema-how-to-step-name">Please fill the box with your desired location and name</strong>
<p class="schema-how-to-step-text">For the Algorithm, there is three methods that you can choose:<br /><br />* <strong>Round Robin</strong> is a simple way to distribute the load to each server or virtual machine in turn. If you have 3 VMs or members in a load balancer group, the inbound request will be passed on to the 3 VMs in turn. VM-1 will first get the 1st request, then the 2nd request will be directed to VM-2, and the 3rd request will be directed to VM-3. Finally, VM-1 will get the 4th request, and so on.<br /><br />* <strong>Least Connection</strong> method uses or tracks the number of requests or connections to the VM and decides based on those numbers. The member who has the least connection is chosen to accept that request.</p>
<p class="schema-how-to-step-text"><br />* <strong>Source or source IP</strong> hash method in a way that the source and the destination IP addresses are hashed, which will make it sticky to that particular member or the VM that accepts the request.<br /><br /><img loading="lazy" decoding="async" width="444" height="553" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbcreate.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbcreate.png 444w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbcreate-241x300.png 241w" sizes="(max-width: 444px) 100vw, 444px" /></p>
</li>
<li id="how-to-step-1599276180411" class="schema-how-to-step"><strong class="schema-how-to-step-name">After creating some Loadbalance rule, it will show like this</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1141" height="405" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2.png 1141w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2-300x106.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2-1024x363.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbmenu2-768x273.png 768w" sizes="(max-width: 1141px) 100vw, 1141px" /></p>
</li>
<li id="how-to-step-1599277202870" class="schema-how-to-step"><strong class="schema-how-to-step-name">To add the VM that you desire to loadbalance, please click &#8220;Configure&#8221;</strong>
<p class="schema-how-to-step-text"> </p>
</li>
<li id="how-to-step-1599277239410" class="schema-how-to-step"><strong class="schema-how-to-step-name">You will be redirected to the VM list; please click &#8220;Assign new VM&#8221;</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1166" height="505" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm.png 1166w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm-300x130.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm-1024x443.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm-768x333.png 768w" sizes="(max-width: 1166px) 100vw, 1166px" /></p>
</li>
<li id="how-to-step-1599277368196" class="schema-how-to-step"><strong class="schema-how-to-step-name">After assigning the VM, you will see it in the list of Assigned VM.</strong>
<p class="schema-how-to-step-text"><img loading="lazy" decoding="async" width="1171" height="511" src="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2.png" class="attachment-full size-full" alt="" style="max-width: 100%; height: auto;" srcset="https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2.png 1171w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2-300x131.png 300w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2-1024x447.png 1024w, https://serverstadium.com/wp-content/uploads/2020/09/cr_lbaddvm2-768x335.png 768w" sizes="(max-width: 1171px) 100vw, 1171px" /></p>
</li>
<li id="how-to-step-1599277449579" class="schema-how-to-step"><strong class="schema-how-to-step-name">You can assign VM more than 2 for better performance in accordance with the visitors</strong>
<p class="schema-how-to-step-text"> </p>
</li>
</ol>
</div>



<p class="wp-block-paragraph">Done; you have your Loadbalance system on your VM in just 7 steps!</p>



<p class="wp-block-paragraph">&nbsp;</p>
<p>The post <a href="https://serverstadium.com/knowledge-base/load-balancing-in-serverstadium/">Load Balancing in ServerStadium</a> appeared first on <a href="https://serverstadium.com">ServerStadium</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
