# Azure Quick start
# Create and set up an instance
- Go to Azure marketplace and select
For details about the software plans, click on the Plans tab.
- Choose a software plan and click Create:
- In the Basics section, fill in the appropriate information:
- Subscription: choose a subscription type. Only pay-as-you-go is available at the moment.
- Resource group: select a resource group. Resource groups are containers that hold related resources for an Azure solution. If you don't have any, you need to create a new one. For more details, please refer to Resource groups.
- Virtual machine name: set a name to your virtual machine.
- Region: select your region.
- Availability options: see Availability options in Azure.
- Image: this is the Genymotion Device image which corresponds to the plan you chose.
- Azure spot instance: see Azure spot instance overview. Default is
- Size: this is the storage size and number of virtual CPUs of your virtual machine. For more details, please refer to Virtual machine sizes in Azure.
- Authentication type: this is the type of authentication to connect remotely to the virtual machine. We recommend using SSH as this is required if you wish to connect your virtual machine to ADB. See Accessing a virtual device from SSH for more details.
- Username: the username should be
shell. This is necessary to access the instance via SSH.
- SSH public key: See Accessing a virtual device from SSH
- Click Next : Disks. In this section, you can change the virtual machine main storage and/or add more storage disks.
- Click Next : Networking. In this section, you need to setup your VM network:
- Virtual Network: this is the VM internal (private) network. See Virtual Network overview. You need to select an existing virtual network or create a new one.
- Subnetwork: this is the VM virtual network subnetwork. This can be used to isolate a VM from the others or set several VMs in the same virtual network.
- Public IP: sets a public IP to communicate inbound and outbound (without network address translation (NAT)) with the Internet and other Azure resources not connected to a virtual network. You need to set a public IP in order to access Genymotion device display webUI (See Access a virtual device from Web).
- NIC network security group: this option is unavailable with Genymotion device image.
- Configure network security groups: these are lists of Access Control List (ACL) rules that allow or deny network traffic to subnets, network interfaces, or both. See Network Security Groups. If you don't have any NSG, Azure will automatically create a new one with all inbound and outbound traffic allowed.
- Load balancing: you can place your virtual machine in the backend pool of an existing Azure load balancing solution. See Load balancers.
- Click Next : Management. This section is related to monitoring and management options for your VM. Change the settings according to your needs.
- Click Next : Advanced. These are specific options for advanced users. We are not going to detail them here.
- Click Next : tags. Set tags to your VM to your liking.
- Click Next : Review + create. In this section, your selections will be reviewed and your VM validated. Once validation is complete, click on Create to create the VM.
When finished, your new VM will be deployed and started. It will be available in your Dashboard, in the All resources section or in the Virtual machines section:
# Create and use templates
- Go to the Virtual Machine section and click on Export Template:
- You can download the template as a .zip file, add it to your library or deploy it directly:
- To use your new template, please refer to Use exported templates for details and instructions.
# Access a virtual device from Web
To access a virtual device webUI, you need to set a public IP to your virtual machine. See Create and set up an instance.
Once the initial setup is done, the instance is automatically starts. It can take up to 2 minutes before the instance can be accessed through the browser. Recommended browsers are: Chrome, Opera and Firefox
From the Virtual Machines section, select the virtual machine you want to access. In the Overview section, copy the public IP:
Paste the public IP in a new window. You will have this warning because our certificate is auto-signed:
Ignore the warning and proceed to the address.
Authenticate yourself. The default username is genymotion and the default password is your virtual machine name:
If you want to change the username and password, please refer to Change authentication.