Main Content

Run MATLAB on Amazon Web Services

Use a customizable reference architecture to run MATLAB® on a Windows® or 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.

By default, the MATLAB reference architectures launch prebuilt machine images. Using a prebuilt machine image is the easiest way to deploy a MATLAB reference architecture. To build your own machine image using MathWorks® scripts, see the build scripts and instructions for customizing and deploying your own Linux machine image in the GitHub repository.

Related Topics

External Websites