Intro to Virtualization Flashcards
what is virtualization in a general sense
mapping resources, data, and interfaces to the underlying system
Characteristics of virtualization (3)
- Abstraction: simplify the underlying system 2. Replication multiple instances of interfaces and resources 3. Isolation: activities and data of one instance is isolated from another instance
Levels of Virtualization
- Multi-tenancy (application level) 2. Containers (OS Level) 3. VM (Hardware Level)
What is multi-tenancy on the application level
an instance of a virtualized application isolated from others.
Advantages of Multi-tenancy
efficient resource utilization/strong isolation/SaaS is possible with this
Disadvantages of Multi-tenancy
limited flexibility/complexity means harder development/isolation is complex/ single point of failure
Security for Multi-tenancy
must have proper isolation/difficult when other components are involved
Future of Multi-tenancy
things are cheaper and less complex/isolation can be moved to VM/ no more single point of failure
What are containers on the OS level and what are some attributes
single instance of an OS…virtualized user environment…isolated against other environments. Less resource efficient but more flexible for the user
What is Docker and some attributes
a popular Linux container management layer. Portable deployment across machines/optimized for applications/automatically build images
Challenges with docker
one process per container meaning apps that require multiple processes (like database) will need multiple containers. No persistent storage so containers will need separate file system to access persistent data. Network setup is rigid
What is a VM
an isolated and efficient copy of the real machine
What is a VMM
software program that enables the creation, management and governance of virtual machines (VM) and manages the operation of a virtualized environment on top of a physical host machine. we call it hypervisor
Properties of VMM (3)
- Equivalence: a program running under VMM Should be identical to it running without VMM. 2. Resource control: VMM has complete control over all hardware resources. 3. Efficiency: majority of instructions executed without VMM intervention
Two processor modes
User and supervisor mode