Main Content

Run MATLAB on Amazon Web Services (Linux)

Use a customizable reference architecture to run MATLAB® on a Linux® virtual machine in Amazon® Web Services (AWS®). The reference architecture includes MATLAB, Simulink®, and toolboxes, as well as support for GPUs.

Use this reference architecture when you want to launch MATLAB in a specific region, combine your MATLAB resources with your existing cloud resources, or automate deployment.


To use this reference architecture, you need:

  • An AWS account. You are responsible for the costs of all AWS services.

  • An SSH key pair for your AWS account in your chosen region. For more information, see  Amazon EC2 Key Pairs.

  • A MATLAB license that meets the following conditions:

    • Linked to a MathWorks Account.

    • Configured for cloud use. Individual and Campus-Wide licenses are already configured. For other license types, contact your administrator. You can identify your license type and administrator by viewing your MathWorks Account. Administrators can consult Administer Network Licenses.

Run from GitHub

To launch MATLAB in AWS, use the reference architecture templates provided in the following GitHub® repository:

You can run the template directly from the link in the GitHub repository. Choose your MATLAB release, and then click the Launch Stack icon next to the region in which you want to deploy your resources.

Related Topics

External Websites