Deployment: External Storage
In order to enable External Storage on a node of the blockchain, you will need to supply our AWS S3 credentials to our
./strato run script when we startup our node. Currently, the product supports the use of one set of External Storage credentials.
The credentials we need to supply are:
EXT_STORAGE_S3_BUCKET - enables external storage feature; the AWS S3 bucket name to use as the blockchain data external storage
EXT_STORAGE_S3_ACCESS_KEY_ID - the access key ID for AWS S3 bucket provided
EXT_STORAGE_S3_SECRET_ACCESS_KEY- the secret access key for AWS S3 bucket provided
We can supply these by either passing these on the command line when we run
./strato or our equivalent strato command from within the Strato Getting Started folder. We can also save the same information into a script and use it as a startup script to run our strato setup.
If we are passing the variables on the command line, the startup command should look like this:
EXT_STORAGE_S3_BUCKET=<YOUR STORAGE BUCKET NAME> \ EXT_STORAGE_S3_ACCESS_KEY_ID=<YOUR ACCESS KEY ID> \ EXT_STORAGE_S3_SECRET_ACCESS_KEY=<YOUR SECRET ACCESS KEY> \ ./strato
If enabling with a PBFT network or if otherwise using a
run.sh script to start your nodes, the external storage variables should be added to your
run.sh startup script(s) before the