Click the Deploy to Azure button below to deploy the cloud resources on Azure. This will open the Azure Portal in your web browser.
Cluster Platform: Windows Server 2019
MATLAB Release: R2022b
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. You can select an existing resource group from the drop-down menu, or click Create New to create a new resource group.
- Specify and check the defaults for these resource parameters:
Parameter label | Description |
---|---|
Instance Type | Azure instance type, see https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes. |
Client IP Address | IP address range that can be used access the license manager. 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 Username | Admin username, this is used to login to the Network License Manager for MATLAB dashboard. |
Admin Password | Admin password for the chosen username. This is used to login to the Network License Manager for MATLAB dashboard. |
Virtual Network Resource ID | Resource ID of an existing virtual network to deploy your server into. Specify this parameter only when deploying with the Existing Virtual Network option. |
Subnet Name | Name of an existing subnet within your virtual network to deploy your server into. Specify this parameter only when deploying with the Existing Virtual Network option. |
NOTE: The port and hostname of the network license manager must be reachable from all virtual machines running MATLAB. 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: The Internet Explorer web browser is not supported for interacting with the dashboard.
- In the Deployments for your resource group, select the Microsoft.Template deployment created in step 2 and select the Outputs section.
- Copy the URL listed in the
NETWORKLICENSEMANAGERADDRESS
field. This is the HTTPS endpoint to the network license manager for MATLAB Dashboard.
-
Paste the network license manager Address URL into a web browser.
-
Enter the username set at the time of the deployment along with the password for this user you created in Step 2.
Note: The dashboard uses a self-signed certificate which can be changed. For information on changing the self-signed certificates, see Change Self-signed Certificate.
Note: You will need the fixed network license manager Host ID to get a license file from the MathWorks License Center for your product. For more information, see the documentation for your product.
-
In the dashboard, go to Administration > Manage License.
-
Click Browse License File to select the license file you want to upload and click Open.
-
Click Upload.
You are now ready to use the network license manager on Azure.
To configure your MATLAB products deployed in Azure to use the network license manager, see the product documentation. An example for MATLAB Parallel Server can be found at MATLAB Parallel Server on Azure.
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.
-
Sign in 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.
You can change the self-signed certificate used to connect to the dashboard. To upload an HTTPS certificate:
- On the dashboard navigation menu, select Administration > Manage HTTPS Certificate.
- Click Browse Certificate... and select a certificate file. Only
.pfx
files are supported. - Enter the certificate password in the Certificate Password field.
- Click Upload.
The server will automatically restart after uploading a certificate. You will need to sign out and sign back in.
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 relevant error message.