Get Started with Genymotion PaaS

Genymotion PaaS is our solution to run Genymotion on Cloud platforms. It is currently available on:

Requirements

Genymotion PaaS has been tested on the following browsers:

| Browser | Min. Version | |---|---| | Google Chrome | 85 | | Mozilla Firefox | 78 | | Microsoft Edge | 20.10240 | | Safari* | 11 | | Opera | 70 |

Network security settings

To enable communication from your host(s) to your instance, you need to set or update your security groups/firewall to allow inbound connections from your local network (inbound).

You can use the following inbound rules to allow access with balanced security:

| Service | Protocol | Port(s) | Source | Destination | |---|---|---|---|---| | HTTPS/WSS | TCP | 443 | Any / Authorized hosts | Any | | HTTP | TCP | 80 | Any / Authorized hosts | Any | | ADB* | TCP | 5555 | Authorized hosts only! | Any | | SSH | TCP | 22 | Authorized hosts only! | Any | | WebRTC (TCP)** | TCP | 51000-51100 | Any / Authorized hosts | Any | | WebRTC (UDP)** | UDP | 51000-51100 | Any / Authorized hosts | Any |

> Warning: *ADB connections are neither secured nor authenticated; you should ONLY allow this port to authorized sources! If you wish a safer way to connect a device to ADB, you can use instead of allowing TCP port 5555.

> Allowing WebRTC is optional, but recommended for better performance.

Get Started

Available Android Images

Genymotion PaaS is available for all regions, except China.

> Warning: Data is encrypted using Android encryption on Android 8.0 images and above. There is no data encryption with Android 5.1, 6.0 and 7.0 images.

We offer ARM64 and x86_64 images for the following Android versions:

Create and launch an instance

From the Marketplace

1. Go to

2. Select the version of Android OS and architecture ( x86_64 or arm64 ) for your Genymotion instance.

3. In the EC2 Instance Type section, select an instance corresponding to your needs.

4. Click Continue to Subscribe. Review your choices and accept terms, then click Continue to Configuration.

5. Review the basic configuration and click Continue to Launch.

6. EC2 Instance Type: select an instance type in accordance to your choice when subscribing (see step 4).

7. Security Group: create a new security group ( Create New Based On Seller Settings ) if you need specific EC2 security/firewall settings.

8. In Key Pair Settings, you can select a key pair if you have already created some, or create a new one.

9. Once the initial setup is done, the instance automatically starts.

> Warning: It is not recommended to use the default security group.

> Warning: The EC2 Auto-assign Public IP feature is enabled by default. Make sure to setup your EC2 security group correctly to avoid any unauthorized connections to your instance.

From the EC2 console

1. In the EC2 Dashboard, click Launch instance and select Launch instance

2. Give a name to your instance in the Name and tags field:

3. In Application and OS images (Amazon Machine Image), type "Genymotion" in the bar and press return:

4. Select AWS Marketplace AMIs and choose the Genymotion image you wish to subscribe to:

5. Review the product pricing and conditions of use, and click Continue

6. Select the instance best suited to your need with the instance type drop-down button.

| Usage | ARM64 | x86_64 |

|---|---|---|

| Basic Android environment Automation, monitoring, testing, no graphical interactions | t4g.small | t3.small |

| Low-profile Android environment Basic interactions, not suitable for video streaming or gaming | t4g.medium | t3.medium |

| Standard Android environment Common usage, suitable for low-res video streaming or 2D games | c6g.large | m5.large |

| Professional Android environment Better performance for basic video streaming and 2D games | c6g.xlarge | m5.xlarge |

| High-end Android environment High-res Video streaming, 3D games | c6g.2xlarge | m5.2xlarge |

7. If you already have an SSH key pair, you can use the drop-down button in the Key pair () section to associate the pair with the instance, or create a new key pair.

8. In Network settings, you can either create a new security group (default), or use already existing groups.

9. In Configure storage, you can change the internal storage size and type, or add .

Advanced details

You can adjust advanced settings in this section, but we do not recommend altering them unless you are an experienced AWS user.

Click Launch instance when you are set to create and launch the new instance.

GCP steps

1. Go to .

2. Select the version of Android OS for your Genymotion instance.

3. Click Launch:

You may want or need to change a few settings before deploying the instance. Also, any incoming connection from outside the virtual network will be blocked.

| Usage | ARM64 | x86_64 |

|---|---|---|

| Basic Android environment Automation, monitoring, testing, no graphical interactions | t2a-standard-2 | e2-small |

| Low-profile Android environment Basic interactions, not suitable for video streaming or games | t2a-standard-2 | e2-medium |

| Standard Android environment Common usage, suitable for low-res video streaming or 2D games | c3a-standard-4 | n2-standard-2 |

