Skip to content
Stand up a MATLAB desktop with Remote Desktop access using AWS CloudFormation
Branch: master
Clone or download
Latest commit 110c78c May 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Adding eu-west-1 region May 14, 2019
images First commit May 29, 2018
templates Adding eu-west-1 region May 14, 2019
LICENSE.md First commit May 29, 2018
README.md updated for R2019a May 10, 2019

README.md

MATLAB on Amazon Web Services

Requirements

Before starting, you will need the following:

  • A MATLAB® license that is current on Software Maintenance Service (SMS). For more information, see Configure MATLAB Licensing on the Cloud.
  • An Amazon Web Services™ (AWS) account.
  • An SSH Key Pair for your AWS account in the US East (N. Virginia) region. For more information, see Amazon EC2 Key Pairs.

Costs

You are responsible for the cost of the AWS services used when you create a cluster using this guide. Resource settings, such as instance type, will 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.

Introduction

The following guide will help you automate the process of running the MATLAB desktop on Amazon Web Services and connect to it using the Remote Desktop Protocol (RDP). The automation is accomplished using an AWS CloudFormation template. The template is a JSON file that defines the resources needed to run MATLAB on AWS. For information about the architecture of this solution, see Architecture and Resources. For information about templates, see AWS CloudFormation Templates.

Prepare your AWS Account

  1. If you don't have an AWS account, create one at https://aws.amazon.com by following the on-screen instructions.
  2. Use the regions selector in the navigation bar to choose the US-EAST (N. Virginia) region where you want to deploy MATLAB.
  3. Create a key pair in that region. The key pair is necessary as it is the only way to connect to the instance as an administrator.
  4. If necessary, request a service limit increase for the Amazon EC2 instance type or VPCs. You might need to do this if you already have existing deployments that use that instance type or you think you might exceed the default limit with this deployment.

Choose a Deployment Option

Architecture and Resources

MATLAB on AWS Reference Architecture

Deploying this reference architecture sets up a single AWS EC2 instance containing Linux and MATLAB, a private VPC with an internet gateway, a private subnet and a security group that opens the appropriate ports for SSH and RDP access.

To make deployment easy we have prepared an Amazon Machine Image (AMI) running Ubuntu 16.04 with pre-installed drivers. The AMI contains the following software:

  • MATLAB, Simulink, Toolboxes, and support for GPUs.
  • Add-Ons: Neural Network Toolbox Model for AlexNet Network, Neural Network Toolbox Model for GoogLeNet Network, and Neural Network Toolbox(TM) Model for ResNet-50 Network

The AMI is currently available in the US East region only.

Resources

The following resources will be created as part of the CloudFormation Stack.

  1. VPC w/Internet Gateway
  2. Subnet
  3. Security Group for SSH and RDP access
  4. EC2 Instance

Enhancement Request

Provide suggestions for additional features or capabilities using the following link: https://www.mathworks.com/cloud/enhancement-request.html

Technical Support

Email: cloud-support@mathworks.com

You can’t perform that action at this time.