> For the complete documentation index, see [llms.txt](https://docs.cloud.olakrutrim.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloud.olakrutrim.com/basics/core-infrastructure/storage/object-storage.md).

# 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 m**s, 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

1. You can create a bucket by clicking on the "Create Bucket" option in the Object Storage Page
2. Please enter the details below
   1. Bucket name - Please follow the bucket naming rules
   2. Region - Please make sure you select the region closest to your location for faster access to the objects
   3. Access Control;
      1. Public - For publicly accessible files
      2. Private - For files to be accessed by only specific IPs
   4. Bucket Versioning - Enable it to support versioning
   5. Default Encryption - Always enabled
   6. Tags - Enable them to clearly identify your buckets
3. 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.\
&#x20;

1. If you already have an Access Key and Secret Key, please enter them
2. If you don't have them, you can click on the "Create API Keys" to create a new key.
3. 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

1. Once you are inside the bucket, click on policies
2. 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
3. Mention all the IP addresses you want to read from your bucket, only by commas in the Read-Only IPs box
4. 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:<br>

* 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`)

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](https://krutrim-cloud-documentation.gitbook.io/krutrim-cloud-documentation/~/revisions/mnaZK7Kdd0lEYe2ga4yn/api-references/object-storage-api)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cloud.olakrutrim.com/basics/core-infrastructure/storage/object-storage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
