bc-webservice config AWS

This is a configuration service that connects to an Amazon AWS DynamoDB NoSQL key value database.

Environment variables

BEYONDCRON_CONFIG_SERVICE AWS
AWS_ACCESS_KEY_ID AWS access key ID.
AWS_SECRET_ACCESS_KEY AWS access key secret. If the secret is in the format file:filename, then the secret will be read from filename.
AWS_REGION AWS region.
AWS_TABLE_CONFIG Name of the DynamoDB table to use.

Examples

Set up AWS.

$ export AWS_ACCESS_KEY_ID=AKIA
$ export AWS_SECRET_ACCESS_KEY=Gh7bn3D…
$ export AWS_REGION=us-west-1
$ export AWS_TABLE_CONFIG=beyondcron-config-example
$ export BEYONDCRON_CONFIG_SERVICE=AWS
$ /opt/bc-web/bin/bc-web

Set up AWS with the secret being read from a file.

$ export AWS_ACCESS_KEY_ID=AKIA
$ export AWS_SECRET_ACCESS_KEY=file:/home/bc-web/.aws/beydoncron.secret
$ export AWS_REGION=us-west-1
$ export AWS_TABLE_CONFIG=beyondcron-config-example
$ export BEYONDCRON_CONFIG_SERVICE=AWS
$ /opt/bc-web/bin/bc-web

See also

  • bc-server service config AWS
  • service config etcd
  • service config JDBC

Reference