Storm Object Storage delivers a durable, secure, highly available solution for storage needs of virtually any size. With object storage access occurs via API calls to the object storage cluster, which replaces the need to rely on additional servers for dedicated storage.
Here we use the client awscli to interact with Storm Object Storage. If you don’t have awscli installed then you can follow these instructions: How to Install an Object Storage Command Line Interface (awscli)
II. How to Configure awscli for Use with Storm Object Storage
III. How to Use Basic awscli Commands with Storm Object Storage
- These instructions are intended specifically for using Storm Object Storage.
- I’ll be working from a Liquid Web Core Managed CentOS 7 server with awscli installed, and I’ll be logged in as root.
aws --endpoint-url https://objects.liquidweb.services s3api create-bucket --bucket examplebucket
The bucket is, generally speaking, the container that will hold your data. In this case we’ve specified the bucket to be named
Buckets are used to control access and organize data; they cannot be nested as directories can. They also have to be completely unique across the entire Object Storage cluster. So, even though you may not have a bucket called examplebucket, if someone else does you will receive the following error upon trying to create that bucket:
Be sure to choose a unique name for your bucket!
aws --endpoint-url https://objects.liquidweb.services s3 cp example_file_source.txt s3://examplebucket/example_file_target.txt
This command will upload the file
aws --endpoint-url https://objects.liquidweb.services s3 sync . s3://examplebucket
This command will upload all of the contents in the directory where the command is executed to the bucket
aws --endpoint-url https://objects.liquidweb.services s3 ls examplebucket
This command will list all of the contents in the bucket
aws --endpoint-url https://objects.liquidweb.services s3 ls examplebucket/exampledir/
This command will list all of the contents in the directory
Tagged with: awscli • bucket • object • object storage • storage • storm • storm object storage • Storm Server