Skip to main content

Introduction to Virtualization

Duration: 1.5 hours | Foundation Track


Learning Objectives

  • Understand what virtualization means in simple business terms
  • Explain how virtual machines work and their benefits
  • Compare different virtualization platforms
  • Calculate cost savings from virtualization
  • Create and manage a basic virtual machine

Virtualization in Simple Terms

What is Virtualization?

Imagine you have a large office building, but instead of renting the entire building to one company, you divide it into smaller offices for different businesses. Virtualization does the same thing with computers!

Real-World Analogy:

  • Physical Server = Large office building
  • Virtual Machines = Individual office suites in the building
  • Hypervisor = Property management company that manages the suites

Why Virtualization Makes Sense

The Old Problem

Before Virtualization:
- One application per physical server
- Server typically used only 10-15% of its capacity
- Wasted money, space, and electricity
- Example: Email server sitting mostly idle

The Virtualization Solution

With Virtualization:
- Multiple virtual servers on one physical server
- Each virtual server thinks it's a complete computer
- Better resource utilization (60-80%)
- Example: Email, web, and database servers all on one box

Types of Virtualization

1. Server Virtualization

What it does: Multiple server operating systems on one physical server

Benefits:

  • Cost savings: Buy fewer physical servers
  • Space savings: Less equipment in server room
  • Energy savings: Lower electricity bills
  • Easier management: Manage servers from one console

Real Example:

One Physical Server Running:
- Virtual Machine 1: Windows Server (Email)
- Virtual Machine 2: Linux Server (Web applications)
- Virtual Machine 3: Windows Server (Database)
- Virtual Machine 4: Linux Server (File storage)

2. Desktop Virtualization

What it does: Run multiple desktop operating systems on one computer

Use cases:

  • Testing: Try new software without breaking main system
  • Legacy applications: Run old software on modern hardware
  • Development: Test on different operating systems
  • Education: Students can practice on different systems safely

3. Application Virtualization

What it does: Run applications without installing them locally

Benefits:

  • No installation conflicts: Apps don't interfere with each other
  • Easy deployment: Install once, run anywhere
  • License management: Control software usage centrally

VMware vSphere (Industry Standard)

What it is: Professional virtualization platform for businesses

Key Components:

  • ESXi: The hypervisor that runs on physical servers
  • vCenter: Management console for multiple ESXi servers
  • vMotion: Move running virtual machines between servers
  • HA (High Availability): Automatic restart if hardware fails

Why businesses choose VMware:

  • Rock-solid reliability
  • Advanced features
  • Excellent support
  • Industry standard

Cost: Expensive but worth it for critical business applications

Microsoft Hyper-V (Windows Integration)

What it is: Microsoft's virtualization platform

Key Features:

  • Built into Windows Server: No extra software to buy
  • Integration: Works seamlessly with Windows environment
  • System Center: Management tools for large deployments
  • Azure integration: Easy connection to Microsoft cloud

Why businesses choose Hyper-V:

  • Already have Windows licenses
  • Familiar Microsoft interface
  • Lower cost than VMware
  • Good for Windows-centric environments

Oracle VirtualBox (Learning Platform)

What it is: Free virtualization software for desktops

Best for:

  • Learning and testing
  • Personal use
  • Small development environments
  • Students practicing IT skills

Why it's great for beginners:

  • Completely free
  • Easy to use
  • Good documentation
  • Cross-platform (Windows, Mac, Linux)

Virtual Machine Management Basics

Creating a Virtual Machine - Step by Step

1. Plan Your VM:

  • Purpose: What will this VM do? (Email server, web server, test environment)
  • Operating System: Windows Server, Linux, etc.
  • Resources: How much CPU, RAM, and storage needed?

2. Allocate Resources:

Example Web Server VM:
- CPU: 2 virtual CPUs
- RAM: 4 GB
- Storage: 100 GB hard disk
- Network: Connected to company LAN

3. Install Operating System:

  • Boot from ISO file (like a virtual DVD)
  • Follow normal OS installation process
  • Install VMware Tools or Hyper-V Integration Services

4. Configure Applications:

  • Install necessary software
  • Configure network settings
  • Apply security updates
  • Set up monitoring

VM Snapshots - Like Save Points in Video Games

What is a Snapshot? A snapshot saves the exact state of a virtual machine at a specific moment. You can return to this state later if something goes wrong.

When to Use Snapshots:

  • Before major updates: Take snapshot, then update. If update breaks something, restore snapshot
  • Before testing: Try new configuration safely
  • Before software installation: Install new software with confidence
  • Before system changes: Modify system settings without fear

Snapshot Best Practices:

  • Don't keep snapshots forever (they consume storage)
  • Name snapshots descriptively: "Before Windows Updates 2023-12-01"
  • Test snapshot restoration process
  • Document what each snapshot contains

Business Benefits of Virtualization

Cost Savings Examples

Small Business Scenario:

