Lifecycle Rules

Use lifecycle rules to automize your data management.
Lifecycle rules are a way to reduce storage costs and the amount of time spent on managing your data. You define rules that instruct
VMware Cloud Director Object Storage Extension
to delete incomplete multipart uploads, set an expiration period for current or previous versions of objects, and clean up expired objects. You can define for the actions to take effect on all objects within a bucket, or to a subset of the objects within the bucket.
You can create, delete, edit, or deactivate lifecycle rules. Before taking any of these actions, verify that you have the required set of rights.
If you are an ...
You can ...
organization administrator
create, delete, and edit rules for the buckets of the users in your organization
organization user
create, delete, and edit rules for your own buckets

Create a Lifecycle Rule

Create a lifecycle rule to define automated actions to manage your data.
Verify that you have the required set of rights to create a lifecycle rule for a bucket.
  1. Log in to the
    VMware Cloud Director tenant portal
    .
  2. In the primary left navigation panel, under
    More
    , select
    Object Storage
    .
  3. In the
    Buckets
    pane, click the name of the bucket for which you want to create a rule.
  4. On the
    Lifecycle
    tab, click
    New Rule
    .
  5. To activate or deactivate the rule, move the
    Status
    slider.
    You can create an inactive rule and activate it later.
  6. Select the scope of the rule.
    1. You can apply the rule to all objects in the bucket, or apply the rule to specific objects within the bucket.
    2. If you select to apply the rule to specific objects, enter a prefix for the objects to which the rule is applied.
    3. To create a folder using the prefix you entered, select the
      Prefix as a folder
      check box.
  7. Define the actions of the rule.
    To create a lifecycle rule, define at least one action.
    1. Enter an expiration period for the current version of objects.
      If you select this action, you cannot select the option to clean up the delete markers of expired objects.
    2. Enter an expiration period for previous versions of objects.
    3. To clean up the delete markers of expired object, select the check box.
      If you select this action, you cannot select an expiration period for the current version of objects.
    4. To clean up incomplete multipart uploads, enter a waiting period and select the check box.
  8. Click
    Save
    .