Clean up: delete compute resources and volumes
How to delete compute resources and volumes you no longer need, so you stop being charged for them.
Remember, that you are being charged for working resources. Be careful, not to leave started resources unattended.
Typically, you would only want to delete your compute resources, especially those equipped with a GPU, and leave your volumes untouched and ready for further work.
Compute delete
To delete a compute resource use:
cgc compute delete <name>
example:
cgc compute delete getting-jupyter
App getting-jupyter and its service successfully deleted.
or shorter version of the same command example:
cgc rm getting-jupyter
App getting-jupyter and its service successfully deleted.
Volume delete
Same as with compute resources, you can delete a volume by using the following command. Be careful though, as those usually contain your data, that usually needs persistance
cgc volume delete <name>
example:
cgc volume delete getting-started
Volume getting-started deleted.