API How-Tos

The Cloud API lets you manage Cloud GPU VMs programmatically using conventional HTTP requests. You can use the API to create, delete, and retrieve information about your Cloud GPU VMs.

Furthermore, you need templates to provision Cloud GPU VMs, but templates are not compatible with servers that support full flex configuration.

Cloud GPU VM workflow

To get started with Cloud GPU, follow these steps:

1

Request access

Cloud GPU VM is not activated automatically to ensure the configuration matches your environment requirements. Please contact the IONOS Cloud Supportarrow-up-right first and request access to the service. The support team will apply the required settings so the product works perfectly from the moment it is turned on.

2

Discovery and selection

Cloud GPU VMs are available in preconfigured sizes. Select a template that fits best to your needs and matches your contract's resource limits, which will be adjusted as part of the access enablement process. It is not possible to change the size of a Cloud GPU VM instance once it has been provisioned.

  • Review Cloud GPU VM template specifications to select the appropriate template for your needs.

  • Use the template UUID to make an API request call for creating a new Cloud GPU VM.

3

Create a Cloud GPU VM

Initiate a Cloud GPU VM creation request through API with the following:

  • The selected GPU template UUID

  • Linux-based operating system

circle-info

Note: The product supports only Linux-based operating systems during the launch.

circle-check
4

Access and setup

circle-check
  • Install required framework dependencies. Use a package manager like pip or conda to install your chosen framework, ensuring you select the GPU-enabled version.

Install the version that matches your CUDA toolkit. For example, CUDA 12.1.

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
  • Use the server for your use case

5

Usage

  • Run GPU workloads, such as model training (finetuning), inference, or graphics rendering

  • Monitor GPU utilization and performance metrics

6

Management

  • Start, restart, or delete the Cloud GPU VM as needed.

  • Monitor costs and usage. For more information, see Cost Alert and Cost & Usage.

7

Cleanup

Last updated

Was this helpful?