This is a Riak CS service broker for the Cloud Foundry v2 services API.
This service broker allows users to provision instances of an S3-compatible storage service. Provisioning the service creates a Riak CS bucket. Binding an application creates unique credentials for that application to access the bucket.
Based on the Riak service broker by @hectcastro.
This service broker must be configured to access a Riak CS cluster.
You can use Bosh to deploy such a cluster alongside Cloud Foundry, or it can be deployed locally by bosh-lite for development purposes. Deploying this as a standalone application to cloud foundry (e.g. via cf push
) is not supported. A Bosh release for Riak and Riak CS can be found here.
To run all specs: rake
Configure the settings.yml
file for your environment.
Start the Riak CS Service Broker:
bundle exec rackup
Add the broker to Cloud Foundry as described by the service broker documentation.