# GCP Quick start

# Create and set up an instance

  1. Go to Google Cloud Platform.

  2. Select the version of Genymotion Cloud corresponding to the Android version of virtual devices you wish to run. You can run Genymotion virtual devices based on Lollipop (Android 5.1), Marshmallow (Android 6.0), Nougat (Android 7.0), Oreo (Android 8.0) or Pie (Android 9.0).
    GCP Step 1

  3. Click Launch on Compute Engine.

  4. Configure your virtual device:
    GCP Step 2

    • In Deployment name, enter a name for the virtual device.
    • In Zone, select your geographical area. The zone determines what computing resources are available and where your data is stored and used.
    • In Machine type, select the specifications of your machine from the dropdown list or by clicking Customize. Machine types determine the specifications of your machines, such as the amount of memory, virtual cores, and persistent disk limits of your instance. For more information about instances, please refer to GCP machine types web page.
    • From the Boot Disk section, select the boot disk type and Storage space is much less expensive for a standard persistent disk. An SSD persistent disk is better for random IOPS or streaming throughput with low latency. Persistent disk performance is tied to the size of the persistent disk volume. You are charged for the actual amount of provisioned disk space.
    • From the Networking section, select the network to be used by the instance and a subnetwork. This assigns the instance an IPv4 address from the subnetwork range. Instances in different subnetworks can communicate with each other using their internal IPs as long as they belong to the same network.
    • In Firewall, select the type of network traffic you want to. By default all incoming traffic from outside a network is blocked.
    • In External IP, select a type of IP address associated with this instance. Selecting "None" will result in the instance having no external internet access.
    • In Source IP ranges for HTTPS/HTTP/Webrtc/Adb traffic, define the IP address ranges on which traffic is allowed. Use CIDR notation when entering ranges.
    • Enable or disable IP forwarding. Forwarding allows the instance to help route packets.


    We do not recommend opening the ADB port. The ADB connection is neither secured nor authenticated. Instead we recommend creating an SSH tunnel, as explained in section Enabling ADB. If you do decide to open the ADB connection, allow this port: Inbound ADB on TCP port 5555.

  5. Click Deploy.

# Create custom images (templates)

  1. In Compute Engine, go to Snapshots and create a snapshot from the configured instance you wish to use as your template image. This screenshot can be used as a base custom image.
  2. To create a new instance with this custom image, go to Create instance in Compute Engine and select the snapshot as the boot disk image.

# Access a virtual device from Web

  1. Start your instance
  2. Click and the instance name and copy the temporary Web UI password.
    Web UI password
  3. Get back to the main VM Instances page and click on the instance External IP
    External IP
  4. You will have the following warning because our certificate is autosigned:
    Certificate error
    If you don’t want a warning, you must install a trusted certificate. Please refer to Installing a valid certificate.
    Otherwise, click on Advanced and proceed to the connection.
  5. Enter username genymotion and paste the Web UI password.


If you want to change the username and password, please refer to Change authentication.

To stop your virtual device, close the tab where it is running and click on the three vertical dots at the end of the instance line and choose Stop.