Learn how to deploy a GPU instance on Linux or Windows
GPU instances are technically similar to CPU instances but they also have a graphics card (Graphic Processing Unit, or GPU). The technology used (pci_passthrough) allows the instance’s operating system to control the GPU like a physical machine would.
The GPUs offered are the NVIDIA Tesla V100 and NVIDIA L4.
Requirements
- A Public Cloud project with access to the regions where GPUs are available
- An SSH key created to deploy a Linux GPU instance
Instructions
You will find the information needed to deploy a GPU instance on Linux or Windows below.
On Linux
All the images we offer can be used on a GPU instance.
If you don’t feel comfortable with manually compiling a kernel module, we recommend using a distribution that is officially supported by NVIDIA and for which they provide turnkey drivers: https://developer.nvidia.com/cuda-downloads.
Once you are logged in to the OVHcloud Control Panel, in your Public Cloud project, click on Create an instance
, choose the GPU instance
tab, select a model, and click Next
.
Next, follow the remaining steps in this guide. The process may take a few minutes.
The instance will start a few seconds later. You can then log in and check for the graphics card:
The graphics card is there, but cannot be used yet. To do so, you must first install the NVIDIA driver. You can find the list of packages at this address: List of available Linux packages.
You will then need to enter the following commands:
NOTE: The Linux command can vary based on your distribution. If in doubt, please check the official guide for your version of Linux.
Once the instance has been rebooted, the graphics card will appear in the NVIDIA utility program:
The GPU instance is now fully functional and usable.
Go further
For more information and tutorials, please see our other Public Cloud support guides or explore the guides for other OVHcloud products and services.