Introduction

The use of online virtual servers that can be instantly built, changed, and destroyed is known as cloud hosting. Cloud servers, which can be set up with any operating system and supporting applications, are given resources like CPU cores and memory by the physical machine they are hosted on. Websites, web-based apps, and other services can all be hosted in the cloud.

We’ll go over some of the fundamental ideas behind cloud hosting in this article, including how virtualization functions, the elements of a virtual environment, and comparisons to other popular hosting strategies.

“The Cloud” – what is it?

A frequent phrase for internet-accessible servers that are offered for public use as part of software or platform services or through paid leasing is “the cloud.” Web hosting, file hosting and sharing, and software distribution are just a few examples of the various shapes that a cloud-based business can take. Cloud computing, or the transparent distribution of a task among numerous servers, is another name for “the cloud.” Cloud computing splits up a complex process across numerous smaller nodes rather than conducting it on a single powerful server.

Procedures for Virtualization:
Virtual servers, which can host apps and websites, and physical hosts, which control the virtual servers, make up the two fundamental components of cloud hosting setups.
Cloud hosting is made possible by virtualization because it enables flexibility and scalability that are not attainable with traditional hosting techniques.

Virtual Servers
The use of a virtual private server, or VPS, is the current most popular type of cloud hosting. A virtual private server (VPS) functions as a standalone computer with its own operating system. Although virtual servers share the resources that the host allots to them, in fact they are completely isolated, thus actions taken on one VPS won’t have an impact on the others.

A physical host’s hypervisor deploys and oversees virtual servers on that host. The hypervisor has deployed an operating system on each virtual server that is accessible to users. Although a virtual server must share actual hardware resources with other servers on the same host, in practise it functions exactly like a dedicated physical server.

Hosts
The real server that houses a virtual server allots resources to it. The virtual servers that are under this host’s control are deployed, managed, and given resources using a software layer known as a hypervisor.The physical hosts on which hypervisors (and their virtual servers) are installed are also frequently referred to as “hypervisors” in this context.
When a virtual server is launched, the host is in charge of allocating memory, CPU cores, and a network connection. Since numerous virtual servers may be using the same physical cores, the hypervisor’s ongoing responsibility is to arrange processes between the virtual and physical CPU cores. The subtleties of process scheduling and resource sharing vary between hypervisors.

Hypervisors:
Currently, a few popular hypervisors are accessible for cloud hosts. Although there are some significant differences between these various virtualization techniques, all of them offer hosts the tools they need to deploy, maintain, transfer, and delete virtual servers as needed.

KVM:
The Linux kernel includes a virtualization architecture called KVM, or “Kernel-Based Virtual Machine.” This kernel module transforms the Linux machine into a hypervisor when it is activated, enabling it to start hosting virtual servers. KVM does not need to construct or emulate kernel components that are used for virtual hosting, in contrast to how other hypervisors typically operate.

XEN:
One of the most popular hypervisors is Xen. Unlike KVM, which modifies the host’s kernel, Xen utilises its own microkernel, which offers the resources required to operate virtual servers. Xen supports two different virtualization techniques: hardware-assisted virtualization (or HVM), which efficiently emulates a virtual server so that it can run unmodified operating systems, and paravirtualization, which foregoes the need to emulate hardware but necessitates special modifications to the virtual servers’ operating systems. Around 2006, HVM became widely used on consumer CPUs, enabling the majority of PCs and laptops to attain comparable performance when running virtual machines or containers with a microkernel operating system (e.g. through Docker).

Enterprise-level hypervisor ESXi:
Is a product of VMware. Because it doesn’t require an underlying operating system on the host, ESXi is special. Because there is no “middleman” to act as a link between the hardware and the virtual servers, this is known as a “type 1” hypervisor and is very effective. No operating system needs to be installed on the host when using type 1 hypervisors like ESXi because the hypervisor itself serves as the operating system.

Hyperv:
One of the most well-liked ways to virtualize Windows servers is Hyper-V, which is accessible as a system service in Windows Server. Because of this, Hyper-V is a popular option for developers creating software for the Windows operating system. Modern versions of Windows come with Hyper-V, and it can also be used as a standalone server without a Windows Server installation. Hyper-V is used to implement the Windows Subsystem for Linux 2, or WSL2.

Why Host in the Cloud?
Virtualization’s capabilities are well suited to a cloud hosting environment. Virtual servers can be set up with a broad variety of hardware resource allocations, and resources can frequently be added or deleted as requirements change over time. Some cloud hosts can duplicate a virtual server for redundancy in case of node failure or migrate the server from one hypervisor to another with little to no downtime.


By Ariel