Set up UFT Digital Lab on the cloud
This section describes how to set up your environment to work with a UFT Digital Lab server installed on the Amazon EC2 or Microsoft Azure cloud. This section is relevant only for UFT Digital Lab.
Install UFT Digital Lab on an EC2 machine
Install UFT Digital Lab on a EC2 machine as follows:
- Make sure you have an active Amazon Web Services (AWS) account. If you do not have one, create a new account. For details, see the Amazon Web Services documentation.
-
In the EC2 console, launch an EC2 instance:
- Select a supported AMI, and configure the instance details according to the system requirements. For details, see system requirements. A t2.large instance type is recommended
- Make sure that the port required by the Digital Lab server is open, by creating a Security group or using an existing one. For details, see the Amazon Web Services documentation. By default, the server uses ports 8080 (a non-SSL connection)/8443 (SSL).
- Launch the instance.
- Copy the Public DNS name of the instance to your clipboard.
-
Log in to the EC2 machine using the DNS of the instance that you created above.
-
Transfer the UFT Digital Lab <install server file>.zip to the EC2 instance.
-
Unzip the archive file.
- Install UFT Digital Lab. For details, see the Windows or Linux installation sections. Note: When running the installation on AWS on Linux, root user refers to the AMI default user name.
Use the AWS Marketplace Digital Lab image
Using your Amazon account you can launch an instance of the Digital Lab image on an EC2 machine.
To set up your environment using a Marketplace image:
- Make sure you have an active Amazon Web Services (AWS) account. If you do not have one, create a new account. For details, see the Amazon Web Services documentation.
- In your browser, navigate to the Amazon Marketplace.
- In the Search AWS Marketplace box, enter UFT Digital Lab. Select the Micro Focus UFT Digital Lab - Mobile Testing & Monitoring solution image.
- Select your region and review the information on the page. Click Show more in the Usage Instructions section, to learn about the syntax of the user name and password.
- Click Continue. The AWS server prompts you for credentials.
-
Launch an instance as described in Launching an AWS Marketplace Instance in the Amazon Web Services documentation. Follow these guidelines:
- Select a t2.large instance type (recommended)
- In the Security Group section, make sure that ports 22 and 8080 are open (as described in the Usage Instructions in the previous screen)
- When the deployment is complete, locate the Public DNS and the Instance ID in the management console's Description tab.
- On your local machine, open a browser and enter http://<publicDNS>:8080. Digital Lab prompts you for credentials. Enter the default user name, admin@default.com and the password which consists of the Instance ID without the "i-", preceded by the "MC_" prefix, for example, MC_4567rs5.
Use the DNS of the instance you created above as the server address when connecting your testing tools to Digital Lab.
Install Digital Lab on the Azure cloud
Using your Microsoft Azure account you can launch an instance of the Digital Lab on the Azure cloud.
To set up Digital Lab on an Azure cloud machine:
- Make sure you have an active Azure account. If you do not have one, create a new account. For details, see the Microsoft Azure documentation.
-
Create a new virtual machine (VM) following these guidelines:
- Select an image supported by Digital Lab. For more details, see Support matrix.
- Select a VM size. The recommended sizes are B2MS or B4MS.
- Indicate the ports to be open for inbound traffic. These can be defined during the installation. By default, the server uses ports 8080 (a non-SSL connection) and 8443 (SSL).
- Add the DNS name to the VM. For details, see Create an FQDN in the Microsoft Azure documentation.
-
Locate the VM's hosts file.
- On Windows: C:\Windows\System32\drivers\etc\hosts
- On Linux: /etc/hosts
-
In the VM's hosts file, add the name resolution of the DNS name to
127.0.0.1
. For example,- On Windows:
127.0.0.1 my-vm.westus.cloudapp.azure.com
- On Linux:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 my-vm.westus.cloudapp.azure.com
- On Windows:
- Copy the UFT Digital Lab server installation zip file to the VM.
- Extract the zip file's contents and run the installation. See Digital Lab - Windows Installation or Digital Lab- Linux Installation.
- On your local machine, open a browser and navigate to https://<VM DNS name>:<selected port - 8443 by default>. You can also use the DNS of the VM when connecting your testing tools to Digital Lab.
- Connect devices to UFT Digital Lab. For details, see Connect devices to Digital Lab.
See also: