Virtualization & The Cloud Flashcards
Benefits of Virtualization
Power saving
Hardware consolidation
System management & security
Research (multiple OS support; 1 machine)
Benefits of Virtualization:
System management & security
New employees can easily be set up with a department-specific VM.
Malware/hacking done on VM will not affect physical machine. (VMs still need anti-malware/strong pws)
VMs allow snapshots/checkpoints, which saves the exact state of the machine at the time, allowing one to return to it later.
Supervisor
Handles low-level interaction among hardware & software.
Hardware > OS > Supervisor > Processes
Hypervisor
Full virtualization requires an extra layer of sophisticated programming (hypervisor) to manage the vastly more complex interaction.
VM Hardware > Hypervisor ^ v >VM VM
Virtualization Software
VMware (Win/Linux) Microsoft Hyper-V (Win) - Free Oracle VM VirtualBox (Win/Mac/Linux) - Free VMware Fusion (Mac) Parallels Desktop (Mac) KVM (Linux) - Free
Virtualization (What it does)
Takes the hardware of the host system and allocates some portion of its power to individual virtual machines.
(Cannot turn Intel system into Nintendo 3DS)
Emulation (What it does)
An emulator is software/hardware that converts the commands to an from the host machine into an entirely different platform.
Client-Side Virtualization
Running a VM on your local system regardless of whether the VM file is stored locally or on a server that can be accessed via the network.
Creating a VM (4 Steps)
1) Set up your system’s hardware to support VMs and verify it can meet the resource requirements.
2) Install a hypervisor on your system.
3) Create a new VM that has proper virtualized hardware to support the guest OS.
4) Start the new VM & install the new guest OS exactly as you’d install it on a physical machine.
Hardware Virtualization Support
Every hypervisor runs better if you enable hardware virtualization support.
Intel = VT-x AMD = AMD-V
Can be turned on/off in BIOS/UEFI system setup.
Importance of RAM
Each VM needs just as much RAM as a physical machine.
Add enough RAM so that every VM & physical machine will run adequately.
Make sure mobo supports enough
VM Storage
VM files can be huge because they include everything installed on the VM. (Snapshots require space too)
VM Storage Recommendations
Make sure to have plenty of storage for all VMs.
Plan ahead to protect VM files with good RAID arrays & regular backups.
Use SATA or NVMe SSD for best performance.
Internal Networking (Virtualization)
Used in order to create a network in which the VMs inside the hypervisor are connected to one another (nothing else).
Set virtual NICs to internal network in VM software.
(Every VM on hypervisor will act as though connected to its own switch)
Bridged Networking (Virtualization)
Used to connect to the internet. (Virtual NIC bridges the real NIC to get out to the network).
VM uses same network as host machine.
(VM is subject to all the same security risks)
Most VMs use bridged networking by default.