Skip to content

redplanetlabs/rama-s3-backup-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A backup provider for Rama that uses AWS S3.

Usage

To use the provider, download the provided jar from the releases page and include it in the lib/ directory of the Conductor and Supervisor nodes.

Set the backup.provider config to:

com.rpl.rama.backup.s3.S3BackupProvider <bucket-name>

Replace <bucket-name> with the name of the bucket you wish to use.

It is advisable to create the bucket with the desired permissions and other configuration. However, the provider will try to create the bucket if it does not exist.

Credentials

The Rama s3-provider use the AWS default provider chain to determine credentials.

The recommended way to provide credentials when running Rama on AWS is to use instance profiles.

Tests

The tests use a docker container to run adobe/s3mock, which provides a mock of the Amazon S3 service.

On mac you may need to set DOCKER_HOST, e.g.

export DOCKER_HOST=unix:///${HOME}/.docker/run/docker.sock

To run integration tests

mvn verify

About

A backup provider for Rama that uses AWS S3

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages