virtual machine
A complete pretend computer, with its own operating system, running as software on a real computer.
In more detail
A hypervisor imitates the hardware of a computer, and each virtual machine boots a full guest operating system, including its own kernel, on that imitation hardware. This gives strong isolation: a crash or flaw in one guest kernel stays inside that guest. The price is memory for every guest kernel and a boot that takes seconds or minutes. Most servers rented from a cloud provider are virtual machines.
Examples
Molecule drivers can create a virtual machine as a disposable test instance.Detonate malware in an isolated VM, never on your own workstation.In Terraform: Clouds rent out virtual machines by the hour, and a Terraform provider knows how to create one through the cloud's API. Terraform creates the machine; installing software inside it is configuration management.Related terms
- container — A running program that has been fenced off from the rest of the computer so it only sees its own files, network and processes.
- Molecule driver — The Molecule setting that decides where test instances run, such as containers, virtual machines or an existing machine.
- Amazon EC2 — Amazon Elastic Compute Cloud, the AWS service that rents out virtual servers called instances.
- GitHub-hosted runner — A virtual machine that GitHub creates for a single job and destroys when the job ends.
- runner — A machine running the runner application that picks up a queued job, runs its steps and reports the result.
- hypervisor — Software that lets one physical computer run several virtual machines by imitating hardware for each of them.
- instance — One virtual machine running in Amazon EC2.
- guest operating system — The operating system that runs inside a virtual machine, as opposed to the one on the real hardware.
- kernel — The core of an operating system that controls the hardware and decides what every program is allowed to do.
- bare metal — Running software directly on a physical computer, with no virtual machine in between.
- provider — A plugin that teaches Terraform how to talk to one API, such as AWS or your local disk, and which resource types it offers.
- configuration management — Keeping the software, settings, files and services on your machines in a known, described state, and putting them back when they wander from it.
Taught in
- Testing With Molecule — Ansible Configuration Management at Scale
- Monday, Five Tickets — Microsoft Azure Administrator (AZ-104) Exam Prep
- Should Theo Be An Owner? Azure Roles And Scopes — Microsoft Azure Administrator (AZ-104) Exam Prep
- A Role That Fits: Reading And Writing Role Definitions — Microsoft Azure Administrator (AZ-104) Exam Prep
- A Storage Account In The Wrong Country: Azure Policy — Microsoft Azure Administrator (AZ-104) Exam Prep
- The Deleted IP Address: Locks, Tags, Groups And Subscriptions — Microsoft Azure Administrator (AZ-104) Exam Prep
- Three Weeks Before Anyone Noticed: Budgets, Alerts And Advisor — Microsoft Azure Administrator (AZ-104) Exam Prep
- Agents, Pools And Runners — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- What The Cloud Changes — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Consumption Pricing And Serverless — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- The Benefits, In Microsoft's Words — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- IaaS, PaaS And SaaS On Azure — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Regions, Zones And The Resource Hierarchy — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Compute — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Networking — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Storage Accounts, Redundancy And Tiers — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Microsoft Entra ID And Access — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Zero Trust, Defence In Depth And Defender For Cloud — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- What Drives An Azure Bill — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Governance: Policy, Locks And Purview — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Managing And Deploying Resources — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Monitoring: Advisor, Service Health And Azure Monitor — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Governance Decision Drill — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Look-Alike Services Sprint — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- What Argo Workflows Runs: Controller, Server And One Pod A Step — Certified Argo Project Associate (CAPA) Exam Prep
- Runners: Where Code Executes — Continuous Integration & Continuous Delivery Pipelines
- The Metadata Endpoint And The Kubelet's Front Door — Certified Kubernetes Security Specialist (CKS) Exam Prep
- kube-bench: Ten Failures On A Fresh Cluster — Certified Kubernetes Security Specialist (CKS) Exam Prep
- The Host Footprint: Six Doors On A Worker — Certified Kubernetes Security Specialist (CKS) Exam Prep
- AppArmor: The Guard Docker Desktop Does Not Have — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Sandboxed Pods: RuntimeClass And gVisor — Certified Kubernetes Security Specialist (CKS) Exam Prep
- The Shared Responsibility Model — Cloud Infrastructure & Hyperscaler Architecture
- Elastic Compute Cloud (EC2) — Cloud Infrastructure & Hyperscaler Architecture
- Containers on AWS (ECS and EKS) — Cloud Infrastructure & Hyperscaler Architecture
- Serverless Compute (Lambda) — Cloud Infrastructure & Hyperscaler Architecture
- Comparing Compute Options — Cloud Infrastructure & Hyperscaler Architecture
- Who Patches What: Service Models And Availability — CompTIA Cloud+ (CV0-004) Exam Prep
- Forty Terabytes Nobody Opens: Storage And Databases — CompTIA Cloud+ (CV0-004) Exam Prep
- The Container That Did Not Come Back — CompTIA Cloud+ (CV0-004) Exam Prep
- Two Domain Controllers, One Host: Virtualisation — CompTIA Cloud+ (CV0-004) Exam Prep
- Thirty Eight Percent More: Billing Models And Tags — CompTIA Cloud+ (CV0-004) Exam Prep
- Six Big Servers Doing Very Little: Rightsizing — CompTIA Cloud+ (CV0-004) Exam Prep
- Architecture Sprint: Ten Faults Before Friday — CompTIA Cloud+ (CV0-004) Exam Prep
- Ten Percent Off For Everyone: Source Control And Pipelines — CompTIA Cloud+ (CV0-004) Exam Prep
- Five Deploys, Five Failures: Troubleshooting Deployments — CompTIA Cloud+ (CV0-004) Exam Prep
- Sixty Six Of Eighty Five: The Mock And Its Report — CompTIA Cloud+ (CV0-004) Exam Prep
- Shared Responsibility Model & Cloud Threat Landscapes — Cloud Security & DevSecOps Engineering
- AWS Organizations, Account Hierarchies & Azure Management Groups — Cloud Security & DevSecOps Engineering
- Why Containers: Bare Metal, Machines And Processes — Docker Architecture & Production Containers
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- Install Docker And Verify Your Environment — Docker Architecture & Production Containers
- Build Context, Dockerignore And Your First Dockerfile — Docker Architecture & Production Containers
- Ephemeral Filesystems And Named Volumes — Docker Architecture & Production Containers
- Bridge Networks, DNS And Container Communication — Docker Architecture & Production Containers
- A Project Nobody Owns — Google Cloud Associate Cloud Engineer Exam Prep
- Two Hours, Sixty Questions — Google Cloud Associate Cloud Engineer Exam Prep
- Organisation, Folders And Projects — Google Cloud Associate Cloud Engineer Exam Prep
- APIs, Quotas, Locations And Inventory — Google Cloud Associate Cloud Engineer Exam Prep
- First Network And Observability Setup — Google Cloud Associate Cloud Engineer Exam Prep
- Choosing Compute — Google Cloud Associate Cloud Engineer Exam Prep
- GitHub-Hosted And Larger Runners: Specs, Software And Networks — GitHub Actions (GH-200) Exam Prep
- Runner Types And Executors: Who Runs The Job, And Where — GitLab Certified CI/CD Associate Exam Prep
- Registering Runners And Routing Jobs With Tags — GitLab Certified CI/CD Associate Exam Prep
- Test Tools And The Truth About Automation — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Pin It, Lint It, Prove It: Images And Runtimes — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- How Thick Is The Wall? Isolation Techniques — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Bootstrap A Local Cluster And Check Your Context — Kubernetes: Production-Grade Container Orchestration
- The Reboot That Fails You — Red Hat Certified System Administrator (EX200) Exam Prep
- Logins, su, sudo And SSH Between Hosts — Red Hat Certified System Administrator (EX200) Exam Prep
- Recovering Root And Changing The Boot Loader — Red Hat Certified System Administrator (EX200) Exam Prep
- Tuning Profiles With tuned — Red Hat Certified System Administrator (EX200) Exam Prep
- NFS Client Mounts That Survive The Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- autofs: Mount On Demand — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: The Machine That Will Not Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 1: Eighteen Tasks, One Reboot — Red Hat Certified System Administrator (EX200) Exam Prep
- Forensics Principles, Custody & Imaging — Security Operations & Threat Hunting (SOC)
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)
- Vulnerabilities And Attack Surfaces — CompTIA Security+ (SY0-801) Exam Prep
- Providers And The required_providers Block — Infrastructure as Code with Terraform
- Infrastructure As Code, And One Workflow For Every Platform — HashiCorp Terraform Associate (004) Exam Prep
- Ninety Minutes, Two Kinds Of Question: How Linux+ Is Scored — CompTIA Linux+ (XK0-006) Exam Prep
- Friday's Backup, Monday's Restore: Incrementals, Images And Compressed Logs — CompTIA Linux+ (XK0-006) Exam Prep
- Twelve Old Servers, Two New Hosts: KVM, QEMU, libvirt And Disk Images — CompTIA Linux+ (XK0-006) Exam Prep
- Works On My Laptop: Images, Containers, Volumes And Networks — CompTIA Linux+ (XK0-006) Exam Prep
- One Rule, Four Firewalls: firewalld, ufw, nftables And iptables — CompTIA Linux+ (XK0-006) Exam Prep
- A New Depot By Friday: OpenTofu, Cloud-init, Pipelines And Kubernetes — CompTIA Linux+ (XK0-006) Exam Prep
- Two Hours, Twenty Hosts, One Reboot — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Kernel Parameters: Now, At Boot, And Which File Wins — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Recovering From Boot, File System And Disk Failures — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Virtual Machines With libvirt: XML, virsh And Autostart — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Time Sync With chrony: Servers, Zones And Proof — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- OpenSSH: Keys, Client Aliases And A Hardened Server — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Bridges And Bonds: Two Links, One Interface — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Remote File Systems: NFS, SMB And Network Block Devices — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Swap: Partitions, Volumes, Files And Priorities — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Performance Triage: Processor, Memory Or Disk? — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- LDAP Users Through SSSD — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Mock Exam, Part 1: Seventeen Tasks, One Reboot — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Mock Exam, Part 2: Real Machines And The Costly Mistakes — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Sixty Questions, One Wrong Flag Each — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
- Booting: Firmware To Login, And Where To Step In — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
- Linux As A Guest: Clones, Clouds And Containers — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
- Graded On A Machine You Never Touched — RHCE in Ansible (EX294): Automate Red Hat Systems
- ansible-navigator: The Settings File The Exam Reads — RHCE in Ansible (EX294): Automate Red Hat Systems
- Git And VS Code: Clone, Commit, Push, And The Dev Container — RHCE in Ansible (EX294): Automate Red Hat Systems
- Packages And Repositories: yum_repository And dnf — RHCE in Ansible (EX294): Automate Red Hat Systems
- Mock Exam, Part 1: Seven Tasks Across Three Sections — RHCE in Ansible (EX294): Automate Red Hat Systems
- Mock Exam, Part 2: Real Machines And The Patterns That Fail — RHCE in Ansible (EX294): Automate Red Hat Systems
References
- NIST glossary: virtual machine
- GitHub Docs: GitHub-hosted runners
- AWS: What is a virtual machine?
- What is a virtual machine? (Red Hat)
Certification courses
- AZ-104 course and practice exam: Microsoft Azure Administrator
- AZ-400 course and practice exam: Microsoft Azure DevOps Engineer Expert
- AZ-900 course and practice exam: Microsoft Azure Fundamentals
- CAPA course and practice exam: Certified Argo Project Associate
- CKS course and practice exam: Certified Kubernetes Security Specialist
- CompTIA Cloud+ course and practice exam: CV0-004
- Google Associate Cloud Engineer course and practice exam: Google Cloud certification
- GH-200 course and practice exam: GitHub Actions
- GitLab CI/CD Associate course and practice exam: GitLab Certified CI/CD Associate
- ISTQB CTFL course and practice exam: Certified Tester Foundation Level v4.0
- KCNA course and practice exam: Kubernetes and Cloud Native Associate
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- RHCSA course and practice exam: Red Hat Certified System Administrator (EX200)
- CompTIA Security+ course and practice exam: SY0-801
- Terraform Associate course and practice exam: HashiCorp Terraform Associate (004)
- CompTIA Linux+ course and practice exam: XK0-006
- LFCS course and practice exam: Linux Foundation Certified System Administrator
- LPIC-1 course and practice exam: Linux Administrator (101-500 and 102-500)
- RHCE course and practice exam: Red Hat Certified Engineer in Ansible (EX294)