Public IP vs Shared Load Balancer

Jelastic Cloud provides you with a Shared Load Balancer (resolver). Shared LB is a proxy server between client side (browser, for example) and your application deployed to Jelastic. Jelastic Shared LB consists of a DNS Server, an NGINX balancer, a MySQL slave database and a health-checker.

Shared resolver processes all incoming requests sent to the domain name ({user_domain}.{hoster_domain}) where environment entry point (balancer, application server or even database) does not have a Public IP.

load balancer

In order to be protected from DDoS attacks Shared LB is limited to 50 simultaneous connections per the source address of the request.

To increase high availability of the system, Jelastic uses several Shared Resolvers for receiving requests simultaneously. As a result, there can be several entry points for users' environments used at the same time. In this way, the load can be effectively distributed. Follow the link to get more information about Resolver High Availability.

shared load balancer

Using Shared LB is recommendable for your dev and test environments. As for production environments it is much more appropriate to use more secure way of getting and processing the requests - your own Public IP. It's more stable solution with less risk to be affected by many apps which use shared load balancer.

public ip


The advantages of using Public IP:

  1. The application cannot be affected within Jelastic upgrades, even hypothetically, as all requests will bypass Shared LB.

  2. It allows you to get connection secured by means of Custom SSL feature. It means that SSL connection for your custom domain names can be established using your own custom certificates.

  3. It provides you with ability to have FTP add-on installed.

  4. If you attach Public IP to your database instance it provides you with the opportunity to work with your databases remotely. You can import and export dumps from your computer without having to login to our dashboard. And you are not restricted in data size uploading.

  5. Remote debugging is a pretty useful benefit. You can debug your code from your IDE.

  6. One more thing to consider is the capability that a Public IP lets you use web-sockets and polling. So, if you open a page with upcoming messages and expect them to be updated as soon as a new message arrives, a public IP is what you need. It is great for interactive applications.

Note: If you have Public IP enabled for any node in your environment, you can't Swap domains.

Public IP is a paid service. The pay is taken for every hour of using Public IPv4. You can set the price for one hour via JCA configuring the environment.externalip.enabled quota.