Can I run a Matlab code (from my laptop) and use AWS to utilise a NVIDIA GPU of at least 8gb RAM?

0

Dear all,

I have some Matlab code that requires a NVIDIA GPU with at least 8gb of RAM. Is there any way Amazon Web Services would allow me to run that code (my laptop has a NVIDIA GPU, but the RAM is too small)?

Many thanks

已提問 2 個月前檢視次數 225 次
2 個答案
2

Yes, Amazon Web Services (AWS) provides various compute instances with NVIDIA GPUs that can be used to run your MATLAB code. Specifically, you can use the Amazon Elastic Compute Cloud (EC2) service to launch instances with GPU capabilities.

Here are the steps you can follow to run your MATLAB code on an AWS EC2 instance with an NVIDIA GPU:

  1. Choose an appropriate EC2 instance type: AWS offers several instance types with NVIDIA GPUs.

  2. Create an EC2 instance: Log in to the AWS Management Console, navigate to the EC2 service, and launch a new instance with the desired GPU instance type. You can also choose the appropriate operating system (e.g., Amazon Linux, Ubuntu, Windows) and storage options.

  3. Install MATLAB: Once the instance is running, you can connect to it using SSH or a remote desktop connection. Then, you need to install MATLAB on the instance. You can follow the instructions provided by MathWorks for installing MATLAB on AWS EC2 instances.

Running MATLAB from GitHub

To launch MATLAB in AWS, use the reference architecture templates provided in this 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.

profile pictureAWS
已回答 2 個月前
profile pictureAWS
專家
已審閱 2 個月前
  • Hi FedeLondon24, yes, you can go this. Just check out the link about "Confirm Licensing for MathWorks Products Running on the Cloud" on the repo pointed out by Marcos: you want to make that your license can be used on AWS.

0

Thank you both.

There is huge variety of instance types. All I need is a NVIDIA GPU with at least 8GB of RAM that supports CUDA and four or more CPUs. I do not know, out of all the options, which would meet my minimum requirement

已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南