Create a VM instance with GPU

0 votes
I want to accelerate the data processing activities of a VM instance that would have to deal with complex data processing workloads, hence I want to create a Linux VM instance with GPU. How do I achieve this?
Nov 7, 2019 in GCP by anonymous
• 19,610 points
2,653 views

1 answer to this question.

0 votes

Before you create an instance with a GPU, select which boot disk image you want to use for the instance, and ensure that the appropriate GPU driver is installed.

To create an instance with one or more GPUs using the Google Cloud Platform Console,

  1. Go to the VM instances page.

  2. Click Create instance.

  3. Select a zone where GPUs are available. See the list of available zones with GPUs.

  4. In the Machine configuration section, select the machine type that you want to use for this instance. Alternatively, you can specify custom machine type settings if desired.

  5. In the Machine configuration section, click CPU platform and GPU to see advanced machine type options and available GPUs.

  6. Click GPUs to see the list of available GPUs.

  7. Specify the GPU type and the number of GPUs that you need.

  8. If necessary, adjust the machine type to accommodate your desired GPU settings. If you leave these settings as they are, the instance uses the predefined machine type that you specified before opening the machine type customization screen.

  9. To configure your boot disk, in the Boot disk section, click Change.

  10. In the OS images tab, choose an image.

  11. Click Select to confirm your boot disk options.

  12. Configure any other instance settings that you require. For example, you can change the Preemptibility settings to configure your instance as a preemptible instance. This reduces the cost of your instance and the attached GPUs. 

  13. At the bottom of the page, click Create to create the instance.

Install the GPU driver on your instance so that your system can use the device.

answered Nov 7, 2019 by Sirajul
• 59,230 points
How to install GPU driver for a ubuntu 18.04 instance?

Related Questions In GCP

0 votes
1 answer

How do I create a preemptible virtual machine (VM) instance?

With gcloud compute, use the same instances create command that ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
1,401 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
2,856 views
0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,206 views
0 votes
1 answer

How to create a VM instance with multiple network interfaces?

You add multiple network interfaces when you ...READ MORE

answered Nov 12, 2019 in GCP by Sirajul
• 59,230 points
2,428 views
0 votes
1 answer

Create a Windows VM instance using Google Compute Engine (GCE).

To create a Windows virtual machine instance ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
4,650 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP