Virtualization Flashcards
Hardware virtualization
Takes the entire computer that an OS expects to interact with and virtualizes it
Physical host computer uses a Hypervisor to create environments that have virtual versions of all the “hardware” devices you need to install and run an OS
Hypervisor
Allocates fractions of the hosts real hardware resources to power these virtual devices
VM
Virtual machines
The environments created by the Hypervisor to be used for virtualization
Client side virtualization
When the VM host also serves as someone’s day to day workstation
Benefits of virtualization
- Saving resources
- Systems easier to manage
Purpose of virtualization
- Sandboxing
- Development testing
- Application virtualization
Application virtualization
- Legacy software/OS: running applications for a different software
- Cross-platform virtualization: running applications written for another OS
VM networking
- Internal network created for VMs within the same Hypervisor
- Virtual network only allowing communication with host system
- “Bridge” virtual NIC with host NIC for VM to join same network host is connected to
- No network, isolating VM from host, broader network, and other VMs
Type-1 Hypervisor
Bare-metal Hypervisor
No other software between the hypervisor and the hardware
Type-2 Hypervisor
Applications like virtualbox on an OS
The service-layer cake
Software as a service (SaaS)
Platform as a service (PaaS)
Infrastructure as a service (IaaS)
SaaS
Top layer of “cake”
Web applications
Ex. Google maps etc
PaaS
Middle layer
Gives programmers all the tools they need to deploy, administer, and maintain a Web application
Built on an infrastructure that is invisible to the developer
Developer has no direct control of the infrastructure
IaaS
Bottom layer
Just hardware provided by companies like Amazon (AWS)
Still responsible for configuring and maintaining the OS and software of any created virtual machines
Cloud resources
Shared resources
Rapid elasticity
Metered utilization
High availability
File sync