This topic describes how to use the Azure® Marketplace to quickly deploy and run a network license manager in Azure. The elasticity of the cloud infrastructure enables you to deploy your license manager exactly where you need it for cloud computing with MATLAB®.
To complete these instructions, you need:
To configure and deploy the network license manger resources in a resource group:
Navigate to https://portal.azure.com and login to your Azure account.
From the Portal, click Create a Resource.
Search for “network license manager” in the marketplace and select the Network License Manager for MATLAB offering.
Click Create on the offering page to begin setup.
The setup process uses a Resource Manager template to help you configure the virtual machine (VM) and networking settings. To make setup easy, many of the fields come prepopulated with suitable values. This table describes how to set the various options in each menu of the template. Click Next at the end of each step to proceed to the next menu.
Select an Azure subscription to use.
You can select an existing resource group from the drop-down menu, or click Create New to create a new resource group. If you select an existing resource group, then it must not have any currently deployed resources.
Select a region from the drop-down list.
Network License Manager Virtual Machine Settings
Virtual machine size
Select the VM size. The default size (B1s) is sufficient for most purposes and safely satisfies the minimum requirements for the network license manager. You can select a different size if necessary. Note that the size of the VM you choose affects your costs.
|Choose the admin password for the user "matlab". This password is required when logging into your instance using remote desktop protocol. Your password must have at least 12 characters and meet the Azure password requirements. For information on the password requirements, see What are the password requirements when creating a VM?.|
Retype your chosen password.
|IP address||The IP address range that is authorized to connect to the VM. This must be a valid IP CIDR range of the form x.x.x.x/x. Use a value of the form x.x.x.x/32 to restrict access to only your computer.|
The Virtual network field is
prepopulated with a new virtual network resource named
The Subnet field is prepopulated
with a new subnet named
Review and Create
When you advance to the Review and Create menu, Azure automatically runs some final validation checks on the information entered on previous screens. If Azure finds any errors, then you must fix them before proceeding.
Once you are satisfied with the values you have entered, click Create to finalize setup and begin deploying the selected resources, or click Download a template for automation to get a copy of the completed template.
Once you have successfully configured and deployed the network license manager resources, use these steps to connect to the license manager portal and upload the license.
From the Azure Portal, navigate to the resource group with the resources you deployed.
Copy the DNS name.
In a new tab, browse to the DNS name you copied in the previous step.
Log in to the network license manager portal using the prepopulated username
manager and the password you set when you created the resources.
Upload the license file following the steps described in the portal. To obtain the license file, follow the instuctions in Step 1. Download a License File in the Install and Licensing documentation.
You can remove the resource group and all associated resources when you are done with them to help save on costs.
Login to the Azure Portal.
Select the resource group containing the network license manager resources you deployed.
Select the Delete resource group icon to delete all resources deployed in the group.
You will be prompted to confirm the deletion.
The deletion is final, and files do not persist between deployments. You must create the resources to make them available again.
Deploying the network license manager in Azure creates several resources in your resource group. The deployment sets up a single Azure VM running on Windows Server 2016 Datacenter, a network interface with a public IP address to connect to the network license manager hosted portal, a network security group that controls network traffic, and a virtual network for communication between resources. The following table summarizes the resources that are created.
|Resource Name||Default Resource Name in Azure||Description|
|Virtual machine||The VM instance with a pre-installed desktop network license manager service. The name you choose for this virtual machine resource acts as the root of the names for the Public IP address and Disk resources.|
|Public IP address||Public IP address to connect to the VM running MATLAB. If you select an existing Public IP resource, then the template does not create this resource.|
|Disk||The disk attached to the VM.|
|Network interface||Enables the VM to communicate with the internet, Azure, and on-premises resources.|
|Network security group||Allows or denies traffic to and from sources and destinations.|
|Virtual network||Enables resources to communicate with each other. If you select an existing virtual network resource, then the template does not create this resource.|
The architecture of these resources is summarized in this diagram.
The network license manager for Azure Marketplace allows you to use a pre-configured template. If you want to customize the templates or use automation scripts, then you can use the Network License Manager for MATLAB on Microsoft Azure Reference Architecture instead.
If you encounter an unexpected problem, search MATLAB Answers for solutions first. Most likely, other people have run into the same problem and resolved it already.
If the problem persists, or there are not any relevant posts on MATLAB Answers for the issue, contact Technical Support.