Reputation: 318
When you create a RDS backed elastic beanstalk application it will show you some of the connection details on the Configuration > Data Tier > RDS page, and says that, "You can access connectivity information for this RDS DB Instance through environment variables." However, it doesn't show you what environment variables it defines (such as RDS_DB, RDS_DATABASE, or RDS_DB_NAME).
Upvotes: 1
Views: 1704
Reputation: 7997
The following variables will be auto defined:
RDS_DB_NAME
RDS_HOSTNAME
RDS_PORT
RDS_USERNAME
RDS_PASSWORD
However, I wouldn't suggest using the auto created RDS (unless it's for testing). Elastic Beantalk tends to take the db up/down as it see fit, so it's better to setup RDS yourself and define the above variables manually. See more here.
Upvotes: 4