Learning Objectives:
- Understand what virtual environments and virtual machines (VMs) are.
- Identify key components: clients, servers, and hypervisors (Type 1 and Type 2).
- Explain key features and benefits of virtual environments (security, isolation, portability, cost-effectiveness).
- Recognise drawbacks, such as extra hardware load, slower performance, and potential false representation of performance.
Virtual Environments
A virtual environment is a controlled digital space that allows one physical computer to run multiple isolated systems at the same time. It’s used to test, share, or secure programs without affecting the main machine.
Common Virtual Environment Components
- Virtual Machines (VMs) – Isolated systems inside a virtual environment. Behaves like a full computer with its own OS and apps, even though it runs on another computer
- Clients – Virtual PC, virtual switch, virtual router
- Servers – VMs running server roles (databases, file servers, etc.)
- Hypervisors:
- Type 1 (Bare Metal) – Runs directly on hardware, used in enterprise (e.g., VMware ESXi, Hyper-V Server)
- Type 2 (Hosted) – Runs on top of an OS, often used for development/testing (e.g., VirtualBox, VMware Workstation)
Key Features of Virtual Environments
- Increased security – sandboxing prevents threats spreading to host
- Managed execution – control over resources and execution environment
- Sharing – multiple VMs can share physical hardware
- Aggregation – pooling resources from multiple systems
- Emulation – simulate different hardware/OS
- Isolation – VMs don’t interfere with each other
- Portability – VMs can be moved/copied easily
Benefits
- Cost effectiveness – fewer physical machines needed
- Easy management – centralised admin, snapshots
- Resilience – fault tolerance, high availability
- Lower carbon footprint – less hardware, less energy
- Improved disaster recovery – fast backup and restore
- Better testing environments – safe to test new software
- Education/training – students can practice without real hardware
Drawbacks
- Extra hardware load – VMs consume resources on the host
- Slower execution time – overhead compared to bare metal
- False representation of performance – tests in a VM might not reflect real-world hardware performance
Quick check · 8 questions
+10 XP each