Delete a server
Last updated on
If a server is no longer needed, it can be easily deleted. This page describes how this works and what to look out for.
Delete a server
Section titled “Delete a server”- On the project overview navigate to Computing → Server.
- Option 1 From the list of your servers click on the three dots button at the right end and choose Delete.
- Option 2 Choose the server you want to delete. Once entered in Overview tab you can choose the Delete icon on top-right corner.
- Confirm the deletion of the server.
Wait for the process to finish. At this point your managed service for this server is being ended.
DELETE https://iaas.api.stackit.cloud/v2/projects/{projectId}/regions/{region}/servers/<serverId>API Reference: DeleteServer.
stackit server delete SERVER_ID [flags]Command line examples:
Section titled “Command line examples:”Delete server with ID "xxx"$ stackit server delete xxxCLI reference: DeleteServerCLI.
Restore a backup volume related to a deleted server
Section titled “Restore a backup volume related to a deleted server”If you want to restore a backup from a volume after the server is deleted, you can find the available backups and volumeBackups.ids in your project via STACKIT IaaS API or CLI and use them to restore the backup in new volumes.
In case you do not provide a volume to which the backup need to be restored, a new volume will be created from this backup. You can use it to create new server after that from this volume.
All existing volume backups related to the deleted server will remain until their expiration date is reached. If preferred, you can also delete such backups manually via STACKIT IaaS API.
Please, read our FAQ & Known Issues section for more information.