Skip to main content

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
To rebuild a Instance using the FibaCloud REST API, follow these steps:
  1. 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
  1. Note the template ID you want to rebuild.

  2. 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

  1. Click the Instance you want to reinstall from the Instance page.
  2. Click Rebuild from the top menu of Instances Manager.

Rebuild VM Menu

  1. In the Rebuild section. Choose the OS Template for rebuild.

Rebuild VM Page

  1. 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.