Amazon Elastic Beanstalk: Can multiple applications share the same Amazon RDS database instance?

When you create an application in Amazon Elastic Beanstalk, you have the opportunity to create a new instance of the Amazon RDS database. Is it possible to link an existing instance of an RDS database with an Elastic Beanstalk application?

+4
source share
3 answers

If you want to split an RDS instance between multiple applications, it is best to configure it independently of your beanstalk application.

Configure privileges for each application and configure each application to use an RDS instance.

You may have to manually configure the application security group to access the database instance.

+2
source

A single database can be used with only one elastic beanstalk environment. Although, it can move between environments. It is also important to remember that the clone operation does not clone the database.

0
source

I ran into the same problem and fixed it by following these steps:

1) Go to the EC2 instance and write down the example of your security group "sg-12121212121212"

2) Go to the RDS security group and select the incoming traffic

.3) Change the rule, select all traffic and add a new ebs security group "sg-121212121212"

Hope this will be helpful

0
source

All Articles