Currently there are two ways to build cloud-store:
-
Just run:
$ nix-build -A build
-
Download all the required dependencies mentioned in
deps.nixin a directory -
Point the
LB_UNIVERSE_DEPSenvironment variable to that directory (it's set to/opt/logicblox/lb-universe-depsby default) -
Build and install:
$ ./configure $ make install
-
The default installation prefix is
/opt/logicblox/cloud-store, unlessCLOUDSTORE_HOMEis set. To configure this, use the--prefixoption. For example:$ ./configure --prefix=$HOME/cloud-store
Generate a key pair:
$ cloud-store keygen -n testkeypair
By default, the key pair is installed under ~/.cloud-store-keys.
Upload:
$ cloud-store upload s3://bucket/AS400.jpg -i AS400.jpg --key testkeypair
Download:
$ cloud-store download s3://bucket/AS400.jpg -o AS400-2.jpg
Before you can run the cloud-store command, you need to set the environment variables
AWS_ACCESS_KEY_ID and AWS_SECRET_KEY to the corresponding values from your AWS credentials.
- Shea Levy
- Martin Bravenboer
- Patrick Lee
- Luke Vanderhart
- Thiago T. Bartolomei
- Rob Vermaas
- George Kollias
- Wes Hunter