How to Create a Cloud Environment in UKHost4u Cloud Platform
Your initial step in application hosting is the creation of your environment with your required containers. UKHost4u’s Cloud Solutions Platform will provide you with a complete and powerful interface, which will let you create and setup environments depending on your needs. Follow the step by step process below on how to create your environment:
1, First, you need to login to you UKHost4u Cloud Solutions Dashboard and click on the New Environment button that is located on the upper left corner of the Dashboard page.
PLEASE NOTE: If you haven’t registered your 14 Day Free Trial, please check this article on how to get started.
2. Within the topology wizard, you can freely customize your cloud environment such as:
- Choose programming language: Java, PHP, Ruby, NET, Node.js, Python, GO Lang or specialized deployment solution such as Docker Engine or Kubernetes Cluster.
- Set up topology by adding required software stacks.
- Configure nodes resources.
- Review your cloud environment’s costs estimations,
- Name your environment and confirm its creation.
Through this guide we will review each of the points mentioned. We aim to familiarize you with the process, so you can create your own cloud environment in less than a minute.
1. Selecting Programming Language
1. From here, select which programming language you will be needing on your environment to deploy your project.
It can be Java, PHP, Ruby, .NET, Node.js, Python or GO Lang.
2. There are also 2 other deployment options you will find in the last tab called Docker which have all the variants to utilize the basic OS containers. These variants are compatible with most of the platform feature (but not all).
In this last tab you will be able to deploy your project in an environment using:
- Custom Docker Containers: This option provides access to a greater variety of solutions compared to the managed containers, as you can search the entire Docker Hub registry or use your private repository.
- Docker Engine: This provides access to all the Docker native functionality, including deployment, scaling, and management of multiple application containers inside.
- Kubernetes Cluster: The deployment, scaling, and orchestration of the microservices inside are handled by Kubernetes control units, while the Cloud Hosting Platform scales and manages master and worker nodes.
2. Configure your Cloud Environment’s topology
Now, you can configure the environment topology based on your application server requirements. To add an stack to your environment click on the item to activate it
- Load Balancers: Stacks that operate as an entry point for the environment to distribute incoming request and create even load on other nodes.
- Application Servers: Web servers that run your application.
- Databases: Database solutions to store and manage data such as SQL & NoSQL.
- Cache Node: a Memcached object caching system for speeding up web applications through alleviating database load.
- Shared Storage: Dedicated storage node with NFSv4 support, enlarged disk space and optimized performance.
- Elastic VPS: Virtual private servers on top of the CentOS, Ubuntu, Debian, and Windows OS.
- Build Node: A build automation tool for Java projects.
- Extra (custom layers): Any of the stacks mentioned above.
1. UKHost4u Cloud Platform provides a number of the most popular options for each section. You can enable the blocks you require for your environment.
PLEASE NOTE: If you cannot find the required software, you may add it on the custom Docker Container from the Docket Hub or your repository.
2 . SSL protection can be configured for your environment via the same-named section. Here, two options are available:
- Built-In SSL: enables an already trusted SSL certificate, avoiding any additional checks and saving your time on the certificate validation. However, it is applied to the default environment domain name only and does not work if the public IP is attached to your servers.
- Custom SSL: shows the pre-conditions of using your custom or bought SSL certificates for the environment. Click the Enable button to automatically fulfill the requirements and refer to the linked instruction for further guidance.
PLEASE NOTE: you can also apply an Let’s Encrypt SSL add-on after the environment creation to automatically issue and integrate a free SSL certificate.
3. Configuring Nodes Resources and Specifics
When you are done with the topology structure, you can start adjusting each particular layer using the sliders.
1. Toggle the application button ON/OFF, and create a custom name for it.
Think of it as the minimum and maximum amount of resources you want to allocate for your environment, and no matter high the scaling limit is, only consumed resources are being charged. This can help to overcome load spikes and, at the same time, not to overpay for unused memory or processor.
To manage stack and engine types/versions, use the drop-down lists button. In case you’re adjusting an existing environment, you will be redirected to the container redeploy dialog in order to apply the changes.
PLEASE NOTE: click on the gear icon for additional management options.
4. Configure the additional settings such as the disk’s limit, if you need a public IPv4 activated, etc.
PLEASE NOTE: this list may change depending on the particular stack and account permissions:
- Auto-Clustering: automatic clusterisation for some certified templates. Additional fields can appear after activation.
- Disk Limit: the amount of disk space reserved per node.
- Sequential Restart Delay: a 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 the specified number of external IP addresses to each node within the layer.
5. Finally, at the bottom of the topology wizard, you can find buttons to the container configuration tools such as:
- Variables: to review and manage a list of the environment variables for the current layer.
- Links: to interconnect layers inside the environment.
- Volumes: to manage a list of the data volumes to ensure files integrity during container lifecycle.
- Ports: to view information about containers’ ports.
- CMD / Entry Point: to configure containers’ Entry Point and Run Command.
4. Review and Confirm Environment Creation
Once you’re done and happy with all your configurations, on the topology wizard right side, you will be able to review the amount of allocated resources and the estimated cost of your environment when running with the lowest and highest amount of resources.
1. You will see the amount of cloudlets resources allocated: reserved ones (minimum) and the scaling limit (maximum) for the whole environment.
For better understanding and association, the values are divided into the color-marked groups such as:
Green: load balancers.
Blue: application servers.
Orange: databases and cache nodes.
Gray: all other stacks.
2. Directly below, you can view the estimated cost of your environment and its configuration. You will be able to display the estimation price hourly, daily, or monthly using the dropdown list button.
- FROM: shows the price that will be fully charged as it covers the minimum reserved resources.
- TO: shows the maximum possible price if all resources are fully consumed up to the scaling limit during the whole period.
If needed, for additional information on how pricing works and what is charged at UKHost4u Cloud Solutions, please check our pricing here.
3. Finally, name your environment and click on the green “Create” button to proceed.
PLEASE NOTE: Wait for a few minutes as the system sets up your configuration, and your new environment will appear on the dashboard.
Need our assistance ?
You have a question? You’re not sure about the exact topology you need to set for your web applications and sites? We can build and configure your environment for you following your requirements and needs.
Contact our support team using our live chat or submit directly a ticket here.