Skip to content

Stand up a Network License Manager for MATLAB using CloudFormation

License

Notifications You must be signed in to change notification settings

mathworks-ref-arch/license-manager-for-matlab-on-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network License Manager for MATLAB on Amazon Web Services (Linux VM)

This repository shows how to deploy a network license manager for MATLAB®, MATLAB Parallel Server®, and other Mathworks® products, running on a Linux® EC2® instance in your AWS® account. For information about the architecture of this solution, see Learn about Architecture.

Requirements

You need:

Costs

You are responsible for the cost of the AWS services used when you create cloud resources using this guide. Resource settings, such as instance type, affect the cost of deployment. For cost estimates, see the pricing pages for each AWS service you will be using. Prices are subject to change.

Deployment Steps

To view instructions for deploying the Network License Manager for MATLAB reference architecture, select a MATLAB release:

Release
R2024b
R2024a
R2023b
R2023a
R2022b
R2022a
R2021b
R2021a
R2020b
R2020a
R2019b
R2019a_and_older

Learn about Architecture

Cluster Architecture

Networking Resources

  • Security Group (AWS::EC2::SecurityGroup): The security group defines the ports that are opened to the instance:
    • 22: Required for SSH access to the cluster nodes.
    • 443: Required for HTTPS access to the dashboard.
    • 27000-27010: Required for communication from MATLAB and MATLAB workers to the network license manager for MATLAB.
  • Internal Security Group Traffic Rule (AWS::EC2::SecurityGroupIngress): Opens access to network traffic between all instances internally.
  • Elastic IP: An elastic IP is created so that the server can be restarted and keep the same IP and MAC address to ensure the license file downloaded from MathWorks remains valid.

Instances

  • Network license manager instance (AWS::EC2::Instance): An EC2 instance for the license server.

FAQ

How do I copy the VM image to a different region?

You can copy the AMI for a certain MATLAB version to a target region of your choice.

  • In the Releases folder of this repository, choose the MATLAB release that you want to copy. Download and open the CloudFormation template .json file for that release.
  • Locate the Mappings section in the CloudFormation template. Copy the AMI ID for one of the existing regions, for example, us-east-1.
  • To copy the AMI to your target region, follow the steps in the AWS documentation.
  • In the Mappings section of the CloudFormation template, add a new RegionMap pair corresponding to your target region. Insert the new AMI ID of the AMI in the target region.
  • In your AWS Console, change your region to your target region. In the CloudFormation menu, select the Create Stack > With new resources option. Provide the modified CloudFormation template.

You can now deploy the AMI in your target region using the AMI that you copied.

Technical Support

To request assistance or additional features, contact MathWorks Technical Support.


Copyright 2018-2024 The MathWorks, Inc.