How to Terminate Instances
Validated on 29 July 2023 - Last edited on 29 July 2023
FibaCloud Instances are Linux-based virtual machines (VMs) running on virtualized hardware. Every Instance you create is a new server that you can use independently or as part of a larger, cloud-based infrastructure.
Terminating an Instance causes it to delete snapshots, backups and disks.
Terminate a Instance with the API
How to terminate a Instance using the FibaCloud REST API
To terminate a Instance using the FibaCloud REST API, follow these steps:
- Submit a POST request with the following parameters.
- immediate parameters: set to false to terminate service at the end of billing date, true - terminate immediately.
- reason parameters: type your reason for cancellation.
curl --request POST \
--url https://cloud.fibacloud.com/api/service/instances/{service_id}/cancel \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{
"immediate": "string",
"reason": "string"
}'
tip
FibaCloud Instances are charged hourly. In this way, the time you use from your payment period will be charged, and the unused time will be returned to your account as a credit.
Terminate a Instance with the Control Panel
- Click the Instance you want to reinstall from the Instance page.
- Click Terminate from the top menu of Instances Manager.
- In the Cancellation Request section. In short, choose the reason for cancellation or write it privately.
- Choose when to terminate the instance.
- End of Billing Period: Instance is canceled after expiration.
- Immediate: The Instance is canceled immediately.
- Press the Request Cancellation button to complete the process.