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:
The creation of the following bucket names is restricted.
- v1_ext
- swagger
- status
- ping
- info
-
Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
-
In the Bucket menu, click the [Create bucket] button.
-
Enter the information in the pop-up window and click the [Create] button.
Create new bucket
Category Description Type A bucket type
- Standard: Standard bucket, with high durability and availability, suitable for storing frequently accessed dataName The name of the bucket
- Bucket name length: 4 to 63 charactersEncryption Encryption 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.
-
Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
-
Check the currently created bucket in the Bucket menu.
Bucket list
Category Description Name Name of bucket Type Select a bucket type
- Standard: Standard bucket, with high durability and availability, suitable for storing frequently accessed dataCreated at Bucket 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.
- Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
- Select a bucket in the Bucket menu.
- 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.
-
Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
-
Select a bucket in the Bucket menu.
-
Click the Attributes tab and check the access logging information in the text.
Category Description Access logging Disabled: To disable the access logging
Enabled: To enable the access logging -
To configure access logging, click the Configure access logging button, enter the information, and click the [Save] button.
Configure access logging
Category Description Access logging Set whether to use access logging Target bucket Select a bucket to store logs Target prefix (optional) Set target bucket path Log object key format Set 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 eventExample of log object key Example 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.
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.
-
Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
-
Click a bucket in the Bucket menu.
-
Move to the Management tab.
-
Click the [Create life cycle] button, enter the life cycle policy, and click the [Create] button.
Life cycle
Category Description Target bucket Bucket with life cycle applied Life cycle policy name A name given to identify the life cycle policy Rule Set 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 filterAction Life cycle policy to apply
- Delete after expiration: The object will be deleted once the specified date is reached.Retention period How long an object can remain in a bucket
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
-
Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
-
Click a bucket in the Bucket menu.
-
Move to the Management tab.
Life cycle
Category Description Life cycle policy name A 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 bucketRule - 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.Action Life cycle policy to apply
- Delete after expiration: The object will be deleted once the specified date is reached.Retention period How 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.
Monitoring of the number of objects and capacity in your bucket is updated every 24 hours and is not reflected in real time.
- Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
- Select a bucket in the Bucket menu.
- 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.
-
Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
-
In the Bucket menu, select the [More] icon > Delete bucket.
- If there are existing objects when deleting the bucket, emptying the bucket is necessary.
-
Enter information in the pop-up window and click the [Delete] button.
Empty bucket
You can delete all objects in a bucket at once.
- Go to KakaoCloud Console > Beyond Storage Service > Object Storage.
- In the Bucket menu, select the [More] icon > Empty bucket.
- In the pop-up window, enter ‘Permanently delete’ and click the [Empty] button.