Create and manage buckets
This document describes how to create Object Storage buckets and manage their basic information, types, metadata, and other settings.
Create bucket
A bucket is a container that stores objects and serves as the unit for applying object access permissions and lifecycle settings.
To create a bucket in Object Storage, follow these steps.
-
Go to KakaoCloud Console > Storage > Object Storage.
-
In the Standard bucket menu, click [Create bucket].
-
Enter the information in the pop-up window, and click [Create].
Category Description Name Bucket name
- Unavailable names:v1_ext,swagger,status,ping,info,admin,swiftStorage class - STANDARD: General-purpose storage for data that requires immediate access Default encryption Select an encryption setting.
- Service-managed key: Encrypts objects stored in the bucket using a key managed by the KakaoCloud service
- User key (SSE-KMS): Encrypts objects stored in the bucket using a user key created in KMS. In addition to bucket permissions, access control permission for the KMS user key is required to upload and retrieve objects
- Disabled: Does not use encryption
Before selecting an encryption method, review the behavior, change limitations, and SSE-KMS requirements in Configure bucket encryption.
View bucket
You can view the list of existing buckets and their details.
-
Go to KakaoCloud Console > Storage > Object Storage.
-
In the Standard bucket menu, view the existing buckets.
-
On the bucket details page, view objects, details, permissions, management settings, and monitoring information.
- Objects
- Details
- Properties
- Permissions
- Management
- Monitoring
You can view the objects uploaded to the bucket. For more information about objects, see Manage objects/files.
Category Description Name File name Last modified Date and time when the file was last modified
- If a file is overwritten, the latest upload date is displayedSize File size Type Object type [⋮] button Set metadata: Add or delete metadata
Set object tags: Add or delete object tags
Rename: Change the file name
Copy object URL: Copy the object URL to the clipboard
Copy: Copy the file
Move: Move the file
Download: Download the file
Delete: Delete the fileYou can view bucket details.
Category Description Name Bucket name Storage class Storage class used by default for objects stored in the bucket
- STANDARD: General-purpose storage for data that requires immediate accessCreated at Date and time when the bucket was created In the bucket properties, you can view and configure Default encryption and Access logging.
Default encryption
For more information, see Encryption.Category Description Encryption Whether encryption is enabled or disabled User key ID Unique identifier of the KMS key used to encrypt data Encryption type - Service-managed key: Encrypts objects stored in the bucket using a key managed by the KakaoCloud service
- User key (SSE-KMS): Encrypts objects stored in the bucket using a user key created in KMSAccess logging
For more information, see Access logging.Category Description Access logging Whether access logging is enabled or disabled Target bucket Bucket where logs are stored You can view and configure the Roles, Access-Control, and CORS settings assigned to the bucket.
For more information, see Manage bucket permissions.Roles
Item Description Type Type of member assigned the role
-User,Group,Service account, orRole groupCloud account Member's KakaoCloud Console login ID User ID Identifier that uniquely identifies the member Role Role name that indicates the granted permission level Access-Control
Item Description Public access Whether public access is blocked or allowed Allowed IP addresses List of IP addresses allowed public access CORS
Item Description CORS policy Whether a CORS policy is applied CORS policy configuration data You can view and configure lifecycle policies for the bucket.
For more information, see Lifecycle policies.Category Description Name Name used to identify the lifecycle policy Status - Enabled: The lifecycle policy is applied to the bucket
- Disabled: The lifecycle policy is not applied to the bucketRule - All: Apply the lifecycle policy to all objects in the bucket
-Prefix: Prefix of the objects to which the policy applies
-Tag: Tag information of the objects to which the policy appliesAction Lifecycle policy to apply
- Delete after expiration: Delete objects when the specified period expiresRetention period Period that objects are retained in the bucket [⋮] button - Enable policy: Enable a disabled lifecycle policy
- Disable policy: Disable an enabled lifecycle policy
- Edit lifecycle policy: Modify the lifecycle policy
- Delete policy: Delete the lifecycle policyYou can view the bucket's object count and storage usage for the last 7, 14, or 30 days.
infoMonitoring data for the bucket's object count and storage usage is updated every 24 hours and is not reflected in real time.
Empty bucket
You can delete all objects stored in a bucket at once. This lets you empty a bucket without deleting each object individually. You must empty a bucket before you can delete it.
- Go to KakaoCloud Console > Storage > Object Storage.
- In the Standard bucket list, select the bucket to empty, and select Empty.
- On the Empty bucket page, enter
permanently deleteas instructed, and click [Empty].
- Emptying a bucket cannot be undone. All objects in the bucket are permanently deleted, so proceed only when necessary.
- If the bucket contains many objects, deletion in the console can take a long time. To delete a large number of objects, it is more efficient to configure a lifecycle policy so that objects are deleted automatically.
Delete bucket
You can delete a bucket that is no longer in use.
You cannot delete a bucket if it contains any objects. Empty the bucket first.
- Go to KakaoCloud Console > Storage > Object Storage.
- In the Standard bucket list, click the [⋮] button for the bucket, and select Delete bucket.
- In the Delete bucket pop-up window, review the information, follow the instructions, and click [Delete].