Amazon-Web-Services – I can’t create the RDS database (and associated with the Beanstalk environment)

I recently encountered a problem when creating a new Amazon RDS database (mySQL) and associating it with the Amazon Elastic Beanstalk environment. I did it effortlessly in other environments in the past To do this work (just go to the configuration tab of the environment -> data layer -> “create new RDS database” -> enter the details as needed -> press “save”).

< p>However, there is now a section at the end that requires me to “select subnets for RDS instances in the availability zone”. I have to check the two subnets detected (the default VPC contains these two subnets), because I need to be at least I have a subnet in the two Availability Zones (although a single Availability Zone is selected-if this is relevant).

When I click “Apply”, I receive the error message: “DBSubnets: Invalid Option value: “(Namespace:’aws:ec2:vpc’, OptionName:’DBSubnets’): Specify the VPC ID and make sure all subnets exist. “

About what I did wrong Any ideas? I’m not sure where I specify the VPC ID, and why I have to do it.

Sorry if I misunderstood something-I am very new to these things. Thanks in advance for your help .

I have also seen this question. They know about it, and they are working hard to solve the problem ( Although it has been a while).

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

As mentioned in the comments, It uses CLI.

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

You can also use eb config Set the default database.

I recently encountered a problem when creating a new Amazon RDS database (mySQL) and associating it with the Amazon Elastic Beanstalk environment. I used to This was done effortlessly in other environments (just go to the configuration tab of the environment -> data layer -> “create new RDS database” -> enter the details as needed -> press “save”).

However, there is now the last section that requires me to “select subnets for RDS instances in the availability zone”. I must check the two subnets detected (the default VPC contains these two subnets) Because I need to have a subnet in at least two Availability Zones (despite selecting a single Availability Zone-if this is relevant).

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. “

About Any ideas on what I am doing wrong? I am not sure where I specify the VPC ID and why I have to do it.

Sorry if I misunderstood something-I am very new to these things. Thank you in advance for your help.

p>

I have also seen this question. They know about it and they are working hard to solve the problem (although it has been a while).

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

As mentioned in the comments, it uses CLI.

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

You can also use eb config to set the default database.

Leave a Comment

Your email address will not be published.