Basic Virtual Machine Management
When VMs are running, you can perform basic management tasks by using the console or using gcloud commands.
Starting and Stopping Instances
In the console you view a list of instances by selecting Compute Engine and then VM Instances from the left-side panel of the console. You can then select a VM to operate on and list command options by clicking the three dot icons on the right. Figure 5.21 shows an example.

FIGURE 5.21 Basic operations on VMs can be performed using a pop-up menu in the console.
Note that you can start a stopped instance using the start command that is enabled in the pop-up for stopped instances.
You can also use gcloud to stop an instance with the following command, where INSTANCE-NAME is the name of the instance:
gcloud compute instances stop INSTANCE-NAME
Network Access to Virtual Machines
As a cloud engineer, you will sometimes need to log into a VM to perform some administration tasks. The most common way is to use SSH...