How to Use Genymotion Cloud on Alibaba Cloud

By Genymotion Cloud

Genymotion Cloud is a Platform-as-a-Service (PaaS) Android Operating System. Based on industry-leading Genymotion Emulator, it offers Android Virtual Machines with high quality display in your web browser as well as SSH and ADB access. You can simulate scenarios with Genymotion’s set of sensors (GPS, Accelerometer, Battery, Disk Throttling, Network, Calls & Texts emulation) using widgets or Java API for automation.

You can easily integrate Genymotion with your existing infrastructure to automate your operations:

  1. Continuous Integration for Android applications testing
  2. Functional and Performance Monitoring
  3. Security Testing
  4. Mobile Threat Detection
  5. Competitive Analysis
  6. Advertising

In this article, we will show you how you can easily deploy Genymotion Cloud on Alibaba Cloud through the Marketplace.

  1. 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 a Lollipop image (Android 5.1), a Marshmallow image (Android 6.0), a Nougat image (Android 7.0) or a Oreo image (Android 8.0).
  2. Click Choose your plan.
  3. Configure your virtual device:
Image for post
Image for post
  1. In Elastic Compute Service (ECS) keep the Custom selection.
  2. In Billing Method, select Pay-As-You-Go.
  3. In Region, select your geographical area. The zone determines what computing resources are available and where your data is stored and used.
  4. In Instance type, select the specifications of your machine. You can set the number of vCPU and Memory size to shorten the following available configurations. You can also set Architecture and Category preferences. Then select the desired instance type.
Image for post
Image for post
  1. From the Image section, select Marketplace Image.
  2. From the Storage section, select the System Disk type and size. Minimum is 40GiB. Storage space is less expensive with Ultra Cloud Disk. 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. Then click Next: Networking.
Image for post
Image for post
  1. From the Networking section, select the VPC linked to your Custom Security Group (see Part 9) and refresh with the double arrow circle icon to make sure it is selected.
  2. In Network Billing Method, check Assign public IP. You don’t have to change the PayByTraffic value.
  3. In Security Group, select the custom Security Group you want to use. The default Security Group is incomplete and won’t work. If you don’t already have a custom Security Group, click on Create a Security Group. In the new tab, click on Create Security Group. In the new window, select Web Server Linux, enter a name in Security Group Name and enter a description in Description. In Network type select VPC, then in VPC select the available VPC and click OK. When prompted, click on Set the rules immediately, then click Add Security Group Rules. Create 3 rules containing the following information:
  4. a. Rule 1
  5. Protocol Type: Custom TCP
  6. Port Range: 51000/51100
  7. Authorization Type: 0.0.0.0/0
  8. Description: webrtc
  9. b. Rule 2
  10. Protocol Type: Custom UDP
  11. Port Range: 51000/51100
  12. Authorization Type: 0.0.0.0/0
  13. Description: webrtc
  14. c. Rule 3
  15. Protocol Type: Custom TCP
  16. Port Range: 5555/5555
  17. Authorization Type: 0.0.0.0/0
  18. Description: adb
  19. Then click Next: System Configurations. In System Configurations, section Log on Credentials, select Key Pair and select one if available. If you don’t have a Key Pair, click Create Key Pair and follow the instructions. Then enter an Instance Name and a Description.
Image for post
Image for post
  1. Then click Next: Grouping. In Grouping, you may add Tags at your convenience.
Image for post
Image for post
  1. Then click Next: Preview.
Image for post
Image for post
  1. In Configurations Selected you may save the selected configuration as launch template : click Save as launch template, then add a name and a description. Click Save. In Terms of Service check the ECS Service Terms, then click Create Instance. In the Activated pop-up click Console.
Image for post
Image for post
  1. Once the initial setup is done, the instance automatically starts. It can take up to two minutes before the instance can be accessed through the web browser.
  2. From the management console, in Instances, select the instance you want to access.
  3. From the IP address column copy the Internet IP address and paste it to your web browser. A connection warning pops up. This happens because the certificate is auto-signed. Proceed and authenticate. By default, the username is “genymotion” and the password is the Instance ID of the instance you can retrieve from column Instance ID/Name.

Reference:https://www.alibabacloud.com/blog/how-to-use-genymotion-cloud-on-alibaba-cloud_594212?spm=a2c41.12345407.0.0

Written by

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store