Skip to content

devop-mmcgrath/openshift-aws-rds-cartridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenShift RDS Cartridge

This cartridge is documented in the Cartridge Guide.

Requirements

This cartridge requires you to have an AWS account as well as an access key/private key. By installing this cartridge, those keys will be used to create a database that is managed by OpenShift. You will have to pay for the RDS costs.

Install

Step 1 is to upload your AWS keys to OpenShift so the cartridge can use them. Use environment variables for this:

rhc env set AWS_ACCESS_KEY_ID='YOURKEYID' AWS_SECRET_ACCESS_KEY='YOURSECRETKEY' 

Step 2 is to install the cartridge:

rhc cartridge add -a MYAPP https://github.com/mmcgrath-openshift/openshift-aws-rds-cartridge/raw/master/metadata/manifest.yml

Usage

Usage of this cartridge is idential to the MySQL cartridge provided by OpenShift except there is no local socket available. This includes use of the following environment variables:

  • OPENSHIFT_MYSQL_DB_USERNAME
  • OPENSHIFT_MYSQL_DB_PASSWORD
  • OPENSHIFT_MYSQL_DB_HOST
  • OPENSHIFT_MYSQL_DB_PORT
  • OPENSHIFT_MYSQL_DB_URL

Special Note

When removed, this cartridge will destroy the database associated with this application and create a snapshot of it. Keep in mind until the snapshot is cleaned up you will incur AWS charges on your AWS bill so keep that in mind.

About

Cartridge Plugin RDS for Amazon Web Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages