Aws Service Broker
aws-service-broker is Open Service Broker compatible API server that provisions managed services in AWS.
Supported AWS Services
Build, Test and Run
Setup
$ git clone https://github.com/RawSanj/aws-service-broker.git
$ cd aws-service-broker
Configuration:
- Create a new IAM user with Programmatic access (i.e. enable access key ID and secret access key for the AWS API) and attach following policies: AmazonRDSFullAccess, AmazonS3FullAccess and IAMFullAccess.
- Add the above noted AWS Access key, Secret key and export them as environment variable (AWS_ACCESS_KEY, AWS_SECRET_KEY and AWS_DEFAULT_REGION).
- Also Export Application Secret keys as environment variables.
$ // Export AWS Keys
$ export AWS_ACCESS_KEY=[YOUR_AWS_ACCESS_KEY]
$ export AWS_SECRET_KEY=[YOUR_AWS_SECRET_KEY]
$ export AWS_DEFAULT_REGION=[YOUR_AWS_DEFAULT_REGION]
$ // Export Application Secret Keys
$ export BROKER_APP_ADMIN_USERNAME=admin
$ export BROKER_APP_ADMIN_PASSWORD=p@$$w0rd
Build and Test
$ mvn clean package
Run the application:
$ java -jar aws-service-broker-[version]-exec.jar