You should always refer to Creating Snapshots from Instance as this process is not reversible and may result in data loss.
Web Interface
In Web Interface
Compute->Instances
, select the VM you wish to deleteClick
DELETE INSTANCES
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 |