Skip to main content

Create and manage buckets

Create bucket

A bucket is a container that contains objects and is used as an application unit for access rights and life cycle settings for objects.
Here's how to create a bucket in Object Storage:

info

The creation of the following bucket names is restricted.

  • v1_ext
  • swagger
  • status
  • ping
  • info
  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.

  2. In the Bucket menu, click the [Create bucket] button.

  3. Enter the information in the pop-up window and click the [Create] button.

    Image Create new bucket

    CategoryDescription
    TypeA bucket type
    - Standard: Standard bucket, with high durability and availability, suitable for storing frequently accessed data
    NameThe name of the bucket
    - Bucket name length: 4 to 63 characters
    EncryptionEncryption settings
    - Disabled: Not to use encryption
    - Enabled: All objects stored in that bucket are automatically encrypted.

View bucket list

You can check the list of currently created buckets and the basic information of the bucket.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.

  2. Check the currently created bucket in the Bucket menu.

    Image Bucket list

    CategoryDescription
    NameName of bucket
    TypeSelect a bucket type
    - Standard: Standard bucket, with high durability and availability, suitable for storing frequently accessed data
    Created atBucket creation date and time
    [More] icon- Empty bucket: Delete all objects in the bucket
    - Delete bucket: Delete the bucket

View bucket attributes

You can view the attributes of a bucket.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
  2. Select a bucket in the Bucket menu.
  3. Click the Attributes tab and check the attributes.

Configure access logging

You can configure access logging settings to save event logs that occur in one bucket to another bucket.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.

  2. Select a bucket in the Bucket menu.

  3. Click the Attributes tab and check the access logging information in the text.

    CategoryDescription
    Access loggingDisabled: To disable the access logging
    Enabled: To enable the access logging
  4. To configure access logging, click the Configure access logging button, enter the information, and click the [Save] button.

    Image Configure access logging

    CategoryDescription
    Access loggingSet whether to use access logging
    Target bucketSelect a bucket to store logs
    Target prefix (optional)Set target bucket path
    Log object key formatSet the object key format of the saved log
    - SimplePrefix: [DestinationPrefix][YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]
    - PartitionedDateSource : [DestinationPrefix][ProjectID]/​[SourceRegion]/​[SourceBucket]/​[YYYY]/​[MM]/​[DD]/​[YYYY]-[MM]-[DD ]-[hh]-[mm]-[ss]-[UniqueString]
    - Time format: Based on the timestamp of the object storage event
    Example of log object keyExample of log object name saved in set object key format

Manage bucket permission

For details on how to manage bucket permissions, please refer to Manage bucket permission.

Manage bucket

You can create and manage life cycle policies of a bucket.

info

Users must have a role for getIamPolicy to view permission.

Configure lifecycle

Depending on the bucket's life cycle policy, files in the bucket can be automatically deleted or moved to a different type of bucket after a certain period of time (minimum 1 day to maximum 18,250 days (50 years)). The ability to move files to other types of buckets will be updated in the future. When setting up a life cycle, you can specify the object to which the life cycle will be applied by specifying the entire object (file) or a prefix or object tag.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.

  2. Click a bucket in the Bucket menu.

  3. Move to the Management tab.

  4. Click the [Create life cycle] button, enter the life cycle policy, and click the [Create] button.

    Image Life cycle

    CategoryDescription
    Target bucketBucket with life cycle applied
    Life cycle policy nameA name given to identify the life cycle policy
    RuleSet all objects or object filters to specify objects to which the life cycle will be applied
    - All objects: Life cycle policy is applied to all objects in the bucket
    - Object filter: Life cycle policy is applied to objects included in the rule using a specific filter
    ActionLife cycle policy to apply
    - Delete after expiration: The object will be deleted once the specified date is reached.
    Retention periodHow long an object can remain in a bucket
info

AbortIncompleteMultiPartUpload settings can be applied to lifecycle rules via the API.
This rule provides the ability to stop file uploads that are not completed within a certain date.

Manage life cycle policy

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.

  2. Click a bucket in the Bucket menu.

  3. Move to the Management tab.

    Image Life cycle

    CategoryDescription
    Life cycle policy nameA name given to identify the life cycle policy
    State- Active: Life cycle policy is applied to the bucket
    - Inactive: Life cycle policy is not applied to the bucket
    Rule- All: Life cycle policy is applied to all objects in the bucket
    - Prefix: Enter the prefix of the object to which the policy will be applied
    - Tag: Tag of the object to which the policy will be applied.
    ActionLife cycle policy to apply
    - Delete after expiration: The object will be deleted once the specified date is reached.
    Retention periodHow long an object can remain in a bucket
    [More] icon- Activate policy: Click to activate a deactivated life cycle policy
    - Deactivate policy: Click to deactivate an activated life cycle policy
    - Configure life cycle: Click to modify the life cycle
    - Delete policy : Click to delete life cycle policy

View bucket monitoring

You can check the number of objects and storage capacity in your bucket for the last 7, 14, and 30 days.

info

Monitoring of the number of objects and capacity in your bucket is updated every 24 hours and is not reflected in real time.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
  2. Select a bucket in the Bucket menu.
  3. Click the Monitoring tab and check the monitoring information.

Delete bucket

You can delete buckets that you no longer use. Only empty buckets without objects can be deleted.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.

  2. In the Bucket menu, select the [More] icon > Delete bucket.

    • If there are existing objects when deleting the bucket, emptying the bucket is necessary.
  3. Enter information in the pop-up window and click the [Delete] button.

Empty bucket

You can delete all objects in a bucket at once.

  1. Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
  2. In the Bucket menu, select the [More] icon > Empty bucket.
  3. In the pop-up window, enter ‘Permanently delete’ and click the [Empty] button.