Elastic Beanstalk环境无法决定它是否准备就绪

时间:2017-09-07 21:47:42

标签: amazon-web-services elastic-beanstalk

当我运行eb create <NEW_ENV_NAME>创建一个新环境时,它会启动,出现错误(详情如下),并达到Ready状态:

> eb status
Environment details for: [REDACTED]
  Application name: [REDACTED]
  Region: us-east-1
  Deployed Version: [REDACTED]
  Environment ID: [REDACTED]
  Platform: arn:aws:elasticbeanstalk:us-east-1::platform/Python 2.7 running on 64bit Amazon Linux/2.5.1
  Tier: WebServer-Standard
  CNAME: UNKNOWN
  Updated: 2017-09-07 21:39:49.750000+00:00
  Status: Ready
  Health: Grey

...但是,当我尝试使用AWS Web控制台对环境进行更改时,出现错误:

Unable to validate settings: Environment named distro-worker2 is in an invalid state for this operation. Must be Ready.

混乱!

仅供参考,环境创造的错误是:

Creating load balancer failed Reason: Default subnet in us-east-1a not found

...所以,它无法启动负载均衡器。我要做的是在设置中将其从Load balancing/auto scaling切换到Single instance,但AWS认为它无法执行此操作,因为环境不是Ready。但是......它 Ready

...右?

看起来我可以使用

直接启动到单个实例,没有负载均衡器

eb create --single <ENVIRONMENT_NAME>

...但这仍然无法让我了解Ready是否意味着Ready

0 个答案:

没有答案