AWS Elastic Beanstalk:环境无法启动 [英] AWS Elastic Beanstalk: Environment Fails to Launch
问题描述
我之前已经创建了一些环境,所以我知道Amazon EBS的工作原理,但是最近我在创建环境时遇到了以下问题:
I have created a few environments before so I know how the Amazon EBS works however lately I have been having the following issue while creating an environment:
与环境关联的实例配置文件aws-elasticbeanstalk-ec2-role不起作用.请为实例配置文件添加角色.
我遵循创建新环境的步骤.进入权限页面时,我创建了一个新角色,因为现有角色不存在.然后,我按照其余步骤进行操作,最终开始启动.几分钟后,我得到了上面的错误.任何对此的帮助将是有帮助的.
I follow the steps to create a new environment. When it gets to the Permissions page, I create a new role as there are no existing ones. Then I follow the rest of the steps and eventually it starts to launch. After a couple minutes, I get the error above. Any help towards this will be helpful.
推荐答案
为解决此问题,我从IAM Manager控制台中创建了一个新角色.我选择Amazon EC2作为我的服务角色类型.我附加了AWSElasticBeanstalkFullAccess策略.然后,在创建新环境时,我选择了我创建的新角色.
To solve this issue, I created a new role from the IAM Manager console. I selected Amazon EC2 as my Service Role Type. I attached the AWSElasticBeanstalkFullAccess policy. Then when creating a new environment, I chose the new role I created.
这篇关于AWS Elastic Beanstalk:环境无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!