aws-service-broker is Open Service Broker compatible API server that provisions managed services in AWS.
$ git clone https://github.com/RawSanj/aws-service-broker.git
$ cd aws-service-broker
- 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
$ mvn clean package
$ java -jar aws-service-broker-[version]-exec.jar
aws-service-broker uses a number of open source projects/spec:
- Spring Boot - An opinionated framework for building production-ready Spring applications. It favors convention over configuration and is designed to get you up and running as quickly as possible.
- Open Service Broker API - The Open Service Broker API project allows developers, ISVs, and SaaS vendors a single, simple, and elegant way to deliver services to applications running within cloud native platforms such as Cloud Foundry, OpenShift, and Kubernetes.
- Spring Cloud Open Service Broker - Spring Cloud Open Service Broker is a framework for building Spring Boot applications that implement the Open Service Broker API.
- Docker - Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.
- Cloudfoundry - Cloud Foundry is the industry standard cloud application platform that abstracts away infrastructure so you can focus on app innovation.
- Kubernetes - Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.
Apache License 2.0
Copyright (c) 2018 Sanjay Rawat