102.6 Linux as a virtualization guest Flashcards
Advantages of containers include:
- use shared OS making it more efficient in resource use
- more granular management of system resources
Advantages of virtualization are:
Share yet segregate server instances
Protection of one OS from another
Prevent system resources to go to waste
What does the application container do?
It shares everything but the application files and library files that the application needs. The application itself is completely isolated.
What does the machine container do?
It shares a kernel and FS with the host computer
What is a container?
A container is an entirely isolated set of packages, libraries and or applications that are independent from their surroundings
What are the 2 types of containers?
Machine container
Application container
Provide examples of cloud providers for VMs.
AWS
Azure
Rackspace
What does the command cloud-init do in a VM created in the cloud as a clone?
It ensures user data is unique, such as ssh keys, NIC default locale, hostname, mount points.
When provisioning a VM from a cloud provider, what command is used to ensure user data is new?
cloud-init
What command ensures that each VM’s kernel interacts with a system that has a unique ID?
dbus-uuidgen
What are guest drivers in a VM?
They are software drivers installed in the VM that helps communicate with the host OS using the NICs,RAM, HDD Drivers, etc.
What do you call the type of virtualization in which the guest-system is aware that it is a VM using guest drivers?
Paravirtualization
What do you call the type of virtualization in which the guest-system is not aware that it is a VM?
Full virtualization
Give examples of VM hypervisors
KVM QEMU VMWare Xen Virtual Box
What is a hypervisor?
It is a software layer that sits between the VM and the hardware.