Genymotion on Demand

– Frequently Asked Questions –

 

Installation

How do I install google apps?
Please refer to this tutorial

How do I  install an apk?
Please refer to this tutorial

 

Configuration & CLI access

What port should I open on AWS firewall rules?
– ssh IN TCP 22
– http IN TCP 80
– https IN TCP 443

We use webrtc to create a peer to peer connection. This peer connection uses a dynamic port.

– webrtc IN TCP and UDP 51003-51100

If you use a TURN server as referred on this tutorial, its IP address needs to be authorized.

We do not recommend opening the adb port. The adb connection is neither secured nor authenticated. Instead we recommend creating an ssh tunnel (see adb paragraph). If you do decide to open the adb connection, here is the port

– adb IN TCP 5555

 

What port should I open on the client side?
To be able to access your VM, you need to be able to connect to

– ssh OUT TCP 22
– http OUT TCP 80
– https OUT TCP 443

– webrtc OUT TCP and UDP 51003-51100

If you can’t modify your corporate network to allow those connections, you need to configure a TURN server. Please refer to this tutorial.

If your company is using a proxy, please make sure to allow HTTP CONNECT on any of these ports.

If the proxy is a SOCKv5 proxy, you will also need to allow UDP ASSOCIATE.

 

How to configure a TURN server?

Please refer to this tutorial.

 

My instance is stucked with a boot animation:

It means that your connection isn’t established for several reasons. Please check :
– If your AWS security group authorizes the connection
– If your firewall or proxy blocks the connection

Check above to see which ports need to be opened.

 

How do I gain access to my VD on AWS via ssh?
Your public key will be retrieved from aws metadata at the boot time. Use your corresponding private key to get ssh access.

$ ssh -i key.pem [email protected]_ip

If you want to avoid to add -i key.pem at every ssh commands, make sure to have a ssh-agent configured and then add the key with

$ ssh-add key.pem

 

How do I change or disable the basic authentication?
Please refer to this tutorial

 

How do I change the resolution?
Please refer to this tutorial

 

How do I lock my application?
We implemented a kiosk mode. Please refer to this tutorial.

 

Is it possible to use Genymotion JAVA APIs to automate the use of sensors?
Yes. Simply run your instrumentation tests using Genymotion JAVA APIs on AWS connected instances.

ADB

How do I enable/disable adb?
Please refer to this tutorial

 

Web browser

How do I get access from a web browser?

You can directly connect to the instance with this URL: https://instance_publicIPorDNS

From manage EC2 Management console in Instances, select the instance you want to access. In the description section at the bottom, copy the hostname or public IP and paste it to your web browser.

public-DNS (1)

 

The instance creates a self-signed certificate at the first boot. You must accept it to connect to the instance.  You can also create a trusted SSL certificate that won’t display a warning when accessing the instance.

Please refer to this tutorial on the Product access page

 

I want to connect to my instance with no warnings.

– We provide a docker that uses Let’s encrypt servers to generate a certificate and install it on the instance. Please refer to our project.

– If you already have generated certificates our Github project will help you set them up.

– If you don’t want to use the docker you can also refer to our Github project.

– Remember to disable adb so that third party can’t retrieve your certificates.

 

What web browsers are compatible?

Chrome and Opera

 

How do I disable/enable the toolbar?

Once you are in the device shell:

– Disable the toolbar with

/sbin/busybox sed -i -e 's/default/simple/g' /data/www/index.html

– Enable the toolbar with

/sbin/busybox sed -i -e 's/simple/default/g' /data/www/index.html

 

Support & roadmap

What support do you provide?
Please refer to the Support page

 

Do you plan to provide Lollipop / Nougat / KitKat versions?
Yes we are working on it. Nougat will be available for the next release. We also hope to port it on KitKat.

 

Performance

Can I run any application?

Yes however resource intensive 3D games won’t run smoothly.

Accelerated AWS instances have issues from time to time and have not been included yet.

 

What instance should I run for CI / Web browser interaction / games?

Please refer to this page

 

ABI supported

System support x86 and x86_64 applications

 

Pricing

What is the pricing for Genymotion on Demand?
Please refer to the pricing on AWS marketplace (Android 6 and Android 5)

x