Chapter 14. Managing S3 bucket lifecycle policies on the dashboard
As a storage administrator, the Red Hat Ceph Storage Dashboard allows you to view and manage S3 bucket lifecycle policies on the dashboard.
Prerequisites
- A running Red Hat Ceph Storage cluster.
- At least one Ceph object gateway user is created.
- Ceph Object Gateway login credentials are added to the dashboard.
- At least one Ceph Object Gateway bucket. For more information about creating a bucket, see Creating Ceph Object Gateway buckets on the dashboard.
14.1. Applying and viewing S3 bucket lifecycle policies on the dashboard Copy linkLink copied to clipboard!
You can apply and manage S3 bucket lifecycle policies on the Red Hat Ceph Storage dashboard.
Bucket lifecycle policiy cannot be applied during the creation of the bucket. They can be applied only after a bucket is created.
-
From the dashboard, go to Object
Buckets. - Select the bucket for which the lifecycle policy needs to be applied and click Edit.
- In the Edit Bucket form, go to Policies and apply the lifecycle rule in the Lifecycle field in JSON format.
To save the bucket lifecycle policy, click Edit Bucket.
Figure 14.1. Apply bucket lifecycle policy
After the bucket lifecycle policy is applied, it can viewed in the bucket listing screen by expanding the relevant bucket entry.
Figure 14.2. View bucket lifecycle policy
14.2. Deleting S3 bucket lifecycle policies on the dashboard Copy linkLink copied to clipboard!
You can delete S3 bucket lifecycle policies on the Red Hat Ceph Storage dashboard.
Procedure
-
From the dashboard, go to Object
Buckets. - Select the bucket for which the bucket lifecycle policy needs to be deleted, and click Edit.
- In the Edit Bucket form, go to Policies.
- Click Clear.
- To complete the bucket lifecycle policy deletion, click Edit Bucket.