Skip to content

infor-cloud/cloud-store

Folders and files

NameName
Last commit message
Last commit date
May 9, 2020
Mar 14, 2022
Aug 7, 2020
Aug 10, 2020
Mar 8, 2018
Sep 21, 2017
Jun 26, 2018
Jun 11, 2020
Apr 20, 2018
Mar 22, 2024
Mar 22, 2024
Mar 22, 2024
May 28, 2020
Jun 20, 2018

Repository files navigation

Building from source

Currently there are two ways to build cloud-store:

Using Nix

  • Just run:

    $ nix-build -A build

Manually

  • Download all the required dependencies mentioned in deps.nix in a directory

  • Point the LB_UNIVERSE_DEPS environment variable to that directory (it's set to /opt/logicblox/lb-universe-deps by default)

  • Build and install:

    $ ./configure $ make install

  • The default installation prefix is /opt/logicblox/cloud-store, unless CLOUDSTORE_HOME is set. To configure this, use the --prefix option. For example:

    $ ./configure --prefix=$HOME/cloud-store

Usage

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.

Authors

  • Shea Levy
  • Martin Bravenboer
  • Patrick Lee
  • Luke Vanderhart
  • Thiago T. Bartolomei
  • Rob Vermaas
  • George Kollias
  • Wes Hunter