Special Offer On Reseller Hosting - Starting at ₹5000/Year + 5 Free cPanels
Jelastic PaaS (Platform-as-a-Service) is capable to provide an integrated fast, flexible, highly scalable, and lightweight NodeJS application server. In order to make the hosting process convenient for the developers, it is automatically provided with server management and optimization tools.
If we want to run a Node.js application successfully, we must set an appropriate environment. For this, we will have to use the intuitive and powerful Topology Wizard.
Move to Node.js tab >> Select the latest engine version >> Add any required software stack.
As per your needs, you can adjust the parameters like cloudlets and nodes count, and Public IPv4 or IPv6.
Supported Node.js versions: 6.11.5 - 6.14.1 || 8.9.0 - 8.11.3 || 9.0.0 - 9.11.1 || 10.0.0 - 10.8.0
Select the required Node.js version from the topology wizard as per your needs to create a new environment or to adjust it for the existing environment.
A Jelastic PaaS can automate the Node.js application deployment process in the managed NodeJS application servers simply by:
To learn more about the deployment of Node.js applications, read these documents - Deployment Manager, Deployment Guide, Auto-Deploy Overview & Deployment Hooks
Each NodeJS application server has a built-in development tool known as Package Manager, which works to provide automation in the installation, removal, update, configuration, and standardization processes.
Jelastic can support two types of package managers:
For the Node.js applications servers, npm is the first preferences but it can be switched to yarn, anytime. To do so, you need to access the container variables frame, then set the PACKAGE_MANAGER value to npm or yarn.
Process Managers provide the ability to control application lifecycle, monitor running services and maintain the project operability. Jelastic PaaS provides support of the following process managers for the NodeJS stack:
npm - initiates and configures multiple processes
pm2 - provides a huge variety of application management features, including the launched Node.js processes monitoring
forever - allows running your Node.js processes continuously and automatically restarting them upon failure
supervisor - monitors running applications for changes and automatically restarts required ones to keep them up-to-date
Users can choose the necessary process manager during container redeployment or by adjusting the PROCESS_MANAGER variable (using forever, npm, pm2 or supervisor as value, container restart is needed to apply new options).
Your Node.js application can be easily supplemented with the custom domain name to be used instead of the default one. There are two options based on your environment topology:
CNAME redirect if using Shared Load Balancer; is recommended for dev and test environments DNS A Record if using Public IP; can handle high traffic load and is suitable for production environments Also, you can quickly switch traffic between your environments (e.g. to redirect customers to the newer application version without downtime) by utilizing the swap domains functionality or with the help of the SwapExtIps API/CLI method.
Jelastic PaaS dynamically provide the precise quantity of resources (RAM and CPU) required by way of your nodes in line with the present-day load with no manual intervention required.
As a result, you never overpay for unused resources and store your time because the platform eliminates the need to handle the load-related adjustments or architectural changes.
You just need to set the top cloudlets restriction (every one equals to 128 MiB of RAM and four hundred MHz of CPU) in your NodeJS utility server and the whole thing else will be dealt with via the platform automatically.
Refer to the automated vertical scaling documentation for extra information.
To scale out/in NodeJS utility servers, you want to get entry to the topology wizard and click on the +/- buttons in the Horizontal Scaling phase to set the desired variety of nodes.
Also, beginning with the five.five platform version, you can adjust the preferred scaling mode:
The most quantity of the same-type servers within an unmarried surroundings layer relies upon a specific hosting provider setting (usually this restrict stands for 16 nodes and can be enlarged by sending the correct request to support).
Also, for the proper request distribution, a load balancer instance is automatically introduced upon NodeJS server scaling. Refer to the horizontal scaling documentation for more details.
Access the environment Settings > Monitoring > Auto Horizontal Scaling segment to installation special tunable triggers, which allow to increase or decrease the range of nodes because of the application load.
Configure the kind of aid to be monitored (CPU, RAM, Network, Disk) and the exact circumstance of scaling. Learn greater approximately computerized horizontal scaling in the linked document.
In addition, hosting at Jelastic allows the use of different inbuilt equipment and features, for example:
As you can see, Jelastic PaaS is suitable to provide all the necessary conditions for a smooth Node.js hosting! You can get your free trial account from us, Everdata!
EverData, a top Web hosting and data center services company in India, provides a 7-day money-back guarantee on all our services. Our devotion towards client satisfaction is completely proven by our 7 days' money-back policy, which allows our clients to try out their services risk-free and make an informed decision about their web hosting needs.