Before Virtualization:
- 4 physical servers @ $5,000 each = $20,000
- Server room cooling and power = $3,000/year
- 4 separate backups and maintenance = $8,000/year

After Virtualization:
- 1 powerful server = $8,000
- 4 virtual machines on one server
- Reduced cooling and power = $1,000/year
- Centralized backup and maintenance = $2,000/year

Annual savings: $8,000 + ongoing operational savings

Operational Benefits

1. Disaster Recovery:

  • Traditional: Rebuild server from scratch (days/weeks)
  • Virtual: Restore VM from backup (hours)

2. Hardware Maintenance:

  • Traditional: Schedule downtime for hardware fixes
  • Virtual: Move VMs to other servers, no downtime

3. Testing and Development:

  • Traditional: Need separate physical servers for testing
  • Virtual: Create test environments instantly

4. Server Provisioning:

  • Traditional: Order, receive, configure new server (weeks)
  • Virtual: Deploy new server in minutes

Hands-on Activity: Create Your First Virtual Machine

Time: 45 minutes

Objective

Experience virtualization firsthand using VirtualBox

Prerequisites

Computer with 8GB RAM, VirtualBox downloaded

Part A: VirtualBox Setup (10 minutes)

  1. Download VirtualBox from virtualbox.org (free)
  2. Install VirtualBox on your computer
  3. Download Ubuntu Linux ISO (free operating system)
  4. Launch VirtualBox and explore the interface

Part B: Create Virtual Machine (15 minutes)

  1. Click "New" to create VM
  2. Name: "My First Linux Server"
  3. Type: Linux, Ubuntu (64-bit)
  4. Memory: 2048 MB (2GB)
  5. Hard disk: Create virtual hard disk (20GB)
  6. Review settings before proceeding

Part C: Install Operating System (15 minutes)

  1. Start the VM and select Ubuntu ISO file
  2. Follow Ubuntu installation (choose minimal installation)
  3. Create user account with strong password
  4. Complete installation and restart VM
  5. Login to your new Linux virtual machine

Part D: Take Your First Snapshot (5 minutes)

  1. Shut down the VM properly
  2. Right-click on VM in VirtualBox
  3. Select "Snapshots"
  4. Take snapshot: "Fresh Ubuntu Installation"
  5. Add description: Date and what this snapshot contains

Reflection Questions

  • How long did it take to create a virtual server vs ordering physical hardware?
  • What could you use this virtual machine for?
  • How might businesses benefit from this technology?

Knowledge Check

6 questions, 8 minutes

  1. A company has 5 physical servers that are only 15% utilized. What would virtualization allow them to do?

    • a) Nothing different
    • b) Consolidate to fewer physical servers
    • c) Make servers run slower
    • d) Increase electricity costs
  2. What is a hypervisor?

    • a) A very fast computer
    • b) Software that manages virtual machines
    • c) A type of hard drive
    • d) A network cable
  3. When should you take a VM snapshot?

    • a) Every minute
    • b) Never
    • c) Before making major changes to the system
    • d) Only on weekends
  4. If a physical server hosting 4 virtual machines fails, what happens?

    • a) Only 1 application is affected
    • b) All 4 virtual machines are affected
    • c) Nothing happens
    • d) The building loses power
  5. Which virtualization platform is free and good for learning?

    • a) VMware vSphere
    • b) Microsoft Hyper-V
    • c) Oracle VirtualBox
    • d) All cost the same
  6. A business wants to test new software without risking their production system. What should they use?

    • a) Test on the production system anyway
    • b) Buy a new physical server for testing
    • c) Create a virtual machine for testing
    • d) Don't test new software

Answers

  1. b) Consolidate to fewer physical servers
  2. b) Software that manages virtual machines
  3. c) Before making major changes to the system
  4. b) All 4 virtual machines are affected
  5. c) Oracle VirtualBox
  6. c) Create a virtual machine for testing

Key Takeaways

What You Learned

✅ Virtualization allows multiple virtual computers to run on one physical computer
✅ Virtual machines provide isolation, flexibility, and cost savings
✅ Snapshots allow safe testing and easy recovery from problems
✅ Different virtualization platforms serve different business needs
✅ Virtualization is the foundation technology behind cloud computing

Business Value

  • Cost Reduction: Fewer physical servers needed
  • Improved Efficiency: Better utilization of hardware resources
  • Enhanced Flexibility: Easy to create, modify, and remove servers
  • Faster Deployment: New servers ready in minutes, not weeks
  • Better Disaster Recovery: Easy backup and restoration of entire systems

Practical Skills

  • Understand virtualization concepts and terminology
  • Evaluate virtualization platforms for business needs
  • Calculate cost-benefit of virtualization projects
  • Create and manage basic virtual machines
  • Use snapshots for safe system management

Next Steps

You now have a solid foundation in the key technologies that power modern business IT: servers, networking, cloud computing, and virtualization. In the next module, we'll build on this knowledge to explore operating systems that run these technologies.