I write these articles mostly for myself. So that if in 3 years I need to do a similar setup I will be able to reduce the amount of time spent crawling the internet for answers. As a result the information contained in them is bound to be incomplete and probably not very useful for outsiders.
However since I don’t want to leave anyone frustrated, if you wish to know more about some background aspect that I left unmentioned, please write a comment, I will be sure to update the content so to provide a more wholesome help article for…
I have been using Elastic Beanstalk for a bit more than 6 months now and I have to admit that until last night I didn’t fully understand how it integrated with AWS Relational Database Service.
The point that escaped me was how when you access your environment’s configuration settings and choose or create a DB from there, a set of environment variables are automatically added to your environment, without them being explicitly shown anywhere.
So if you create a DB from here:
Elastic Beanstalk will create these variables and add them to your environment: