无法在AWS中使用RDS创建弹性Beanstalk环境 [英] Unable to create elastic Beanstalk environment with RDS in AWS

查看:58
本文介绍了无法在AWS中使用RDS创建弹性Beanstalk环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用现有VPC创建新的ELB环境.但是我无法创建具有以下错误的环境:

I am trying to create new ELB environment with existing VPC. But I am unable to create environment with following errors:

错误创建名为sg-5xxxxxxx的安全组失败原因:资源创建已取消

ERROR Creating security group named: sg-5xxxxxxx failed Reason: Resource creation cancelled

错误创建EIP:xx.xxx.xxx.xxx失败.原因:资源创建已取消.

ERROR Creating EIP:xx.xxx.xxx.xxx failed. Reason: Resource creation cancelled.

错误名为"awseb-e-webxxxxxx-stack"的堆栈中止了操作.当前状态:"CREATE_FAILED"原因:无法创建以下资源:[AWSEBEIP,AWSEBSecurityGroup,AWSEBRDSDBSubnetGroup].

ERROR Stack named 'awseb-e-webxxxxxx-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBEIP, AWSEBSecurityGroup, AWSEBRDSDBSubnetGroup].

注意:我仍然没有超过Elastic Ip的限制.当我在两个区域中为RDS配置子网时,仅在创建环境时它们会自动重置为单个区域

Note :I still didn't cross the Elastic Ip's limit. When i configure subnet for RDS in two regions they were automatically reset to single region only while creating evironment

任何建议都会有所帮助

推荐答案

在最初使用命令行界面创建应用程序之后,我还遇到了通过弹性beantalk ui添加数据库的问题.原来,当我第一次创建帐户时,我已经弄乱了IAM(AWS服务>安全性,身份,合规性> IAM)角色设置.该帐户缺少角色AWSServiceRoleForRDS.创建一个数据库后,便可以为新应用程序成功配置数据库.

I was also having issues adding database via elastic beanstalk ui after initially creating an application using the command line interface. Turns out I had messed up my IAM (AWS Services > Security, Identity, Compliance > IAM) roles setup when I first created the account. This account was missing the role AWSServiceRoleForRDS. Once I created one, I was able to successfully configure a database for the new application.

这篇关于无法在AWS中使用RDS创建弹性Beanstalk环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