Click the Deploy to Azure button below to deploy the cloud resources on Azure. This will open the Azure Portal in your web browser.
Create Virtual Network | Use Existing Virtual Network |
---|---|
Use this option to deploy the resources in a new virtual network |
Use this option to deploy the resources in an existing virtual network |
VM Platform: Ubuntu 18.04
MATLAB Release: R2021a
Clicking the Deploy to Azure button opens the "Custom deployment" page in your browser. You can configure the parameters on this page. It is easier to complete the steps if you position these instructions and the Azure Portal window side by side.
- Specify and check the defaults for these resource parameters:
Parameter label | Description |
---|---|
Vm Size | The Azure instance type to use for the VM. See https://docs.microsoft.com/en-us/azure/virtual-machines/sizes for a list of instance types. |
Client IP Addresses | The IP address range that can be used to access the VM. This must be a valid IP CIDR range of the form x.x.x.x/x. Use the value <your_public_ip_address>/32 to restrict access to only your computer. |
Admin Password | Choose the password for the user "ubuntu" for the instance. This password is required when logging into the instance using remote desktop protocol. For the deployment to succeed, your password must meet Azure's password requirements. See https://docs.microsoft.com/en-us/azure/virtual-machines/windows/faq#what-are-the-password-requirements-when-creating-a-vm- for information on the password requirements. |
Virtual Network Resource ID | The Resource ID of an existing virtual network to deploy your VM into. You can find this under the Properties of your virtual network. Specify this parameter only when deploying with the Existing Virtual Network option. |
Subnet Name | The name of an existing subnet within your virtual network to deploy your VM into. Specify this parameter only when deploying with the Existing Virtual Network option. |
License Server | Optional License Manager for MATLAB string in the form port@hostname. If not specified, online licensing is used. If specified, the license manager must be accessible from the specified virtual network and subnets. |
NOTE: If you are using network license manager, the port and hostname of the network license manager must be reachable from the MATLAB VMs. It is therefore recommended that you deploy into a subnet within the same virtual network as the network license manager.
-
Tick the box to accept the Azure Marketplace terms and conditions.
-
Click the Create button.
Note: Complete these steps only after your resource group has been successfully created.
-
In the Azure Portal, on the navigation panel on the left, click Resource groups. This will display all your resource groups.
-
Select the resource group you created for this deployment from the list. This will display the Azure blade of the selected resource group with its own navigation panel on the left.
-
Select the resource labeled matlab-public-ip. This resource contains the public IP address to the virtual machine that is running MATLAB.
-
Copy the IP address from the IP address field.
-
Launch any remote desktop client, paste the IP address in the appropriate field, and connect. On the Windows Remote Desktop Client you need to paste the IP address in the Computer field and click Connect.
-
In the login screen that's displayed, use the username
ubuntu
and the password you specified while configuring cloud resources in Step 2.
Double-click the MATLAB icon on the instance desktop to launch MATLAB. The first time you start MATLAB you will get a login dialog. Enter a valid MathWorks Account email address and password and click Sign In. If you have the correct license rights, MATLAB starts. For more information, see MATLAB Licensing in the Cloud.
Note: It may take a few minutes for activation to complete and MATLAB to start. You will experience this delay only the first time you start MATLAB.
You can remove the Resource Group and all associated resources when you are done with them. Note that you cannot recover resources once they are deleted.
- Login to the Azure Portal.
- Select the resource group containing your resources.
- Select the Delete resource group icon to destroy all resources deployed in this group.
- You will be prompted to enter the name of the resource group to confirm the deletion.
If your resource group fails to deploy, check the Deployments section of the Resource Group. It will indicate which resource deployments failed and allow you to navigate to the causing error message.