๐Day 16 โ Intro to Virtualization on Windows using VirtualBox | 100 Days of DevOps


Welcome to Day 16 of my 100 Days of DevOps journey!
Today, I learned how to create virtual machines using VirtualBox on Windows โ a critical skill for testing DevOps tools, creating isolated environments, and running multiple OSs safely.
๐ง What is Virtualization?
Virtualization allows you to run multiple OS environments (called virtual machines) on a single physical machine by abstracting hardware resources.
๐งพ Key Terms
Term | Explanation |
Hypervisor | Software that manages VMs (e.g., VirtualBox, VMware, KVM) |
Host OS | The physical machine's operating system |
Guest OS | The virtual machine's operating system |
VM (Virtual Machine) | A simulated computer inside another computer |
Snapshots | Saved states of a VM to roll back if needed |
๐ง What is a Virtual Machine (VM)?
A Virtual Machine (VM) is a simulated computer running inside your actual computer (called the host).
It has its own virtual CPU, RAM, storage, and OS, all managed by a hypervisor like VirtualBox.
โ Step-by-Step Guide: Create Your First VM on Windows
1. Install VirtualBox on Windows
๐ Download from: https://www.virtualbox.org/wiki/Downloads
Install the version for Windows hosts
(Optional) Install the Extension Pack for better device support
2. Download a Guest OS ISO
Choose your virtual OS:
Ubuntu Desktop ISO: https://ubuntu.com/download/desktop
Ubuntu Server ISO (lighter): https://ubuntu.com/download/server
Save it in your Downloads
folder.
3. Create a New Virtual Machine
Open VirtualBox โ Click New
Name:
DevOpsLab
Type:
Linux
Version:
Ubuntu (64-bit)
Assign 2048 MB (2 GB) RAM
Create a VDI disk, dynamically allocated (20 GB recommended)
4. Boot the VM and Install Ubuntu
Select the VM โ Click Start
Browse and select your
.iso
fileInstall Ubuntu just like you would on a real machine
Set username, password, and timezone
Reboot once done
5. Update & Install DevOps Tools
Once Ubuntu is running:
sudo apt update && sudo apt upgrade -y
sudo apt install git curl vim docker.io
You now have a fully working Linux lab inside Windows!
6. Optional: Enable Clipboard and Guest Additions
To improve your experience:
Go to Devices > Insert Guest Additions CD Image
Follow the on-screen instructions to install
๐ Key Terms
Term | Description |
Host OS | Your main OS (Windows in this case) |
Guest OS | The OS inside the VM (e.g., Ubuntu) |
Hypervisor | Software that manages VMs (e.g., VirtualBox) |
VM Snapshot | Save point to restore system state |
๐ Useful Links
๐ VirtualBox: https://www.virtualbox.org/
๐ Ubuntu ISO: https://ubuntu.com/download
๐ VirtualBox Manual: https://www.virtualbox.org/manual/
โ Summary
โ
Installed VirtualBox on Windows
โ
Created a new VM with Ubuntu
โ
Installed DevOps tools in an isolated test lab
โ
Learned key concepts of host, guest, hypervisor, and snapshots
๐ GitHub Repo: DevOps Journal
๐ Hashnode Blog: ritesh-devops.hashnode.dev
Subscribe to my newsletter
Read articles from Ritesh Singh directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Ritesh Singh
Ritesh Singh
Hi, Iโm Ritesh ๐ Iโm on a mission to become a DevOps Engineer โ and Iโm learning in public every single day.With a full-time commitment of 8โ10 hours daily, Iโm building skills in: โ Linuxโ Git & GitHubโ Docker & Kubernetesโ AWS EC2, S3โ Jenkins, GitHub Actionsโ Terraform, Prometheus, Grafana I post daily blogs on Hashnode, push projects to GitHub, and stay active on LinkedIn and Twitter/X. Letโs connect, collaborate, and grow together ๐ #100DaysOfDevOps #LearningInPublic #DevOps