liveBook · Manning

Virtual machine

As explained in 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.

A virtual machine (VM) is a remote computer rented from a cloud provider. You access it through a terminal or virtual screen, install software on it, and reserve computing resources for a period of time. section 8.1

For an application that must answer users continuously, a VM provides an always-on environment instead of relying on a developer’s laptop. A stable public address lets people and other systems reach the deployed application consistently. section 8.1

A VM-based deployment typically involves these decisions:

  • Choose cloud capacity for computing resources such as CPU, memory, storage, and networking. section 8.1
  • Install and maintain the application yourself, accepting more operational work than managed hosting. section 8.1
  • Scale or upgrade the rented resources when the application’s needs change. section 8.1 section 8.5

How Grokking AI Applications covers it

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 it assumes
Assumes familiarity with deploying an application, while defining cloud resource rental and VM access through a terminal or virtual screen.
What you can do after
Operate/configure a self-managed cloud VM as one option for deploying an always-available Langflow flow.
How it connects
Connects virtual machines with cloud computing, self-hosting, managed hosting, public servers, and application deployment.

Also explained in

Compare how 16 books explain virtual machine →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking AI Applications. The section links point to the parts of the book it draws on.