How to Rebuild 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.
Rebuilding a Instance wipes the Instances disk and replaces it with an image you select. This is an option if you are concerned that your Instance has been compromised, you have lost access to it, you would like to switch operating system versions, or you would like to completely replace the contents of a Instance.
Rebuilding a Instance with the API
How to rebuild a Instance using the FibaCloud REST API
- Submit a GET request for get list of templates supported by this server using:
curl --request GET \
--url https://cloud.fibacloud.com/api/service/{service_id}/templates
Note the template ID you want to rebuild.
Submit a rebuild request to the API by filling in the parameters.
curl --request POST \
--url https://cloud.fibacloud.com/api/service/{service_id}/vms/{vm_id}/rebuild \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{
"template": "string"
}'
Rebuilding a Instance with the Control Panel
- Click the Instance you want to reinstall from the Instance page.
- Click Rebuild from the top menu of Instances Manager.
- In the Rebuild section. Choose the OS Template for rebuild.
- Press the Re-Install button to complete the process.
Instances will be rebuilded after final approval. You can access your current access information from the Instances Manager.