Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run a GPU instance using Amazon EC2 Panel?

I would like to run a Ubuntu GPU instance from the AWS EC2 control panel, but the combo box does not have the g2.2xlarge option to select. It looks like GPU instances are available only for Amazon AMI. When I choose Ubuntu, it does not list GPU. Is there any way to make it work?

like image 769
Daniel Cukier Avatar asked Jan 07 '14 20:01

Daniel Cukier


People also ask

How do I run EC2 instance with GPU?

Open the Amazon EC2 console, and then choose Launch Instance. Identify the Windows Amazon Machine Image (AMI) that you want to use, and then choose Select next to that AMI. Select an instance type that is compatible with Elastic Graphics, and then choose Next: Configure Instance Details.

Does AWS have GPU instances?

Amazon EC2 G4 instances feature NVIDIA T4 Tensor Core GPUs, providing access to one GPU or multiple GPUs, with different amounts of vCPU and memory. G4 instances provide the industry's most cost-effective and versatile GPU instance for deploying ML models in production and graphics-intensive applications.


1 Answers

In order to use the g2.2xlarge instance type, you need to first select an AMI that is built with HVM (hardware assisted virtualization).

At the time of this writing, the official HVM AMIs for Ubuntu are not available in all regions, but are at least in us-east-1, us-west-2, eu-west-1.

You can type "HVM" as one of your keywords into the Ubuntu AMI finder.

I also provide an updated list of Ubuntu AMIs on Alestic.com. Simply select a region in the pulldown on the top right, then click on the orange [>] arrow next to the AMI you want to run in your account.

like image 60
Eric Hammond Avatar answered Sep 28 '22 18:09

Eric Hammond