amazon-web-services - AWS 弹性 Beanstalk : terminate RDS then fail to update application version

标签 amazon-web-services amazon-elastic-beanstalk amazon-rds

我第一次使用 RDS MySQL DB 创建了 AWS EB 环境。但是,我意识到我不需要使用 MySQL,所以我切换到 sqlite3 并终止了 RDS MySQL DB。在此之后,我无法使用 git aws.push 更新应用程序版本. AWS EB 始终显示以下错误消息。

Service:AmazonCloudFormation, Message:Stack named 'awseb-e-xxxxxx-stack' aborted operation. 
Current state: 'UPDATE_ROLLBACK_IN_PROGRESS' Reason: The following resource(s) failed to update: [AWSEBAutoScalingGroup].

Updating Auto Scaling group failed Reason: Template error: DBInstance xxxxxxx doesn't exist

我该如何解决这个问题?谢谢。

最佳答案

正如一些人所指出的,您实际上无法从 elasticbeanstalk 环境中手动删除您的 RDS 实例。

根据另一个答案,您可以使用 aws api 之一通过一些选项更改此设置:AWS Elastic Beanstalk change RDS Endpoint

我的解决方案是终止环境,然后从保存的配置开始一个新环境。

关于amazon-web-services - AWS 弹性 Beanstalk : terminate RDS then fail to update application version,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22623794/

相关文章:

mysql - AWS RDS MySQL 检索某些表的数据超时

amazon-web-services - 什么是 SNS 和/或 APNS 中的 "platform token"?

python - Amazon S3 上传响应 HTTP 403 : Access Denied

tomcat - 如何在部署到 elasticbeanstalk 中的 tomcat 的 clojure ring web 应用程序中关闭 Hikari 连接池

amazon-web-services - 超慢的 Elastic Beanstalk Docker 部署

amazon-web-services - 如何在 Node.js Elastic Beanstalk 上自定义 nginx 配置

sql-server - 无法在 ap-southeast-2 中创建 db.r3.8xlarge SQL Server EE 实例

amazon-web-services - AWS VPC 安全组命名约定

node.js - 如何使用 AWS lambda 验证 S3 中的 zip 结构

amazon-web-services - 如何将 SQLPROJ DACPAC 部署到 Amazon RDS