---
title: "Delete a virtual data center"
sidebar_label: "Delete a virtual data center"
sidebar_position: 10
description: "How to delete a virtual data center and stop paying for the public cloud"
toc_max_heading_level: 2
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'

# Delete a virtual data center

:::danger

When you delete a virtual data center, all information stored in it will be deleted; this data cannot be recovered.

:::

After you delete the virtual data center, billing for the public cloud will stop.

1. [Delete vApps](#delete-vapps).
2. [Delete virtual machines](#delete-vm) that are not linked to a vApp.
3. [Delete disks](#delete-disks).
4. [Delete catalogs](#delete-catalogs).
5. [Delete an empty virtual data center](#delete-empty-dc).

## 1. Delete vApps \{#delete-vapps}

For more information on deleting vApps, see the instruction [Managing vApps and virtual machines](/public-cloud/manage-public-cloud/manage-vapp-and-vm.mdx#delete-vapp).

## 2. Delete virtual machines \{#delete-vm}

For more information on deleting virtual machines, see the instruction [Managing vApps and virtual machines](/public-cloud/manage-public-cloud/manage-vapp-and-vm.mdx#delete-vm).

## 3. Delete disks \{#delete-disks}

1. From the [Control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based Cloud** → **Cloud Director**.
2. Open the virtual data center page.
3. Go to **Storage** → **Named Disks**.
4. Select the disks.
5. Click **Delete**.

## 4. Delete catalogs \{#delete-catalogs}

Deleting a catalog also deletes all its contents, such as vApp templates and uploaded files.

Files belonging to different virtual data centers can be stored in one catalog. If you delete such a catalog, its files will become inaccessible to other data centers. If the catalog contains such objects, do not delete the catalog, but [delete individual files](#delete-files) and [vApp templates](#delete-vapp-templates) that belong only to the virtual data center being deleted.

1. From the [Control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based Cloud** → **Cloud Director**.

2. On the top menu, click **Content Hub**.

3. Optional: download vApp templates:

   3.1. Go to **Content** → **vApp Templates**.

   3.2. Select a template.

   3.3. Click **DOWNLOAD**.

4. Optional: download catalog contents:

   4.1. Go to **Content** → **Media**.

   4.2. In the  content menu, select **Download**.<MoreVerticalIcon />

5. Go to the **Catalogs** section.

6. In the  catalog menu, select **Delete Catalog**.<MoreVerticalIcon />

### Delete files \{#delete-files}

1. From the [control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based Cloud** → the **Cloud Director** section.
2. Open the virtual data center page.
3. Open the **Libraries** tab.
4. Go to the **Content Libraries** → **Catalogs** section.
5. In the  file menu, click **Delete**.<MoreVerticalIcon />

### Delete vApp templates \{#delete-vapp-templates}

1. From the [control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu, click **Products** → **VMware-based Cloud** → the **Cloud Director** section.
2. Open the virtual data center page.
3. Open the **Libraries** tab.
4. Go to the **Content Libraries** → **vApp Templates** section.
5. In the  template menu, click **Delete**.<MoreVerticalIcon />

## 5. Delete an empty virtual data center \{#delete-empty-dc}

1. In the [control panel](https://my.selectel.ru/vmware/), click **Products** in the top menu and select **VMware-based Cloud**.
2. In the  virtual data center menu, click **Delete Data Center**.<MoreVerticalIcon />

<Formbricks />
