Recently failed to create an RDS database (and link it to the Beanstalk environment)

I'm having trouble creating a new Amazon RDS (mySQL) database and associating it with Amazon Elastic Beanstalk. I have done this painlessly in the past for other environments ( simply by going to the environment configuration tab -> data tier -> "create a new RDS database" -> entering details as needed -> pressing "Save").

However, at the end there is a section requiring me "Select the subnets for RDS instances in your Availability Zone". I have to mark both detected two subnets (which are contained in the VPC by default), because I need to have a subnet in at least two availability zones (despite the fact that the availability availability zone is selected - if necessary).

When I click Apply, I get an error message: "DBSubnets: Invalid option value: '' (Namespace: 'aws:ec2:vpc', OptionName: 'DBSubnets'): Specify the VPC ID and make sure all subnets exist."

Any ideas on what I did wrong? I do not know where exactly I should indicate the VPC ID, and why I should even.

Sorry if I didn't understand something - I'm pretty new to this. Thank you in advance for any help.

+4
source share
1 answer

I also saw this problem. They know this, and they are working on a fix (although some time has passed).

https://forums.aws.amazon.com/message.jspa?messageID=678379

As noted in the comments, this works using the CLI.

eb create --database --database.engine mysql --region eu-west-1

You can also use the eb configuration to configure the default database.

0
source

Source: https://habr.com/ru/post/1607456/


All Articles