Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Elastic Beanstalk .ebextensions to specify an RDS database

With Elastic Beanstalk, can you specify whether you want to create an RDS database using .ebextensions?

like image 378
pingu Avatar asked Jan 11 '23 12:01

pingu


1 Answers

No, .ebextensions are evaluated per deployment, not per environment creation. You can choose to create or not the RDS when you create the Environmnet automatically the CLI or the API. Also, you can use a Resources key with the AWSEBRDSDatabase name in you .ebextensions to get a reference to that database.

see: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-resources.html

like image 50
Julio Faerman Avatar answered Jan 20 '23 12:01

Julio Faerman