Creating a virtual machine

Last Updated : Jun 23, 2023 |

Procedure

  1. In Google Developers Console, click Compute > Compute Engine > VM instances.
  2. Select your project and click Continue.
  3. Click Create instance.
  4. Enter the following details in the Create a new instance window:
    1. Name: Assign a name to the VM.
    2. Zone: Select a zone for the VM.
    3. Machine type: Select a machine configuration for the VM.
  5. Click Create.
  6. In the Boot disk section, click Change, and do the following:
    1. Select the Custom Images tab.
    2. Click Select a project, select the project that contains the image, and click Open.
    3. In the Image list, click the image to import.
    4. Select the type and size of your boot disk.
    5. To confirm the boot disk options, click Select.
  7. In the Firewall section, select one of the following:
    • Allow HTTP traffic: To enable HTTP traffic to the VM.

    • Allow HTTPS traffic: To enable HTTPS traffic to the VM.

  8. In the Identity and API access section, select the Allow full access to all Cloud APIs field.