Security and Important Benefits of using Cloudlinux.Inder
What is CloudLinux ?
Cloudlinux provides cloudlinux operating system mainly a OS, which is a modified kernel based on an OpenVZ kernel and with just few steps it is easily interchangeable with the current CentOS kernel. Working in a shared hosting environment can be quite challenging and more importantly you need to keep the resources intact thus not allow to abuse the server resources. There are situations when there is a sudden spike in the resource usage or an increase in traffic and more potentially DDOS attack on the server. These are the most challenging situations that a server administrator has to cope on a day to day basis. Cloudlinux which was launched in 2010, can be quite useful in order to achieve a high stability on the shared server environments. Refer here for more details What is Cloudlinux ?
So what are the challenges faced in a shared hosting environment ?
On a shared hosting server there are hundreds to thousands of websites that are hosted and the server administrator has a limited control over the resources used by these websites and it’s quite difficult to limit CPU, RAM and other resources to each website. If one of the website is grabbing most of the server resources, then it may be due to heavy traffic or poorly written scripts or the website under DDOS attack. Such situations can lead to downtime for rest of the websites on the server or it can even make the server unresponsive. This will adversely affect the rest of the clients hosting their websites and eventually leading to unhappy customers.
How Cloudlinux handle these situations.
Cloudlinux provides LVE (Light weight environment) + CAGEFS that encapsulate a website in the virtual isolated environment. Using this technology, the resources can be limited, monitored, managed by using a graphical user interface tool LVE manager. It’s just a one script install “yum install lvemanager”.
cPanel LVE interface looks as below.
The current usage table refresh every 10 seconds and you can change the value form the dropdown box in front of Auto-refresh.
Current usage table provides the information in a sequence of the Speed, memory, IO, IOPS, Number of Processes, and Entry Processes being used by the top processes.
You can choose user tab to view the list of all the users present on the server and you can limit their resources using factors such as Speed, memory, IO, IOPS, Number of Processes, and Entry Processes by just clicking on the pencil icon.
You can just click on the save button to apply the changes.
The statistics table shows host users statistics usage based on the factors stated below.
- CPUusage per user;
- PMEMusage per user;
- VMEMusage per user;
- IO(in Kb/sec per user).
And you can filter them as per Timeframe, limit, Top LVE, LVE approaching limit (user reaching it’s maximum allocated resources) , LVE fault (users already hit the limit)
This table is useful if the administrator wants to receive notifications when a user hit the faults and you can just tick the option for the faults you want to include as per your convenience.
Assigning limits to each account individually can be time consuming so packages tab allow you to create packages with proper limits and you can assign these packages to as many clients on the server and they will automatically inherit the limits assigned in the package.
Another important feature of cloudlinux is that it provides old PHP versions those have reached the End of life like php 4.4, 5.1, 5.2, 5.3, 5.4, 5.5 which are no longer provided by cPanel, along with the latest php version php 5.6, 7.0 and 7.1. You can choose from the list of php modules those are required by the websites to function properly.
The most common errors faced by client while using Cloudlinux are “508 error resource limit are reached”.
Refer here for the – Fix
Website abuse are the most common reason for such error. The Entry process limit is easily exhausted when the domain is under an attack such as DOS, Brute force or spamming of comments on the webpage. For example, If you are using WordPress website then under the access logs you might see continuous logs for xmlrpc. This means that the domain is under xmlrpc attack and cloudlinux EP process limit will put an end to such attacks.
cPanel along with Cloudlinux can be the best solution to effectively handle users accounts on a shared hosting platforms and happy customers at the end of the day.