# Set Up a Cloud GPU VM

You can set up a Cloud GPU VM in the DCD using **Canvas** mode or using the **Xpress** mode. This topic covers adding the GPU element to your data center, configuring its storage and network connectivity, and provisioning your changes to deploy it in your infrastructure.

{% hint style="warning" %}
**Important:**

* Cloud GPU VMs can only be added to data centers in the **Germany / Frankfurt am Main (de/fra/2)** location.
* The procedure listed here applies only to the **Canvas** mode. For configuring the Cloud GPU VM using the Xpress mode, see [<mark style="color:blue;">Use the Xpress Mode</mark>](https://docs.ionos.com/cloud/set-up-ionos-cloud/get-started/create-data-center/use-xpress).
* If you do not have a data center, create a data center using either of these two modes: **Canvas** or **Xpress**.
  * After creating a data center using the [<mark style="color:blue;">Canvas</mark>](https://docs.ionos.com/cloud/set-up-ionos-cloud/get-started/create-data-center/use-canvas) mode, continue with the following steps to add and provision a Cloud GPU VM within it.
  * For instructions on creating and provisioning a Cloud GPU VM using the **Xpress** mode, see [<mark style="color:blue;">Use the Xpress Mode</mark>](https://docs.ionos.com/cloud/set-up-ionos-cloud/get-started/create-data-center/use-xpress).
    {% endhint %}

## Create a Cloud GPU VM

{% stepper %}
{% step %}

#### Get started

1\. In the **DCD**, go to **Menu** > **Virtual Data Centers**.

2\. Select the data center in the **Germany / Frankfurt am Main (de/fra/2)** location to configure a Cloud GPU VM within it.

3\. Drag the **Cloud GPU** element from the **Palette** into the **Workspace**.

4\. Select the **Cloud GPU** element.

![Selected GPU element in the Workspace](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-9561f7d2012acf90fb03f1ab3ee94dad3d227c41%2Fcreate-cloud-gpu-vm.png?alt=media)

5\. Use the [<mark style="color:blue;">Inspector pane</mark>](https://docs.ionos.com/cloud/set-up-ionos-cloud/data-center-designer#inspector-pane) on the right to configure the properties for this individual instance. In the Inspector pane, configure your Cloud GPU VM **Settings**:

* **Name:** Specify a name for your Cloud GPU VM.
* **CPU Architecture:** By default, Cloud GPU VM supports **AMD EPYC Turin**.
* **Template:** Choose the appropriate configuration [<mark style="color:blue;">template</mark>](https://docs.ionos.com/cloud/compute-services/compute-engine/overview#template-specifications). The following are automatically set when you choose a template: **GPUs**, **CPU Cores**, **RAM in GB**, and **Storage in GB**.

6\. The **GPU** element includes an **Unnamed SSD Storage** by default. Select it to configure the following in the Inspector pane:

![Select the Unnamed SSD Storage element to configure the storage device from the Inspector pane](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-e026cf5fb92b2e791cfef38245be491a05ba7867%2Fcloud-gpu-vm-attached-storage.png?alt=media)

* **Name:** Specify a storage name unique to the chosen [<mark style="color:blue;">Virtual Data Center (VDC)</mark>](https://docs.ionos.com/cloud/set-up-ionos-cloud/get-started/create-data-center).
* **Availability Zone:** The zone is set to **Auto**, by default.
* **Size in GB:** The storage size defaults to the value defined in the template.
* **Performance:** By default, Cloud GPU VMs use the **Premium** performance class to ensure maximum performance.
* **Image:** Select the drop-down list to choose from and associate an IONOS Cloud from **Linux Images**.
* **Password:** Enter a password between 8 and 50 characters using letters and numbers only.
* **SSH Keys:** Select premade [<mark style="color:blue;">SSH Key</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#secure-shell-ssh-keys). You must first have a key stored in the **SSH Key Manager**. For more information, see [<mark style="color:blue;">Connect to Virtual Machines via SSH</mark>](https://docs.ionos.com/cloud/compute-services/compute-engine/how-tos/connect-vm-via-ssh).
* **Ad-hoc SSH Key:** Copy and paste the public portion of your SSH key into this field.
* **Cloud-Init user data:** Provide custom initialization scripts or configuration data to be executed when the instance first starts. Use this to automate setup tasks such as installing packages, configuring services, or setting environment variables. For more information, see [<mark style="color:blue;">Boot with Cloud-init</mark>](https://docs.ionos.com/cloud/compute-services/compute-engine/how-tos/boot-cloud-init).
* **Backup Unit:** Select a backup unit from the drop-down list or create a new one to back up all data with version history to local storage or your private cloud storage.
  {% endstep %}

{% step %}

#### Connect a GPU to the Internet

1\. Each compute instance has a **NIC**, which is activated through the **Autoport** symbol. Connect the **GPU** to the **Internet** by dragging a line from the GPU's **Autoport** to the internet's **NIC**.

![Connect the GPU to the Internet and configure the network](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-44f1b6c456fd7daf26fc0a7cfb7e5294e25c0a0f%2Fconnect-cloud-gpu-vm-internet.png?alt=media)

2\. In the Inspector pane, select the **Network** tab to configure your **LAN** device.

* **Name:** Enter a name for your NIC in the Virtual Data Center (VDC).
* **MAC:** The MAC address is assigned automatically on provisioning.
* **LAN:** Select a LAN. For more information, see [<mark style="color:blue;">LAN</mark>](https://docs.ionos.com/cloud/network-services/vdc-networking/lan).
* **Firewall:** Configure a [<mark style="color:blue;">Firewall</mark>](https://docs.ionos.com/cloud/network-services/vdc-networking/firewall).

**Configure IPv4 addresses**

* **Primary IPv4:** The assignment of the primary IP address depends on the network type:
  * **Public LANs:** The primary [<mark style="color:blue;">IP address</mark>](https://docs.ionos.com/cloud/network-services/vdc-networking/ip-address/ipv4) is automatically assigned by the IONOS Cloud DHCP [<mark style="color:blue;">server</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#server). To use a specific address, select a reserved IP address from the drop-down list. The [<mark style="color:blue;">NIC</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#nic) must be connected to the Internet for public routing.
  * **Private LANs:** The primary [<mark style="color:blue;">IP address</mark>](https://docs.ionos.com/cloud/network-services/vdc-networking/ip-address/ipv4) is automatically assigned by the IONOS Cloud DHCP [<mark style="color:blue;">server</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#server). If you choose to specify a private IP manually, ensure it falls within the same CIDR range as the existing LAN. Note that the IONOS Cloud DHCP server does not track manually assigned addresses, so you must manage these static IP addresses carefully to avoid address conflicts.
* **DHCP:** It is often necessary to run a DHCP server in your virtual data center (for example, PXE boot for fast rollout of VMs). If you use your own DHCP server, clear this checkbox so that your IPs are not reassigned by the IONOS Cloud DHCP server.

{% hint style="success" %}
**Result:** The GPU is connected to the internet and assigned an IP address.
{% endhint %}
{% endstep %}

{% step %}

#### Provision changes

1\. Start the provisioning process by selecting **PROVISION CHANGES** in the Inspector pane.

![Finalize your GPU setup](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-cdd6f84dbf0bc0a33756eca7c0531a17e4a244e2%2Fcloud-gpu-vm-provision.png?alt=media)

2\. The **Provision Data Center** dialog opens. Review your changes in the **Validation** tab.

3\. **Confirm** changes with your password. **Resolve** outstanding errors without a password.

4\. Once ready, select **Provision Now** to start provisioning resources.

![Start provisioning](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-c74107dda8258b7fd1b804685c7cc8eeac8a7ede%2Fcube-provision-dc.png?alt=media)

{% hint style="success" %}
**Result:** The new Cloud GPU VM now appears in the data center. The DCD displays a **Provisioning Complete** notification when the infrastructure is ready.
{% endhint %}
{% endstep %}
{% endstepper %}
