Summary
In this chapter, you learned how to a managed single VM instances and instance groups. Single VM instances can be created, configured, stopped, started, and deleted using Cloud Console or using gcloud commands from Cloud Shell or your local machine if you have SDK installed.
Snapshots are copies of disks and are useful as backups and for copying data to other instances. Images are copies of disks that are in a format suitable for creating VMs.
The main command used to manage VMs is the gcloud compute instances command. gcloud uses a hierarchical structure to order the command elements. The command begins with gcloud, followed by a GCP resource, such as compute for Compute Engine, followed by an entity type such as instances or snapshots. An action is then specified, such as create, delete, list, or describe.
GPUs can be attached to instances that have GPU libraries installed in the operating system. GPUs are used for compute-intensive tasks, such as building machine learning models...