Object Storage
Object storage is a cloud based distributed blob store used to store any amount of unstructured data such as images, videos, pdfs and any other file types. Cosmocloud Object storage is a fully managed, scalable storage layer, backed by Cloud’s Blob Storage like AWS S3, Azure Blob Storage, etc.
You create one or more Object Storage Buckets to store and maintain your data. Buckets are similar to folders / containers and can be used to store, retrieve, backup and access objects/files.
How to create/edit Object Storage Buckets on Cosmocloud
Whenever a user initialises a project, an object storage / bucket is created for that project with the same name. You already get one bucket on the Development environment in the free tier. To create more, you need to upgrade your project.
Once done, you can -
Create a Bucket
Navigate to the Object storage page using the side menu.
Click on Create Bucket.
Enter Bucket Name and Space (in GB) to create the bucket
Click on Create.
Edit a bucket
To edit a bucket Navigate to the Object Storage page.
Select the bucket to Edit.
Enter the Space to update the storage
Click save to update the storage.
Delete a bucket.
To delete a bucket Navigate to the Object Storage page.
Click on the options on bucket to delete.
Select delete.
Confirm that you want to delete the bucket.
Note: Make sure that the bucket you are deleting is not being utilised anywhere or has any data before deleting as once deleted the data will not be able to restore.
How to use Object Storage Buckets
To utilise Object Storage for uploading / downloading objects, Users need to create APIs either using our Starter template or Building from Scratch.
Here’s a quick starter on how to store, retrieve, delete files, once you have created the APIs using the above template.
Last updated