Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 

Code Block
$ 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

Code Block
openstack server delete <instance-id>

Example

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