Create a Compute Engine VM

This page describes how to create a Compute Engine VM.

    As the first step to create a connector VM, create a Compute Engine VM.
  1. To create a Compute Engine VM in your Google Cloud project, run the following gcloud command:
    gcloudcomputeinstancescreateVM_NAME--zone=ZONE--project=PARTNER_PROJECT
    
  2. To create an SSH connection to the created VM, run the following gcloud command:
    gcloudcomputessh--zoneZONEVM_NAME--projectPARTNER_PROJECT
    

    Ensure that the firewall allows TCP ingress on port 22 of the VM.

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.