/
Deleting Instances (VM)

Deleting Instances (VM)

You should always refer to Creating Snapshots from Instance as this process is not reversible and may result in data loss.

Web Interface

  1. In Web Interface Compute->Instances, select the VM you wish to delete

  2. Click DELETE INSTANCES 

  3. Confirm by clicking DELETE INSTANCES 

 

Command-line

Find the instance ID with openstack server list 

$ openstack server list +--------------------------------------+-----------------------+--------+-------------------------+---------------------------------------------------------+--------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------+--------+-------------------------+---------------------------------------------------------+--------------+ | c3b01eac-b5c7-4f57-8b09-f575f37cfe25 | delete-cli | ACTIVE | Internal=172.16.113.107 | ubuntu-focal-20.04-nogui | c3.small | +--------------------------------------+-----------------------+--------+-------------------------+---------------------------------------------------------+--------------+

Run

openstack server delete <instance-id>

Example

$ openstack server delete c3b01eac-b5c7-4f57-8b09-f575f37cfe25





Related content

Application Credentials
Application Credentials
Read with this
Creating Snapshots from Instance
Creating Snapshots from Instance
More like this
Deleting Volumes
Deleting Volumes
More like this
Rebuilding Instances
Rebuilding Instances
More like this
Openstack Shelving and Unshelving
Openstack Shelving and Unshelving
More like this
Detaching a Volume
Detaching a Volume
More like this