【发布时间】:2015-12-18 15:26:25
【问题描述】:
使用eb create 创建新环境后,我无法使用 AWS 控制台在我的环境中创建新的 RDS 数据库。它要求我从四个可用区域中至少选择两个可用区域。
无论我选择哪个我都会收到错误:
DBSubnets: Invalid option value: '["subnet-3dbb9564","subnet-b2edb199"]' (Namespace: 'aws:ec2:vpc', OptionName: 'DBSubnets'): 指定 VPC ID 并确保所有子网存在。
将 EB CLI 与以下命令 eb create --database.engine postgres 一起使用,我得到了超时。
Environment details for: iod-test
Application name: image_of_day2
Region: us-east-1
Deployed Version: 642b
Environment ID: e-u7q9j5ft2e
Platform: 64bit Amazon Linux 2015.03 v2.0.1 running Python 2.7
Tier: WebServer-Standard
CNAME: iotd-test2.elasticbeanstalk.com
Updated: 2015-09-21 19:29:37.262000+00:00
Printing Status:
INFO: createEnvironment is starting.
INFO: Using elasticbeanstalk-us-east-1-249541483051 as Amazon S3 storage bucket for environment data.
INFO: Created security group named: sg-7e948419
INFO: Environment health has transitioned to Pending. There are no instances.
INFO: Created security group named: awseb-e-u7q9j5ft2e-stack-AWSEBSecurityGroup-D0EHQ2UNQQWH
INFO: Created Auto Scaling launch configuration named: awseb-e-u7q9j5ft2e-stack-AWSEBAutoScalingLaunchConfiguration-FQZXDALSR4Z6
INFO: Created RDS database security group named: awseb-e-u7q9j5ft2e-stack-awsebrdsdbsecuritygroup-1xo7y4uzxrwgx
INFO: Creating RDS database named: aaaqgf0bktrtyg. This may take a few minutes.
ERROR: The operation timed out. The state of the environment is unknown.
我还有什么其他选择。这是 AWS 方面的问题吗?
【问题讨论】:
-
你有什么解决办法吗??我也遇到了同样的问题!!!
-
@sabareesh 如果您遇到类似问题,我建议您投票赞成这个问题。
标签: django amazon-web-services amazon-elastic-beanstalk