Elastic Beanstalk: Migrate DB Security Group to VPC Security Group

六眼飞鱼酱① 提交于 2019-12-05 02:49:29

问题


When trying to deploy my application, I recently got the following error:

ERROR: Service:AmazonCloudFormation, Message:Stack named
'awseb-e-123-stack' aborted operation. Current state: 'UPDATE_ROLLBACK_IN_PROGRESS'
Reason: The following resource(s) failed to update: [AWSEBRDSDatabase]. 
ERROR: Updating RDS database named: abcdefg12345 failed
Reason: DB Security Groups can no longer be associated
with this DB Instance.  Use VPC Security Groups instead.
ERROR: Failed to deploy application.                                

How do you switch over a DB Security Group to a VPC Security Group? Steps for using the Elastic Beanstalk Console would be greatly appreciated.


回答1:


Had the same issue but was able to fix it by doing the following

  1. Created a RDS db instance from the RDS console
  2. Created a snapshot of the instance
  3. From Elastic Beanstalk console under configuration/database, create the RDS db using the instance
  4. Once the new RDS db instance was created by EBS, inn configuration/software add db environment properties

I hope it helps you resolve this issue.



来源:https://stackoverflow.com/questions/51164140/elastic-beanstalk-migrate-db-security-group-to-vpc-security-group

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!