# Set Up a Cube

You can create a Cube, configure storage, connect a Cube to the internet, and provision changes to procure IONOS Cloud's resources and make the most efficient use of Cubes to maximize profit.

## Create a Cube

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

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

* The procedure listed here applies only to the **Canvas** mode.
* 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/sections-test/guides/set-up-ionos-cloud/get-started/create-data-center/use-canvas) mode, continue with the following steps to add and provision a Cube within it.
  * For instructions on creating and provisioning a Cube using the **Xpress** mode, see [<mark style="color:blue;">Use the Xpress Mode</mark>](https://docs.ionos.com/sections-test/guides/set-up-ionos-cloud/get-started/create-data-center/use-xpress).
    {% endhint %}

2\. Select the data center to configure a cube within it.

3\. Drag the **Cube** element from the **Palette** into the **Workspace**.

The Cube is automatically highlighted in turquoise. The [<mark style="color:blue;">Inspector pane</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms) allows you to configure the properties of this individual instance.

4\. Click the **Cube** element to highlight it. The Inspector pane will appear on the right.

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

5\. In the Inspector pane, configure your **Cube** from the **Settings** tab.

* **Name:** Your choice is recommended to be unique to this [<mark style="color:blue;">Virtual Data Center (VDC)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#vdc).
* **Template:** Choose the appropriate configuration template.
* **vCPUs:** Set automatically when a Template is chosen.
* **RAM in GB:** Set automatically when a Template is chosen.
* **Storage in GB:** Set automatically when a Template is chosen.

6\. You will also notice that the **Cube** comes with an **Unnamed Direct Attached Storage**. Click on the [<mark style="color:blue;">storage</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#storage) device and rename it in the Inspector pane.

![Highlight the Direct Attached Storage element within the Cube and 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-16c4e366f6119be0e48caff0ed5526b30c4b3c08%2Fcube-direct-attached-storage.png?alt=media)

* **Name:** Your choice is recommended to be unique to this Virtual Data Center (VDC).
* **Size in GB:** Specify the required storage capacity.
* **Image:** You can select one of IONOS Cloud images or use your own.
* **Password:** The combination should be between 8 and 50 characters in length; using only Latin characters and numbers.
* **Backup Unit:** Backs up all data with version history to local storage or your private cloud storage.

## Increase Cube storage

1\. Drop a **Storage** element from the Palette onto a **Cube** in the Workspace to connect both.

![Associate an HDD with the Cube](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-d52afae40579c69e2625222b9e473c4e2f6c5eb1%2Fcube-hdd-storage.png?alt=media)

2\. In the Inspector pane, configure your **Storage** device in the **Settings** tab.

* **Name:** Specify a name unique to this Virtual Data Center (VDC).
* **Availability Zone:** Select a zone where you wish to host the **Storage** device.
* **Size in GB:** Specify the required storage capacity for the [<mark style="color:blue;">SSD</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#ssd).
* **Performance:** Depends on the size of the SSD.
* **Image:** You can select one of IONOS Cloud images or use your own.
* **Password:** The combination should be between 8 and 50 characters in length; using only Latin characters and numbers.
* **Backup Unit:** Backs up all data with version history to local storage or your private cloud storage.

## Connect a Cube to the Internet

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

![Connect the Cube 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-6ab4d702d5465d91e431f053130fa9bc6bdb6077%2Fcube-network-connection.png?alt=media)

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

* **Name:** Your choice is recommended to be unique to this Virtual Data Center (VDC).
* **MAC:** The MAC address will be assigned automatically upon provisioning.
* **Primary IP:** The primary [<mark style="color:blue;">IP address</mark>](#create-a-cube) 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). You can, however, enter an IP address for manual assignment by selecting one of the reserved IPs from the drop-down menu. Private IP addresses should be entered manually. The [<mark style="color:blue;">NIC</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#nic) has to be connected to the Internet.
* **Failover:** If you have an HA setup including a failover configuration on your VMs, you can create and manage IP failover groups that support your HA setup.
* **Firewall:** Configure a firewall.
* **Network Security Groups:** Select one or more network security groups from the drop-down list to associate them with the Cube. You can choose from any of the default or custom groups.
* **DHCP:** It is often necessary to run a DHCP server in your virtual data center (e.g. 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.
* **Additional IPs:** In order to use "floating" or virtual IPs, you can assign additional IPs to a NIC by selecting them from the drop-down menu.

## Provision Changes

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

![Finalize your Cube setup](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-9c26dd713b601571d0017d1f2ac0b5e238ed95c7%2Fcube-provision-changes.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, click **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 data center is now provisioned with the new Cube. The DCD will display a **Provisioning Complete** notification once your cloud infrastructure is ready.
{% endhint %}
