Understanding Machine Types and Images in Google Compute Engine - GCE | Scribe

Understanding Machine Types and Images in Google Compute Engine - GCE

  • Hafeez Baig |
  • 12 steps |
  • 2 minutes
  • Google CloudGoogle Cloud
information ordinal icon
Refer to this guide to learn how to create a Virtual Machine in GCP\ <https://scribehow.com/shared/Creating_your_first_Virtual_Machine_in_GCP__dF2VjMksT5en6PowYws7lQ>
1
Sign in into the **Google Cloud Platform**
2
Type "**Compute Engine**" in the search bar and click on the **Compute Engine** option
information ordinal icon
**What is Compute Engine?** Google Compute Engine (GCE) is an Infrastructure-as-a-Service (IaaS) offering from Google Cloud Platform (GCP) that allows users to run virtual machines (VMs) on Google's infrastructure. It provides scalable and flexible computing resources, high-performance persistent storage, advanced networking capabilities, and integration with other GCP services, making it suitable for a variety of workloads including web hosting, data processing, and high-performance computing.
3
**VM instances** wizard will open, click on the Name **my-first-vm**
4
**my-first-vm** wizard will open, scroll to the **Basic information** section and here you can view all the details for the VM instance
5
Scroll to the **Machine configuration** section, here you can view the Machine configuration for the VM instance
6
Scroll to the **Firewalls** section, here you can view the configurations for the Firewall of the VM instance
7
Scroll to the **Boot disk** section, here you can view all the Boot disk configurations of the VM instance
8
On the top right corner click on the **STOP** or **SUSPEND** button to stop or suspend the running VM instance
9
To connect the VM instance via SSH, click on the **SSH** button on the top left side
information ordinal icon
**What is SSH?**\ \ SSH, or Secure Shell, is a cryptographic network protocol used to securely access and manage remote computers and servers over an unsecured network. It provides a secure channel for accessing a command-line interface (CLI) on a remote machine, allowing users to execute commands, transfer files, and perform administrative tasks securely. In the context of Google Cloud Platform (GCP), SSH is commonly used to connect to and manage virtual machine instances running in Compute Engine.
10
**SSH** wizard will open in a new window **Note:** Connecting to the VM instance via SSH will take some time.
11
**Authorize** wizard will open, click on the **Authorize** button
12
You have successfully connected to the VM instance via **SSH**, type the command [[whoami]] to view the VM username
information ordinal icon
**What is whoami command?**\ \ The `whoami` command in Unix-like operating systems returns the username of the current user who is executing the command. It's a simple way to verify which user account you are currently logged in as.
information ordinal icon
Congratulations on completing this lab and Understanding Machine Types and Images in Google Compute Engine