Deleting a Boot Volume
Learn how to delete a boot volume.
When you terminate an instance, you choose to delete or preserve the associated boot volume. For more information, see Terminating an Instance. You can also delete a boot volume if it has been detached from the associated instance. See Detaching a Boot Volume for how to detach a boot volume.
You cannot undo this operation. Any data on a volume will be permanently deleted once the volume is deleted. You will also not be able to restart the associated instance.
Required IAM Policy
To use Oracle Cloud Infrastructure, an administrator must be a member of a group granted security access in a policy by a tenancy administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don't have permission or are unauthorized, verify with the tenancy administrator what type of access you have and which compartment your access works in.
For administrators: The policy in Let volume admins manage block volumes, backups, and volume groups lets the specified group do everything with block volumes and backups.
- On the Boot Volumes list page, select the boot volume you want to work with. If you need help finding the list page or the boot volume, see Listing Boot Volumes.
- Select the for the boot volume you want to delete.
-
Select Terminate and confirm the selection when prompted.
Use the
oci bv boot-volume delete
command and specify the--boot-volume-id
parameter to delete a boot volume:oci bv boot-volume delete --boot-volume-id
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
DeleteBootVolume
operation and specify thebootVolumeId
attribute to delete a boot volume.