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

Ritesh SinghRitesh Singh
3 min read

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

TermExplanation
HypervisorSoftware that manages VMs (e.g., VirtualBox, VMware, KVM)
Host OSThe physical machine's operating system
Guest OSThe virtual machine's operating system
VM (Virtual Machine)A simulated computer inside another computer
SnapshotsSaved 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


2. Download a Guest OS ISO

Choose your virtual OS:

Save it in your Downloads folder.


3. Create a New Virtual Machine

  1. Open VirtualBox โ†’ Click New

  2. Name: DevOpsLab

  3. Type: Linux

  4. Version: Ubuntu (64-bit)

  5. Assign 2048 MB (2 GB) RAM

  6. Create a VDI disk, dynamically allocated (20 GB recommended)


4. Boot the VM and Install Ubuntu

  1. Select the VM โ†’ Click Start

  2. Browse and select your .iso file

  3. Install Ubuntu just like you would on a real machine

  4. Set username, password, and timezone

  5. 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

TermDescription
Host OSYour main OS (Windows in this case)
Guest OSThe OS inside the VM (e.g., Ubuntu)
HypervisorSoftware that manages VMs (e.g., VirtualBox)
VM SnapshotSave point to restore system state


โœ… 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

0
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