Managing Auto-Tiering for an Object Storage Bucket
Enable or disable auto-tiering for any Standard storage-tier Object Storage bucket.
You can enable auto-tiering during the creation of a bucket. See Creating an Object Storage Bucket for more information.
You can enable or disable auto-tiering for an existing bucket using the instructions in this topic.
For more information on this feature, see Auto-Tiering.
- Open the navigation menu and click Storage. Under Object Storage & Archive Storage, click Buckets.
- Select the compartment from the list under List Scope. All buckets in that compartment are listed in tabular form.
- Select the bucket for which you want to enable or disable auto-tiering. The bucket's Details page appears.
- Find Auto-Tiering and click Edit. The Edit Auto-Tiering dialog box appears.
- Select (to enable) or clear (to disable) the Enable Auto-Tiering check box.
- Click Save Changes.
Use the oci os bucket update command and required parameters to enable auto-tiering a bucket.
oci os bucket update --name bucket_name --auto-tiering InfrequentAccess [OPTIONS]
Include the
auto-tiering
parameter and theInfrequentAccess
value to enable the feature.For example:oci os bucket update --name MyStandardBucket --auto-tiering InfrequentAccess { "data": { "approximate-count": null, "approximate-size": null, "auto-tiering": "InfrequentAccess", "compartment-id": "ocid.compartment.oc1..exampleuniqueID", "created-by": "ocid1.user.oc1..exampleuniqueID", "defined-tags": {}, "etag": "7b7c3dc1-713f-4996-b176-a938345cae8e", "freeform-tags": {}, "id": "ocid1.bucket.oc1..exampleuniqueID", "is-read-only": false, "kms-key-id": null, "metadata": {}, "name": "MyStandardBucket", "namespace": "MyNamespace", "object-events-enabled": false, "object-level-audit-mode": "Disabled", "object-lifecycle-policy-etag": null, "public-access-type": "NoPublicAccess", "replication-enabled": false, "storage-tier": "Standard", "time-created": "2020-06-12T19:04:05.879000+00:00", "versioning": "Disabled" }, "etag": "7b7c3dc1-713f-4996-b176-a938345cae8e" }
You can also disable auto-tiering at any time using the update action. Include the
auto-tiering
parameter and theDisabled
value to disable the feature. For example:oci os bucket update --name bucket_name --auto-tiering Disabled [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
This task can't be performed using the API.