How to set up your Cloud Environment?
Set up your environment with UKHost4u Cloud Solutions Dashboard
When starting application hosting, your first step is the creation of your cloud environment with the required isolated containers.
UKHost4u Cloud Solutions provide a powerful and intuitive user interface to create, configure, deploy and manage environments to your specific needs.
In this guide, we’ll go through all the required steps, giving a detailed explanation of available features of our Cloud Solutions Platform.
1. Log in to your UKhost4u Cloud Solutions dashboard and click on the New Environment button in the upper-left corner. If you don’t have an account yet, please read our article: How to register my UKhost4u Cloud Solutions Account and get your 14-day Free trial.
2. Within the opened Topology wizard, you can set up all the necessary customisations for your environment.
- We do recommend performing configurations within the following order:
- Choose your programming language: Java, PHP, Ruby, .NET, Node.js, Python, Go Lang or specialized deployment solutions such as Docker Engine or Kubernetes Cluster.
- Set up the topology by adding required software stacks
- Configure nodes resources and specifics
- Review estimations, name the environment and confirm the creation
We will review in this guide in detail each point, providing explanations on all of the available possibilities. Find below a quick outline to help you navigate more easily through our guide:
- Choosing programming language or specific deployment option
- Set up your environment’s topology
- Configuring nodes resources and specifics
- Reviewing and confirming environment creation
- Name your cloud environment
- Save and create your environment
And after getting familiar with the process, you will be able to configure a new environment in seconds.
1. Choosing Programming Language or Specific Deployment Option
As the first step of your environment creation, you need to select the deployment solution required for your project.
You will find our Cloud Solutions platform to be extremely versatile as we support multiple options for websites and application development. We’ve made it to suit even the most demanding clients.
1. We highly recommend you to use our certified containers unless you are pursuing a specific application/architecture. These stacks are specifically configured and managed by Jelastic (version updates, security patches, etc).
First, click on “Create New Environment” then select the required programming language tab: Java, PHP, Ruby, .NET, Node.js, or Python to proceed with UKhost4u certified containers.
PLEASE NOTE: For the smoothest and most convenient hosting and development, we support all your favourite platform features such as scaling, automated deployment, redeploy, SSL, etc.
B. Docker containers
You also have the option to deploy your applications and sites using the Docker tab. All the variants listed here below use the basic UKhost4u Cloud Solutions system container, also called OS container, which makes them compatible with the most of the platform-distinguishing features.
- Custom Docker Containers: based on the supported OS deployed into the system container, any Docker image .
Compared to the managed containers, this option provides access to a greater variety of solutions. Search in the entire Docker Hub registry or simply use your private repository.
PLEASE NOTE: software operability and compatibility with the platform cannot be guaranteed as the content is managed by respective image maintainers.
- Docker Engine: Our Docker Engine CE deployed into the system container provides access to all the Docker native functionality. It includes deployment, scaling, and management of multiple application containers.
- Kubernetes Cluster: Our ready-to-go Kubernetes cluster with a preconfigured master and worker nodes created based on the system containers.
PLEASE NOTE: The deployment, scaling, and orchestration of the microservices inside are handled by Kubernetes control units, while our platform will scale and manage master and worker nodes.
Using the topology wizard of your UKhost4u Cloud Hosting Platform you can set up your own cloud environment. Think of it as a tool that helps you build your own and unique environment.
Find here all the blocks available in the topology wizard:
- SSL: Install Jelastic’s Let’s Encrypt SSL certificate on your environment.
- Load Balancers: stacks that operate as the entry point for the environment. It distributes incoming request and create loads on other nodes available.
- Application Servers: are web servers that run your application.
- Databases: such as SQL & NoSQL are the database solutions to store and manage all your data.
- Cache Node: is a Memcached object caching system to speed up your web applications through alleviating database load.
- Shared Storage: is the dedicated storage node, enlarged disk space and optimized performance.
- Elastic VPS: virtual private servers running with the CentOS, Ubuntu, Debian, and Windows OS.
- Build Node: a build automation tool for all your Java projects.
- Extra: add any of the stacks mentioned above to your environment.
UKhost4u Cloud Solutions offers a number of the most popular options for each of these sections. You can activate each one of them within a single click selecting a suitable stack for your sites and applications.
PLEASE NOTE: If you cannot find the required software solution, you can always add it as a custom Docker container directly from the Docker Hub or from your private repository.
Add an SSL protection to your environment using the button “SSL” on top of environment creation tool:
- Built-In SSL: which enables an already trusted SSL certificate.
PLEASE NOTE: only applies to the default environment domain name (i.e. with the hoster’s domain at the end). It does not work if the public IP is attached to your servers.
- Custom SSL: shows the pre-conditions of using your custom SSL certificates for the environment.
Simply click on the Enable button to automatically fulfill the requirements.
NOTE: Also, you can apply the Let’s Encrypt SSL add-on after the environment creation to automatically issue and integrate a free SSL certificate.
Once done with your environment structure, you can start adjusting each layer of your application servers. Let’s see all the options offered:
1. You can activate/deactivate the on/off toggle button as well as providing a custom name for it.
2. You can configure the automatic vertical scaling by setting the number of reserved and dynamic cloudlets . Remember 1 cloudlet = 128 MB of RAM and 400 MHz of CPU for the nodes within the layer.
Think of it as the minimum and maximum CPU & RAM capacities per server.
PLEASE NOTE: Thanks to UKHost4u Cloud Hosting pricing you only pay for the resources you used and no matter how high the scaling limit is.
This allow you to overcome load spikes and, at the same time, not to overpay for unused memory or processor.
3. The Horizontal Scaling part allows defining a number of nodes within the layer and choosing a preferred scaling mode (stateful or stateless).
If needed, you can use the drop-down lists to change stack and engine type/versions. In case of adjusting an existing environment, these lists will redirect to the container redeploy dialog in order to apply changes.
PLEASE NOTE: If you click on the gear icon (here below) for additional management options when scaling your environment.
4. You will need then to configure additional settings.
The list below may be affected and vary according to the particular stack and account permissions:
- Auto-Clustering: or automatic clusterisation. Additional fields can appear after activation: scheme selection (master-slave, master-master, or galera) for the database cluster.
- Disk Limit: is the amount of disk space reserved per node. The dedicated Shared Storage containers are usually provided with enlarged storage capacity.
- Sequential restart delay: is the delay between the restart operation completion on one node and start on the other. It is used to avoid downtime, ensuring that at least one server is active. You can set it to “-1” for the simultaneous restart of all nodes within the layer.
- High-Availability: automated session replication for the Tomcat and TomEE application servers.
- Access via SLB: blocks access to the nodes of the layer via the platform Shared Load Balancer.
- Public IPv4/IPv6: attach a specified number of external IP addresses to each node within the layer.
5. Finally, you’ll find at the very bottom of the topology wizard the buttons related to the container configuration tools:
- Variables: review and manage a list of the environment variables for the current layer.
- Links: interconnect layers inside the environment.
- Volumes: manage a list of the data volumes to ensure files integrity during container lifecycle.
- Ports: view information about containers’ ports.
- CMD / Entry Point: configure containers’ Entry Point and Run Command.
Once you are done with your environment’s configurations you can review the amount of allocated resources and the estimated cost of the environment.
1. You should keep in mind our main resource measuring units are cloudlets. On the top right corner of the topology wizard you can see the number of reserved ones and the scaling limit (dynamic) for the whole environment.
For a clearer understanding, the values are divided into the color-marked groups:
- green: load balancers
- blue: application servers
- orange: databases and cache nodes
- gray: all other stacks
2. Next, you can view the Estimated Cost of your environment.
PLEASE NOTE: The widget will show the price according to the period chosen: hourly, daily, or monthly. If you wish to change the period, simply click on the triangle icon to display the drop down list.
On the topology wizard, you will see two boxes: FROM and TO.
- FROM: shows the minimum price that will be charged from as it covers the minimum reserved resources.
- TO: shows the maximum possible price if all nodes in the environment are going to fully consume all resources up to the scaling limit during the whole period.
If needed, you can check here for additional information on how pricing works.
5. Name your Cloud Environment
You will need to provide a name for your environment. Just type it in the box as below.
PLEASE NOTE: You will be able to rename to your environment once created.
6. Save and Create your Environment.
Click the Create button to proceed.
That’s all! In a few minutes, your new environment will appear on the dashboard.
Now, you are ready for application deployment and further use of your cloud environment.