Hypervisors
Type 1 runs on hardware; type 2 on an operating system
Type 1: bare metal, servers. Type 2: an app on your PC.
A hypervisor is the software that runs virtual machines. There are two types. Both start with real hardware. A type one hypervisor is installed straight onto it. There is no other operating system. The virtual machines run on top. A type two starts with a normal operating system. The hypervisor is a program you install on it. And the virtual machines run inside that program.
Hypervisors · Going deeper
Type 1 and type 2 compared, and what a host needs
ESXi and Hyper-V are type 1. VirtualBox is type 2.
Why virtual machines
A virtual machine is a second computer you can throw away
Sandbox, test, legacy, cross-platform.
A technician uses virtual machines for four things. As a sandbox: a sealed place to open something you do not trust. For testing: try the update first, and roll back if it breaks. For legacy software: an old program that needs an old operating system keeps running, safely boxed in. And to cross platforms: Windows software on a Mac, or Linux on a Windows computer.
Why virtual machines · Going deeper
Virtual machines, containers and application virtualization
A container shares the kernel. A VM brings its own.
Check yourself
Which hypervisor fits this job?
Cloud service models
IaaS, PaaS, SaaS: the provider takes over more of the stack
IaaS: you run the OS up. PaaS: your code. SaaS: just sign in.
Every application sits on the same six layers. The cloud models differ in who looks after them. On your own premises, you run all six. With infrastructure as a service, the provider runs the hardware and the virtual machines. You run the operating system and everything above. With platform as a service, you bring only your code and data. With software as a service, the provider runs it all, and you sign in.
Cloud service models · Going deeper
Public, private, hybrid and community
Hybrid joins public and private. Community is shared by peers.
Cloud characteristics
Elastic capacity follows demand, not the peak
Elasticity and metered use. Owned servers idle 48%.
This is what a shop's website needs through one day. At night, one or two servers. In the evening, nine. If you buy your own, you must buy nine, to survive the peak. And then about half of that capacity sits idle. In a cloud, capacity is elastic. It rises and falls with the bars, and a meter charges for what actually ran.
Cloud characteristics · Going deeper
The cloud characteristics
Multitenancy, availability, file synchronization.
Check yourself
Which cloud service model is this?
Desktop virtualization
With VDI, the desktop runs on a server
VDI: desktops on a server. The device holds no data.
Desktops can be virtual too. The user sits at a simple device: a thin client, or any laptop. Their real desktop is a virtual machine on a server, in the company data centre or in a cloud. Keystrokes and mouse movements go one way, and the picture of the screen comes back. Nothing is stored on the device itself.
Desktop virtualization · Going deeper
VDI on premises and in the cloud
One image to patch. Needs a good network.
Check yourself
What data is on the stolen laptop?
Lesson complete
You finished “Virtualization and cloud”
Answer the questions along the way to see your score here.