Creating a new vm on google cloud

Here's a step-by-step guide to creating a new VM on Google Cloud:

Prerequisites:

  1. You have a Google Cloud account.
  2. You have enabled the Compute Engine API.
  3. You have a project selected in the Google Cloud Console.

Step 1: Go to the Compute Engine page

  1. Log in to the Google Cloud Console.
  2. Click on the navigation menu (three horizontal lines in the top left corner) and select "Compute Engine" from the dropdown menu.
  3. Click on "VM instances" from the Compute Engine page.

Step 2: Click on "Create instance"

  1. Click on the "Create instance" button.
  2. This will take you to the "Create a new instance" page.

Step 3: Choose the machine type

  1. Select the machine type for your VM. You can choose from a variety of machine types, including CPU, memory, and storage options.
  2. You can also choose to use a custom machine type if you have specific requirements.

Step 4: Choose the operating system

  1. Select the operating system for your VM. Google Cloud supports a variety of operating systems, including Windows, Linux, and macOS.
  2. You can also choose to use a custom operating system if you have a specific requirement.

Step 5: Configure the network

  1. Select the network for your VM. You can choose from a variety of options, including a default network or a custom network.
  2. You can also configure the network settings, such as the subnet and IP address.

Step 6: Configure the disk

  1. Select the disk type for your VM. You can choose from a variety of options, including SSD, HDD, and local SSD.
  2. You can also configure the disk size and number of disks.

Step 7: Add a boot disk

  1. Select the boot disk for your VM. This is the disk that will be used to boot your VM.
  2. You can choose from a variety of options, including a persistent disk or a local SSD.

Step 8: Add a secondary disk

  1. Select the secondary disk for your VM. This is the disk that will be used for data storage.
  2. You can choose from a variety of options, including a persistent disk or a local SSD.

Step 9: Configure the firewall

  1. Configure the firewall rules for your VM. You can choose from a variety of options, including allowing incoming traffic or blocking incoming traffic.

Step 10: Review and create

  1. Review your VM configuration to ensure that it meets your requirements.
  2. Click on the "Create" button to create your VM.

Step 11: Wait for the VM to be created

  1. Wait for the VM to be created. This may take a few minutes.
  2. Once the VM is created, you can access it using the IP address and credentials that you specified during the creation process.

That's it! You have now created a new VM on Google Cloud.