Todas as coleções
Getting started with BCOS
How to rebuild instances in BCOS?
How to rebuild instances in BCOS?

Learn how to rebuild instances within BCOS.

Luiz Fernando Justino Silva avatar
Escrito por Luiz Fernando Justino Silva
Updated over a week ago

Instance reconstruction consists of erasing the data contained on the machine and restarting as a new empty instance. To do so, go to the console of an already created instance and add files to home by listing them below:

 Note: If you do not already have an instance created, go to How to create instances in BCOS?.

Example:

  • Create file 1: touch lista01.lst.

  • Create file 2: touch lista02.lst.

  • List created files: ls -lh.

 Go to Project / Compute/ Instances, select the machine actions button and click in Rebuild Instance, then select the created instance image and click in Rebuild Instance again:

Example:

  • Select image: Cirros-Image.

  Wait for the rebuild process to be performed.

  Log in to the instance console again try to list the files.

Example:

  • List files: ls –lh.

  Note that the created files are no longer available on the virtual machine due to the rebuild action.

Respondeu à sua pergunta?