Sub topic 10
Virtualization and Cloud Computing: Models and Client-Side Concepts
This chapter assumes you know what a CPU, RAM, and storage do, and that you have used a home network. It covers the Virtualization and Cloud Computing domain of Core 1. Confirm the current weighting in CompTIA's official exam objectives, because it differs between versions.
The working model
Virtualization lets one physical computer run several virtual machines (VMs). Each VM behaves like a separate computer with its own operating system. The physical computer is the host. Each VM is a guest.
A hypervisor is the software that creates VMs and divides the host's CPU, RAM, and storage among them.
| Type | Runs on | Typical use |
|---|---|---|
| Type 1 (bare metal) | Directly on hardware | Servers and data centers |
| Type 2 (hosted) | Inside a normal OS | Desktops, testing, labs |
Type 2 examples are VirtualBox and VMware Workstation. Type 1 examples are Hyper-V and VMware ESXi.
Cloud service models
Cloud computing means using computing resources over a network, usually the internet, from a provider. The exam tests who manages what.
- IaaS (Infrastructure as a Service): you rent virtual servers, storage, and networks. You manage the operating system and everything above it.
- PaaS (Platform as a Service): you get a ready platform for building and running apps. You manage only your code and data.
- SaaS (Software as a Service): you use finished software, such as web email. The provider manages everything else.
Cloud deployment models
- Public: shared infrastructure owned by a provider, open to many customers.
- Private: infrastructure used by one organization.
- Hybrid: a mix of public and private.
- Community: shared by several organizations with common needs.
Related cloud ideas
- Shared resources and rapid elasticity: capacity can grow or shrink on demand.
- Metered utilization: you pay for what you use.
- High availability: the service stays up despite failures.
- File synchronization: files stay matched across devices through a cloud service.
Client-side virtualization
A client-side VM runs on a user's own computer. Common reasons are testing software, running an older application, and trying an unfamiliar OS. A sandbox is an isolated environment where you can run untrusted code without harming the host.
Requirements to check:
- A CPU with hardware virtualization support, turned on in the BIOS/UEFI. Intel calls it VT-x. AMD calls it AMD-V.
- Enough RAM for the host and every running guest.
- Free disk space for each VM's virtual disk.
- A guest OS license.
A VM's network adapter can be set to a mode such as NAT (shares the host's address) or bridged (appears as its own device on the network).
Exam angle
Questions are usually short scenarios. For example, a company wants to build software without managing servers. That points to PaaS. A user wants to test an old app safely. That points to a client-side VM or sandbox.
Exercise
A small firm rents virtual servers from a provider and installs its own operating system and database on them. Which cloud service model is this, and which deployment model is it if the servers are shared with other customers?
Show answer
It is IaaS, because the firm manages the OS and software on rented infrastructure. Shared provider servers make it a public cloud deployment.
Exercise
Hyper-V is installed on a laptop, but no VM will start. The CPU supports virtualization. What should you check first?
Show answer
Check that hardware virtualization (VT-x or AMD-V) is enabled in the BIOS/UEFI.