| Professional Android environment Better performance for basic video streaming and 2D games | c3a-standard-8 | n2-standard-4 |

| High-end Android environment High-res Video streaming, 3D games | c3a-standard-16 | n2-standard-8 |

In the Firewall/Networking section, you can change the following settings:

When done, click Deploy.

Alibaba Cloud steps

1. Go to 2. Select an image (Android version + architecture) for your Genymotion instance. 3. Click Choose Your plan and proceed to select your subscription plan.

Setup your instance:

1. In Elastic Compute Service select the Custom Launch selection:

2. In Billing Method, select Pay-As-You-Go.

3. In Region, select your geographical area.

4. In Network and zone, select a VPC and a vSwitch.

In the Instance section, you need to select the Instance type that matches your image architecture (x86 or arm64) and your need.

We recommend the following instance types depending on your usage:

| Usage | ARM64 | x86_64 | |---|---|---| | Basic Android environment Automation, monitoring, testing, no graphical interactions | ecs.c6r.large | ecs.s2.small | | Low-profile Android environment Basic interactions, not suitable for video streaming or games | ecs.g6r.large | ecs.s2.large | | Standard Android environment Common usage, suitable for low-res video streaming or 2D games | ecs.c6r.xlarge | ecs.s3.large | | Professional Android environment Better performance for basic video streaming and 2D games | ecs.g6r.xlarge | ecs.m1.medium | | High-end Android environment High-res Video streaming, 3D games | ecs.c6r.2xlarge | ecs.c1.large |

> Warning: Available instance types may change depending on the region!

In the Image section, make sure that Marketplace Image is selected.

Setup the storage:

> Note: - Storage space is less expensive with Ultra Disk (default). > - SSD Cloud Disk is better for random IOPS or streaming throughput with low latency.

It is unnecessary to add a Data Disk, because it won't be used in the instance.

Bandwidths & Security Groups:

> Warning: You can only add basic access (SSH, HTTPS, HTTP) at this point. You may need to edit your security Group later to refine your security or add more rules, such as ADB access

For details about security settings, please refer to .

Management:

> Warning: Do not use ecs-user as username.

Finally, create and launch your instance:

You will be prompted when your instance is ready:

Microsoft Azure steps

1. Go to .

2. Click Get It Now and select a software plan and an Android image version.

3. Click Continue, review your selection and click Create:

4. In the Basics section, fill in the appropriate information:

| Usage | ARM64 | x86_64 |

|---|---|---|

| Basic Android environment Automation, monitoring, testing, no graphical interactions | Standard_D2ps_v5 | Standard_B2s |

| Low-profile Android environment Basic interactions, not suitable for video streaming or games | Standard_D2ps_v5 | Standard_B2s |

| Standard Android environment Common usage, suitable for low-res video streaming or 2D games | Standard_D4ps_v5 | Standard_D2s_v5 |

| Professional Android environment Better performance for basic video streaming and 2D games | Standard_D8ps_v5 | Standard_D4s_v5 |

| High-end Android environment High-res Video streaming, 3D games | Standard_D16ps_v5 | Standard_D8s_v5 |

5. Click Next: Disks.

6. Click Next: Networking.

7. Click Next: Management.

8. Click Next: Advanced.

9. Click Next: tags and set tags to your VM to your liking.

10. Finally, click Next: Review + create:

When finished, your new VM will be deployed and started.

Firewall/EC2 security groups

For recommended security settings, please refer to .

Ports access is configured in a security group that contains all the firewall rules. To edit those rules: 1. Go to Network & Security > Security groups. 2. Select the security group associated with your virtual device. 3. From tabs Inbound or Outbound, click Edit. 4. Edit rules according to your needs.

By default, all incoming traffic from outside a network is blocked. To access the instance from outside, you need to change or add a series of firewall rules: 1. From GCP dashboard, go to VPC network > Firewall 2. Add or edit your rules to match .

> Warning: ADB connections are neither secured nor authenticated; you should ONLY allow TCP port 5555 from authorized hosts!

In the Public IP Address section, check Assign Public IPv4 Address to assign a public IP to your instance.

In Secrity Group, select the custom Security Group you want to use.

> Warning: You can only add basic access (SSH, HTTPS, HTTP) at this point. You may need to edit your security Group later to refine your security or add more rules, such as ADB access

For details about security settings, please refer to the .

Ports access is configured in Network security groups (NSG). NSGs are usually defined during a virtual machine setup and but can also be changed afterwards: 1. Go to Network security groups. 2. Select the NSG associated with your virtual machine ( your_virtual_machine_name.nsg ). 3. Edit or add rules according to your needs and the in Inbound security rules and Outbound security rules.

Deployed resources

Once done, an instance with the following resources will be deployed and started:

User Data

> There is no data encryption with Android 7.0, 6.0 and 5.1 images!