# Delete VM Instance

{% hint style="danger" %}
Before deleting an Instance or VM, you need to unassign the following services first:

* Unassign Floating IP

* Detach Storage

* Unassign Security
  {% endhint %}

* The following is a list of VM instance contained in the application, for example i.e. **demo-flexi**

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FKcKn2nl2tijKaFmbvpUv%2Fimage.png?alt=media&#x26;token=e192d0b4-9ea3-42e2-a31b-87d1ab5e05f3" alt=""><figcaption></figcaption></figure>

* In the **Action** column, click **More**, then click **Delete Instance**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FcTL6EikJ7nAhQrJ76DhC%2Fimage.png?alt=media&#x26;token=52e9a97e-208a-434f-a1a4-ceea3552211e" alt=""><figcaption></figcaption></figure>

* Click **Delete Instance** to delete or **Cancel** if you don't want to delete the VM instance

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FokCEkjEuKYdXg8pdZKgT%2Fimage.png?alt=media&#x26;token=363be6ea-ce13-44a9-8d12-3c2c228ecb14" alt=""><figcaption></figcaption></figure>

* If the **Delete** button is selected, the system may display a notification stating **“please detach interface before delete instance.”** This indicates that the Instance still has attached resources. Users must detach the attached resources and delete the storage before proceeding with the Instance deletion.  The [detach](https://docs.cloudeka.ai/deka-flexi/deka-flexi-instance/details-instance/detach-interface) and[ storage deletion](https://docs.cloudeka.ai/deka-flexi/deka-volume-storage/delete-storage) process can be performed on the following page.

{% hint style="info" %}
Before deleting the Instance, users must first detach any attached resources and delete the associated storage.
{% endhint %}

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F0Ks4mBrYz7QsmRKttt5u%2Fdelete%20fle.png?alt=media&#x26;token=b1fa74ba-aaf1-4888-9fdd-43b87033678e" alt=""><figcaption></figcaption></figure>

* Deleted VM instance data no longer appears in the instance list.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FwKLq474UVKU7MfKtk9ZQ%2Fimage.png?alt=media&#x26;token=5c120227-2f40-4d24-95e2-99255231bf41" alt=""><figcaption></figcaption></figure>
