Chapter 2. Instances
The core capability provided by Google Compute Engine is an instance, also called a virtual machine (VM). An instance is a simulated computer, running in a partitioned environment on a real server in one of Googleâs data centers. From the userâs point of view, an instance behaves like a dedicated physical computer, with its own operating system, storage devices, network adapters, and so on.
Virtualization is the process of mapping a virtual machineâs environment and resources onto services provided by real hardware. The software managing the virtualization service is called a hypervisor or virtual machine manager. There are many popular virtualization systems in use today. Google  Compute Engine uses the Linux Kernel-based Virtual Machine (KVM) software.
The KVM hypervisor runs in a standard Linux environment, which means that virtualized and nonvirtualized workloads can run side by side on the same physical hardware. This eliminates the need to manage a separate pool of resources dedicated to the Compute Engine productâthe same hardware and software stack used to serve Google search, Gmail, Maps, and other Google services can also provide Compute Engine virtual machines.
In this chapter, weâll learn about Compute Engine instances and their attributes. Along the way, weâll learn how to create, access, and delete instances via three different access modes:
-
The Developers Console Web UI
-
The
gcloud
command-line tool -
The Google Python client ...
Get Google Compute Engine now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.