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달 전227회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