CentOS VPS with Full Root Access

Elastic Virtual Private Server (VPS) is a virtual machine, that in many aspects is a functional equivalent of a separate physical computer, and is dedicated to the individual customer's needs. It has the privacy of a separate physical computer and can be configured to run any desired server software.

A VPS is a relatively cheap web hosting service, but it is advanced enough to support big apps like web stores or huge corporate websites. Ensuring simple administration, it becomes the preferred choice for both inexperienced users and competent users. VPS servers at Jelastic are delivered with the full root access granted to their owners, which gives the ability to take full control over the server. Herewith, each given user account is insulated from the remaining ones, so each VPS server can be restarted and configured independently from others.

The Jelastic VPS hosting platform operates on high quality CentOS-based and Windows VPS servers (the last option is available starting with the Jelastic 3.1 version, more info can be found within the corresponding document). CentOS stands for Community ENTerprise Operating System, and our fully featured CentOS VPS stack provides users with an isolated and secure environment for their web applications.

Now, let’s reveal how to get your own CentOS VPS with full root access at Jelastic PaaS.

CentOS VPS at Jelastic

In order to create an environment with CentOS VPS, perform the following steps:

1. Log into the Jelastic dashboard and click the New environment button.

2. Click on the VPS section and specify cloudlet limits for the Centos node, selected by default.

Note that while switching the VPS on, the external IP address is automatically enabled for it. Nevertheless, a hosting provider can allow a user to use VPS with an internal IP, only in some special cases. To find out how to perform this, proceed to the corresponding section of this guide.

Then type the name of environment (for example, centos) and click Create.

3. In a couple of minutes your new environment with the CentOS VPS inside will be created.

The list of attached IP addresses (only the external one usually) can be found by expanding the Additionally list for your VPS node. At the same time, you’ll receive the corresponding email notification, informing you about a new CentOS VPS node creation, with Login and Password for administrator access inside.

4. Now you can proceed to establishing the SSH connection to your CentOS server, in order to start managing the required software. This can be done in the following two ways:

Note: While working with the VPS without External IP (described below), users are limited to a single access option - via the Jelastic SSH Gateway (since the first variant requires the Public IP feature to be enabled).

VPS without External IP

Usually, VPS requires a public IP address attached in order to be operated as a fully isolated and secured container with a single entry point. But sometimes, a user may need to build a special application infrastructure, that is partially inaccessible from outside of his environment. In this case, he needs a VPS with an internal IP enabled.

If you have such a request, you can allow a particular user to use VPS with internal IP by following the instruction below.

Pay attention: This possibility should be granted only for those users, whose intentions are undoubtedly trusted. Thus before proceeding further, please ensure such a server won’t be used for any harmful impact on the platform’s components, for scanning its internal network, etc.

1. Navigate to the Users section of your JCA Panel and find the appropriate user:

Here you can benefit from the possibility to search by user email or UID: type it into the corresponding field and apply the filter by selecting the Search button.

2. Select the user you’ve found in order to display the additional information and settings for this account, in the section to the right.

Switch to the Quotas tab and find the vds.internal.ip.enabled quota, which allows a user to attach the internal IP to a VPS if equal to 1 (and forbids this if stated to 0). So, doubleclick on the corresponding field to edit the value and enter 1.

Note: This quota has slightly different meanings for different Jelastic versions:

  • for the 2.5 version and lower, it allows a user to use the internal IP address alongside the external one, which still remains obligatory
  • since the 3.1 release, it gives a user the possibility to use the internal IP only for his VPS (i.e. to switch the external one off)

Click Update to save the new value.

3. Now, a user with the enabled quota can disable the External IP option for his VPS (regardless of the run OS inside) either during its creation or while changing the topology for the existing environment.

Take into consideration, that such VPS servers are limited in the ways of establishing an SSH connection, which can be performed only through the Jelastic SSH Gateway - find the detailed information here.