Actions11
Overview
This node operation creates a new bucket in a storage service. It is useful for users who need to programmatically manage storage buckets, such as setting up new storage containers for files or data in cloud environments. For example, a user can create a bucket named "my-new-bucket" in a specified region to organize and store files separately from other buckets.
Use Case Examples
- Creating a new bucket named 'project-data' in the 'us-east-1' region for storing project-related files.
- Automating bucket creation as part of a deployment pipeline to ensure storage is ready before uploading data.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the bucket to create. |
| Region | The region where the bucket will be created. |
| Bucket Options | Additional JSON options to customize the bucket creation process. |
Output
JSON
bucketName- The name of the created bucket.region- The region where the bucket was created.options- Additional options used during bucket creation.
Dependencies
- Requires API credentials for the storage service to authenticate and authorize bucket creation.
Troubleshooting
- Ensure the bucket name is unique and follows the naming conventions of the storage service to avoid errors.
- Verify that the specified region is valid and supported by the storage service.
- Check that the API credentials have sufficient permissions to create buckets.
- Common error messages may include 'Bucket already exists', 'Invalid bucket name', or 'Access denied'. Resolving these involves renaming the bucket, correcting the region, or updating permissions respectively.
Links
- MinIO Bucket Operations Guide - Official documentation for managing buckets in MinIO, which is relevant for understanding bucket creation options and constraints.