Essay - Published: 2015.04.30 |
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
This may work for other RDB instances as well as non-relational DB instances, but I haven’t tried it. Best of luck!
**Problem: **I have an app running on an AWS Elastic Beanstalk app server, but it doesn’t seem to have access to the MySQL DB I’ve created. I know this because I can access a file on the app server that doesn’t require access to the DB, but whenever I try to access something that requires DB access, the app seems to hang.
**Solution: **All of this has to do with VPC access rights between the security group your app server is in and the security group your RDBS is a member of. To allow access to your DB instance from your app server, follow these steps:
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.