Delete an Object Storage Bucket
Prerequisite
s3cmd or Cyberduck is installed.
A subuser has been created and granted access permissions to the bucket.
s3cmd is configured.
Instruction
1. Clear the Bucket's data
You must delete all objects in the bucket first. If bucket versioning is enabled, you must suspend it before deleting the files.
Using the s3cmd command line: Use the s3cmd del command to delete files in the bucket.
s3cmd del s3://BUCKET/OBJECT
Using Cyberduck: Access the bucket and delete all objects.
In Cyberduck, click the > icon in front of the bucket you want to delete to see the files inside.
Right-click the file(s) to be deleted.
Click "Delete," then select "Delete" again to confirm.
2. Delete the Bucket
เมื่อลบไฟล์หมดเเล้ว เราสร้างสามารถลบ bucket ได้ที่หน้า Object Storage ➝ Buckets
กด MORE เเล้วจะเห็นปุ่ม Delete
กดปุ่ม Delete จะมี interface ขึ้นมาให้ใส่ชื่อ bucket ที่จะลบ เเล้วกด PERMANENTLY DELETE
Last updated
Was this helpful?