Currently multilingual, CirrusGrid PaaS was initially created as pure Java Cloud and still maintains a primary focus on this programming language. The maturity of the platform technology was recognized by the Java community with Duke’s Choice Award already twice (in 2012 and 2018). This guide acquaints you with the distinctive features of Java hosting within the CirrusGrid platform and lets you easily get started with a broad functionality list.
There are following Java versions and distributions available at CirrusGrid:
Note: The 6th, 9th, 10th, and 12th Java versions cannot be created within the new environments anymore due to end-of-life of the respective releases. Herewith, the already existing instances remain fully operable (including redeploy, cloning, horizontal scaling).
You can choose the preferred version while creating an environment, or change it later. These procedures are described in the Java Versions document.
Within a wide variety of software stacks, CirrusGrid supports a pure Java Engine and the following Java application servers:
Read the documentation below for additional information on Java servers specifics within the CirrusGrid PaaS:
To host a Java application, you need to create an appropriate environment. Just open the topology wizard in your CirrusGrid dashboard, navigate to the Java language tab, pick the desired Java application server, databases, and other stacks. If needed, customize settings (such as cloudlets, disk space, region, etc.) and click Create.
All added servers represent fully isolated containers, located on different hosts for more availability, while isolation eliminates the risks of interfering with one another. You can attach the Public IP address to any of these servers for being accessed directly. Otherwise (i.e. if using default settings), the incoming requests sent to your application will be proxied by Shared Load Balancer.
After environment creation, you can deploy your Java application. Herewith, Jelastic PaaS fully automates the deployment process allowing you to get the project up and running effortlessly.
The following deployment methods are supported:
You can read the appropriate documents to learn more about the deployment of the Java applications:
There are also separate instructions for working with Bitbucket GIT repositories and managing your projects via Gitblit and WebDAV.
You can bind a custom domain name to your application’s URL and use it instead of the default environment domain:
Also, with the help of the swapping domains feature or the SwapExtIps API/CLI method, you can upgrade and modify your application with zero downtime (i.e. your users won’t notice any interruption).
Note: CirrusGrid PaaS allows using multiple domains within a single environment to increase its usability, efficiency, and scalability, while simultaneously saving your costs by avoiding a need to set up separate instances for different apps. Check the appropriate examples below:
CirrusGrid PaaS dynamically provides the number of cloudlets (i.e. RAM and CPU resources), which are required by your application to handle the current load. Just specify the maximum limit, and everything else will be performed by the platform automatically – no manual intervention required. This feature is called automatic vertical scaling and ensures that you never overpay for unused capacities without experiencing a resource shortage.
To set or change the vertical scaling limit, just use the appropriate slider within the topology wizard:
In case your application becomes highly popular and a single node is not enough, feel free to scale it horizontally. Herewith, to ensure even more reliability and high-availability, all the newly added nodes are created on the different hardware nodes.
Click the +/- buttons within the Horizontal Scaling section of the topology wizard to set the required number of nodes (load balancer will be added automatically).
Also, you can adjust the preferred scaling mode:
Horizontal scaling can be performed not only manually but also automatically based on the current load on the node, which is monitored through the tunable triggers.
Within the Settings > Monitoring > Auto Horizontal Scaling section, you can adjust the scaling conditions due to your needs, i.e. the lower/upper limit (percentage) for the specified resource type during a certain period. If the load stays out of the set limits, the nodes removal/addition process will be called automatically.
There are five different types of resources, which are monitored by triggers:
The trigger starts monitoring the resource consumption immediately after addition, and when the usage level exceeds the stated limit, a trigger becomes invoked. Subsequently, if the load persists for a defined period, it will be executed, adjusting the number of nodes.
The embedded application server clustering feature provides replication of sessions between pairs of nodes and eliminates the necessity of additional software or Memcached usage for increasing application availability.
CirrusGrid provides automated session replication between Tomcat and TomEE servers with the help of multicast to gain web application high availability within the Java cluster. This High-Availability feature can be enabled in the wizard during environment creation or topology tuning.
Herewith, the newer modern Auto-Clustering solution is provided for the GlassFish, Payara, and WildFly stacks:
A set of scalable and fully manageable database servers can be easily installed within the Java environment. To establish the connection, adjust your application following the instruction based on the database you require:
CirrusGrid PaaS provides high-quality Java hosting with improved availability, redundancy, and scalability strengths for your application.
Explore the benefits of Java cloud platform with a free trial at https://www.qloud.my/
Powered by BetterDocs
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.