Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 3.6 KB

File metadata and controls

49 lines (32 loc) · 3.6 KB

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 appropriate 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) or EU (Ireland) 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 (N. Virginia) and EU West (Ireland) regions 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