Bucket Management
Buckets are containers for storing objects in Rabata.io. This guide will help you understand how to create, configure, and manage buckets effectively.
What are Buckets?
In Rabata.io, buckets are the basic containers that hold your data. They’re similar to folders, but with additional features:
- Each bucket has a globally unique name
- Buckets can have different access policies
- You can configure lifecycle rules for objects in a bucket
- Buckets can be configured for website hosting
- You can track metrics and set up monitoring for buckets
Creating a Bucket
To create a new bucket in Rabata.io:
- Log in to the Rabata.io dashboard
- Navigate to the Buckets section
- Click the Create Bucket button
- Enter a unique bucket name
- Bucket names must be unique across all Rabata.io
- Names should be DNS-compliant (lowercase letters, numbers, dots, and hyphens)
- Names must be 3-63 characters long
- Configure bucket settings (or keep the defaults)
- Click Create Bucket
Bucket Properties and Settings
Access Control
You can control access to your bucket using:
- Access Control Lists (ACLs): Define who can access your bucket and what permissions they have
- Bucket Policies: JSON documents that define fine-grained access rules
- Block Public Access: Prevent public access to your bucket regardless of other settings
To configure access control:
- Navigate to your bucket in the dashboard
- Select the Action button
- Choose the appropriate access control method
Working with Buckets
Uploading Objects
To upload objects to a bucket:
- Navigate to your bucket
- Click the Upload button
- Select files from your computer or drag and drop them
- Configure any optional settings (storage class, encryption, metadata)
- Click Upload
Managing Objects
You can perform various operations on objects:
- Download: Save objects to your local device
- Delete: Remove objects from your bucket
- Move: Transfer objects between folders or buckets
- Copy: Create duplicates of objects
- Rename: Change object names
- View Properties: See metadata, permissions, and other details
Best Practices
Naming Conventions
- Use consistent naming patterns for buckets
- Consider including your organization name or project name
- Avoid using sensitive information in bucket names
Security
- Apply the principle of least privilege for access
- Enable server-side encryption for sensitive data
- Regularly audit bucket permissions
- Use bucket policies to enforce security requirements
Troubleshooting
Common Issues
- Access Denied: Check your bucket permissions and IAM policies
- Failed Uploads: Check file size limits and network connectivity
- Bucket Already Exists: Choose a different globally unique name
Getting Help
If you encounter issues with your buckets, contact Rabata.io Support.