我正在学习本教程,以便使用Docker http://blogs.aws.amazon.com/application-management/post/Tx1ZLAHMVBEDCOC/Dockerizing-a-Python-Web-App
部署Flask应用我在本地工作得很好。但是,当我将代码上传到elastic beanstalk
并启动应用时,我会收到以下错误:
Creating EIP failed Reason: Resource creation cancelled
Creating security group named: xyz failed Reason: Resource creation cancelled
Stack named 'xyz-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [NewSignupTopic, StartupSignupsTable, AWSEBSecurityGroup, NewSignupQueue, AWSEBEIP]
我尝试在上传流程中修改我的选择 - 例如不选择RDS,选择单个实例等。但这些似乎并不重要。任何指针都非常感谢!
答案 0 :(得分:0)
我也一直在关注该教程并遇到了完全相同的问题。对我来说,事实证明我与eb
CLI关联的用户没有相应的权限来创建所需的资源。确保您已授予DynamoDB:CreateTable和SNS:对该用户的CreateTopic权限。