liveBook · Manning

Virtual machine

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

A virtual machine (VM) is a computer within a computer: an isolated software environment with its own operating system. It lets you test software, run applications, or perform analytics without affecting the main system. section 7.3.2

Moving analytics to the cloud

Ask: “How can I deploy my calculation to the cloud? Provide me with a walkthrough.” A single VM can run analytics much like a local PC, usually without code changes. This offers a moderate increase in computing power, but less than a distributed cluster. section 7.3.2

Treat a VM as a starting point, then check whether the workload requires more:

  • Customize the environment or add resources for the specific workload. section 7.3.2
  • Consider managed data processing or serverless services when one VM is insufficient. section 7.3.2
  • Verify deployment instructions because cloud-provider interfaces and steps change. section 7.3.2

How Starting Data Analytics with Generative AI and Python covers it

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 it assumes
Assumes code that runs locally and teaches cloud deployment as an isolated environment without requiring code changes.
What you can do after
Operate/configure analytics on a single cloud VM, then recognize when customization or distributed services are needed.
How it connects
Connects virtual machines with cloud computing, operating systems, analytics, cluster computing, serverless computing, and managed data processing.

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 Starting Data Analytics with Generative AI and Python. The section links point to the parts of the book it draws on.