Virtual machine
A virtual machine is a software-defined execution environment that emulates or abstracts a computer system or machine model to run programs, often with isolation from its host.
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
A virtual machine is a software-defined computer that runs an operating system and applications in an isolated virtualized environment.
- How it is used
- Uses EC2 virtual machines to host applications and process data while retaining operating-system control.
- How deep it goes
- Defines host, guest, and hypervisor, then gives instance-inspection, troubleshooting, and lifecycle procedures without detailing hypervisor implementation.
- Examples
- Builds a load-balanced WordPress setup and inspects instance metrics and startup logs in the EC2 console.
- What you can do after
- Operate/configure it by inspecting, troubleshooting, stopping, and terminating EC2 instances while planning for failures and charges.
Acing the CCNA Exam: Volume 2 Advanced Networking and Security
A virtual machine is a software-emulated computer that runs an operating system and applications in an isolated environment on physical hardware.
- How it is used
- Frames virtualization as server consolidation that improves hardware utilization and supports isolated operating environments.
- How deep it goes
- Explains hypervisor placement, resource allocation, guest networking, virtual switching, and VLAN modes while stopping short of vendor configuration commands.
- Examples
- Uses type 1 and type 2 hypervisor diagrams, virtual-switch networking, and IaaS platforms such as AWS EC2 and Azure Virtual Machines.
- What you can do after
- Evaluate VM architectures, distinguish hypervisor types, and understand how virtual machines connect to physical networks and cloud services.
Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains virtual machine →
Microsoft Azure in Action
A virtual machine is a software-based computer that runs on virtualized physical hardware as an isolated execution environment.
- How it is used
- Provides configurable compute for custom applications without requiring ownership of physical hardware.
- How deep it goes
- Defines virtualization and IaaS, then works through portal creation choices and ongoing management rather than virtualization internals.
- Examples
- Uses a growing custom application, legacy software, backend processes, and Azure Portal creation choices.
- What you can do after
- Operate/configure it using Azure Portal creation choices, remote access, cost controls, and monitoring.
Read how Microsoft Azure in Action explains virtual machine →
Road to Kubernetes
A virtual machine is a software-emulated computer that provides an isolated operating-system environment on physical or virtualized infrastructure.
- How it is used
- Provides a remote server for manual application deployment and later serves as a host for containers.
- How deep it goes
- Walks through cloud provisioning and replaceable-server practices without detailing virtualization internals.
- Examples
- Uses a Linode provisioning task, VM destruction as a reset, and a fresh VM for Docker deployment.
- What you can do after
- Operate/configure it by selecting a cloud VM, deploying software to it, and treating it as replaceable.
Fundamentals of Cybersecurity
A virtual machine is a software-defined computer that emulates hardware and runs an operating system and applications in an isolated environment.
- How it is used
- Uses VMs to explain how organizations share physical servers among independent workloads and improve resource utilization.
- How deep it goes
- Defines the VM and its allocated resources, then compares isolation and performance with containers; stops short of configuration steps.
- Examples
- Illustrates four university VMs handling exams, research notebooks, legacy applications, and a web-facing service on one server.
- What you can do after
- Evaluate/understand when separate operating systems and stronger isolation make VMs preferable to lighter, faster-starting containers.
Read how Fundamentals of Cybersecurity explains virtual machine →
Building Web APIs with ASP.NET Core
A virtual machine is a software-emulated computer that provides an isolated operating environment on physical or cloud infrastructure.
- How it is used
- Hosts web applications, management portals, and server software on configurable cloud or virtualized infrastructure.
- How deep it goes
- Walks through cloud creation and hosting configuration, but stops short of detailed system-hardening practices.
- Examples
- Uses Azure Virtual Machines, Windows Server 2022 Datacenter, IIS, inbound TCP ports, and a VM-hosted management portal.
- What you can do after
- Operate/configure a Windows cloud VM, install web-server dependencies, deploy an ASP.NET Core API, and test the result.
Read how Building Web APIs with ASP.NET Core explains virtual machine →
Grokking AI Applications
A virtual machine is a software-defined computer that runs on shared physical infrastructure and provides an isolated environment for operating systems and applications.
- How it is used
- Deploys Langflow applications in an always-on, publicly reachable environment for continuous access.
- How deep it goes
- Explains the remote-computer model, resource rental, access, and maintenance trade-offs without detailing VM creation commands.
- Examples
- Uses a cloud VM to keep a Langflow assistant available to website users and other applications.
- What you can do after
- Operate/configure a self-managed cloud VM as one option for deploying an always-available Langflow flow.
Read how Grokking AI Applications explains virtual machine →
LLMs in Production
A virtual machine is a software-defined computer that runs an operating system and applications in an isolated virtualized environment.
- How it is used
- Supports large-model training by providing temporary access to isolated, multi-GPU computing environments.
- How deep it goes
- Explains cloud setup, cost control, connection, file transfer, and deletion, but does not detail virtualization internals.
- Examples
- Uses gcloud commands to create, inspect, connect to, copy files to, and delete a Google Cloud VM.
- What you can do after
- Operate/configure a GPU-enabled VM through Google Cloud's gcloud CLI and shut it down to control costs.
Kubernetes in Action, Second Edition
A virtual machine is a software-emulated computer that runs an operating system and applications in an isolated environment.
- How it is used
- Compares VM-based isolation with containers when choosing how applications share a host.
- How deep it goes
- Explains operating-system boundaries, process isolation, resource overhead, and Docker Desktop placement, but not VM implementation internals.
- Examples
- Uses VM-versus-container diagrams and Docker Desktop's Linux VM hosting Kubernetes and application containers.
- What you can do after
- Evaluate isolation and resource tradeoffs, then inspect a Docker Desktop VM indirectly through its host CLI and containers.
Read how Kubernetes in Action, Second Edition explains virtual machine →
100 SQL Server Mistakes and How to Avoid Them
A virtual machine is a software-defined computer that runs an operating system and applications in an isolated virtualized environment.
- How it is used
- Frames virtual machines as an Infrastructure as a Service choice for hosting SQL Server in cloud environments.
- How deep it goes
- Explains hosting choices, licensing, and operational tradeoffs but does not descend into VM architecture or administration procedures.
- Examples
- Uses Azure VM images, AWS EC2 instances and AMIs, and the MagicChoc greenfield application scenario.
- What you can do after
- Evaluate VM hosting against DBaaS by comparing control, licensing, capacity uncertainty, and ongoing administration.
Read how 100 SQL Server Mistakes and How to Avoid Them explains virtual machine →
Azure Security
A Windows virtual machine is a virtual machine running a Windows operating system.
- How it is used
- Deploys traditional or cloud-native digital services while supporting layered security and secure operating-system monitoring.
- How deep it goes
- Explains the VM security role and AMA monitoring prerequisites, then demonstrates CLI installation without detailing VM creation or agent internals.
- Examples
- Uses Windows and Linux Azure VMs, separated performance and security workspaces, prerequisites, and an Azure CLI extension installation.
- What you can do after
- Operate/configure Azure VMs by installing AMA and preparing permissions, networking, managed identity, and monitoring destinations.
Build and Orchestrator in Go (From Scratch)
A software-defined computer that abstracts physical hardware so multiple operating systems can run on one physical machine.
- How it is used
- Uses hardware abstraction to consolidate independent operating systems onto fewer physical machines.
- How deep it goes
- Explains abstracted hardware, per-VM operating-system resources, and application coupling without detailing VM implementation internals.
- Examples
- Uses dedicated application machines, shared VM hosts, and diagrams contrasting pre-virtualization systems with applications on VMs.
- What you can do after
- Operate infrastructure by placing multiple distinct operating systems on one physical machine and recognize application-layer limits.
Read how Build and Orchestrator in Go (From Scratch) explains virtual machine →
Platform Engineering on Kubernetes
A virtual machine is a software-emulated computer that runs an operating system and applications in an isolated environment on physical infrastructure.
- How it is used
- Standardizes development, testing, and deployment environments while supporting automated application hosting.
- How deep it goes
- Explains configuration, hypervisor management, and operational trade-offs but does not descend into virtualization internals.
- Examples
- Uses Jenkins jobs, developer-provided VMs, and clustered physical computers as concrete deployment examples.
- What you can do after
- Operate/configure repeatable environments with Jenkins jobs, hypervisors, and predefined VM configurations.
Read how Platform Engineering on Kubernetes explains virtual machine →
Kubernetes for Developers
A virtual machine is a software-emulated computer that provides an application with an isolated operating environment and typically includes a guest operating system.
- How it is used
- Uses virtual machines to isolate application environments and divide allocated resources across workloads.
- How deep it goes
- Explains deployment motivation, isolation benefits, maintenance overhead, and the contrast with containers, without detailing virtualization internals.
- Examples
- Contrasts shared hosting, one application per VM, and the progression from VMs to containers.
- What you can do after
- Evaluate deployment architectures by weighing application isolation and resource allocation against operating-system maintenance overhead.
Read how Kubernetes for Developers explains virtual machine →
Grokking Software Architecture
A virtual machine is a software-defined computer that emulates a physical machine and runs an operating system with allocated virtual resources.
- How it is used
- Positions virtual machines as the high-control IaaS option for cloud deployment and architectural decisions.
- How deep it goes
- Explains provider and customer responsibilities, control and maintenance tradeoffs, then compares VMs with other deployment models.
- Examples
- Uses AWS EC2, Google Compute Engine, Azure VMs, legacy-server migration, and an overnight vulnerability alert as examples.
- What you can do after
- Evaluate whether operating-system control or legacy compatibility outweighs maintenance work and idle-time costs.
Read how Grokking Software Architecture explains virtual machine →
Spring Microservices in Action
A software-emulated computer that runs an operating system and applications using virtualized hardware resources.
- How it is used
- Packages microservices for cloud deployment and elastic scaling.
- How deep it goes
- Explains deployment and scaling roles, but stops short of virtual-machine internals or setup.
- Examples
- Uses microservice images, physical servers, and Docker containers as deployment options.
- What you can do after
- Evaluate deployment options by comparing virtual-machine images with physical servers and containers.
Read how Spring Microservices in Action explains virtual machine →
Learn Docker in a Month of Lunches, Second Edition
A virtual machine is a software-defined computer that emulates hardware, runs its own operating system, and provides an isolated environment for applications.
- How it is used
- Compares virtual machines with containers and cloud migration options for application deployment.
- How deep it goes
- Defines VMs by their separate operating systems and explains memory, CPU, licensing, and maintenance costs.
- Examples
- Uses cloud application components, multiple VMs on one computer, and container-versus-VM diagrams.
- What you can do after
- Evaluate deployment alternatives by weighing VM portability and isolation against resource, licensing, and maintenance costs.
Read how Learn Docker in a Month of Lunches, Second Edition explains virtual machine →
Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more
A virtual machine is a software-emulated computer that provides an isolated environment with virtualized hardware for running an operating system and its workloads.
- How it is used
- Contrasts VM-based isolation with containers when explaining application packaging, operational overhead, and layered security boundaries.
- How deep it goes
- Compares complete-OS management and isolation but does not describe hypervisor implementation or virtual hardware internals.
- Examples
- Uses three applications on one physical machine and a web frontend separated from a credit-card database.
- What you can do after
- Evaluate when VM isolation justifies managing complete operating systems and additional runtime overhead.
Starting Data Analytics with Generative AI and Python
A virtual machine is a software-emulated computer that runs its own operating system within an isolated allocation of physical computing resources.
- How it is used
- Deploys analytics in the cloud as a first migration step without requiring code changes.
- How deep it goes
- Defines an isolated computer-within-a-computer and describes single-VM deployment, but defers detailed provider instructions and distributed implementation.
- Examples
- Uses a cloud VM to run analytics like on a local PC and prompts ChatGPT for deployment instructions.
- What you can do after
- Operate/configure analytics on a single cloud VM, then recognize when customization or distributed services are needed.
Read how Starting Data Analytics with Generative AI and Python explains virtual machine →
Also covered in
- Designing AI AgentsIn early access (MEAP)
- Cloud Observability in Action
- Google Anthos in Action
- Systems Programming with ZigIn early access (MEAP)
- Go in Practice, Second Edition
- The Cloud at Your Service: The when, how, and why of enterprise cloud computing
- Latency
- Data Pipelines with Apache Airflow, Second Edition
- Build Python Web Apps with Streamlit
- Think Distributed Systems
- Apache Kafka in Action
- Pro ASP.NET Core 7, Tenth Edition
What to know first
- containerA software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
- cloud providerA cloud provider is an organization or service operator that supplies remotely accessible computing resources or services over a network, often on demand.
- monitoringMonitoring is the ongoing observation and measurement of a system or process to assess its behavior or condition and detect changes, failures, or other problems.
- serverA server is a computer system or software process that provides data, resources, or services to other systems, typically by responding to requests.
Related concepts
- containerhas part · A software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
- Amazon EC2includes · Amazon EC2 is an Amazon Web Services cloud service that provides resizable virtual machine instances on demand.
- CHIP-8includes · CHIP-8 is an interpreted virtual-machine environment defined by an instruction set, execution semantics, and conventions for memory, registers, input, display, and sound.
- Gocontrasts with · Go is a statically typed, compiled, general-purpose programming language with garbage collection and built-in support for concurrency.
- virtualizationproduced by · Virtualization is the abstraction of computing resources to create logical environments or resources that operate on shared underlying physical infrastructure.
Questions about virtual machine
What is virtual machine?
A virtual machine is a software-defined execution environment that emulates or abstracts a computer system or machine model to run programs, often with isolation from its host.
Which Manning books explain virtual machine?
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS, Acing the CCNA Exam: Volume 2 Advanced Networking and Security, Microsoft Azure in Action, Road to Kubernetes, Fundamentals of Cybersecurity, Building Web APIs with ASP.NET Core, Grokking AI Applications, LLMs in Production and 11 more.
What should I know before learning virtual machine?
Manning books that teach virtual machine usually introduce container, cloud provider, monitoring and server first.
What is the difference between virtual machine and Go?
A virtual machine is a software-defined execution environment that emulates or abstracts a computer system or machine model to run programs, often with isolation from its host. Go is a statically typed, compiled, general-purpose programming language with garbage collection and built-in support for concurrency.
What kinds of virtual machine are there?
Kinds of virtual machine include Amazon EC2 and CHIP-8.
What are the parts of virtual machine?
Virtual machine includes container.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


















