Deleting a Boot Volume
On Oracle Cloud Infrastructure, you can delete a boot volume that's detached from an instance.
Any data on a volume is permanently deleted when the volume is deleted. You can't restart the associated instance.
-
In the Compute Cloud@Customer Console navigation menu, click Compute, then click Instances.
-
At the top of the page, select the compartment that contains the instance with the boot volume you want to delete.
- For the instance that has the boot volume you want to delete, click the Actions menu (
), then click Stop.
- When prompted, select Force stop the instance by immedidately powering off, then click Force Stop Instance.
- Wait for the instance to reach the Stopped state.
- Click the name of the instance that has the boot volume you want to delete.
- Under Resources, click Boot Volumes.
-
For the boot volume that you want to delete, click the Actions menu (
), then click Detach.
Confirm when prompted.
- Click the name of the boot volume.
- Click the Controls button (upper right), then click Terminate.
-
Confirm the termination.
The block volume enters the TERMINATED state, and remains in that state for about 24 hours until it's removed.
-
Use the command and required parameters to delete a boot volume.
oci bv boot-volume delete --boot-volume-id <boot_volume_OCID> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the DeleteVolume operation to delete a boot volume.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.