Object Storage
What is Object Storage?
Object Storage on Krutrim Cloud is designed for storing and managing large-scale unstructured data such as logs, images, videos, backups, or static assets. It is built to provide durability, scalability, and ease of access via APIs or a web interface.
Use Cases
Hosting static websites and assets
Backup and archival storage
Storing logs, data exports, and training datasets
Mobile or web app storage backend
Media hosting (images, videos, documents)
We currently support only 1 variant of object storage: Standard Frequent access with Read speed of 1711.63 MiB/s, Average TTFB 17 ms, and write speed 570.35 MiB/s. It is S3-compatible, meaning you can use popular tools like s3cmd and boto3 to interact with your data.
Creating a bucket
You can create a bucket by clicking on the "Create Bucket" option in the Object Storage Page
Please enter the details below
Bucket name - Please follow the bucket naming rules
Region - Please make sure you select the region closest to your location for faster access to the objects
Access Control;
Public - For publicly accessible files
Private - For files to be accessed by only specific IPs
Bucket Versioning - Enable it to support versioning
Default Encryption - Always enabled
Tags - Enable them to clearly identify your buckets
Click on Create bucket, and your bucket will be created
Accessing Buckets
The objects are encrypted at a bucket level and at the hardware level. To access the objects, you will need a secure session.
If you already have an Access Key and Secret Key, please enter them
If you don't have them, you can click on the "Create API Keys" to create a new key.
Please note to save the secret key, as once you create it, you won't be able to see it again
Uploading objects
Once you have accessed the bucket, you can click on the upload file button and select the files you want to upload. This will upload the files
Moving Objects
You can move your objects between folders in the same bucket by clicking on the "Move Object" button in the actions and selecting the desired folder
Bucket Policies
You can create a bucket policy to decide which IP addresses can read or write into your buckets
Once you are inside the bucket, click on policies
Mention all the IP addresses you want to read from your bucket and write to your bucket by commas in the Read-Write IPs box
Mention all the IP addresses you want to read from your bucket, only by commas in the Read-Only IPs box
Click on Create policy, and your policy will be created
CLI Commands
Configure Your S3-Compatible Tool
1. Copy Endpoint URL: In the console, navigate to your bucket, click on "Actions", and copy the endpoint URL. 2. Configure Tool:
Use your
access_key
,secret_key
, and the copied endpoint to configure your S3-compatible tool.For
s3cmd
, run:s3cmd --configure
Enter your keys and the endpoint URL when prompted.
For
boto3
, Add the keys and endpoint URL to your AWS configuration files.
Manage Objects Using S3-Compatible Tool (s3cmd
)
s3cmd
)Now that your tool is configured, you can start uploading, downloading, and managing your objects.
Upload an Object:
s3cmd put /path/to/file s3://your-bucket-name/your-object-name
Download an Object:
s3cmd get s3://your-bucket-name/your-object-name /path/to/destination
Delete an Object:
s3cmd del s3://your-bucket-name/your-object-name
List Objects in a Bucket:
s3cmd ls s3://your-bucket-name
API References
You can find the API References here
Last updated
Was this helpful?