无法选择AWS Elastic Beanstalk上的可用区

时间:2019-05-16 05:46:00

标签: amazon-web-services amazon-elastic-beanstalk

我使用自定义配置创建了一个Elastic Beanstalk环境。我可以更改可用区和放置位置,然后选择它们。

创建环境后,Elastic Beanstalk抱怨

- Stack named 'awseb-e-**********-stack' aborted operation. Current
  state: 'CREATE_FAILED' Reason: The following resource(s) failed to
  create: [AWSEBInstanceLaunchWaitCondition].

- The EC2 instances failed to communicate with AWS Elastic Beanstalk,
  either because of configuration problems with the VPC or a failed EC2
  instance. Check your VPC configuration and try launching the
  environment again.

我想查看可用区和位置;但是,它们被禁用了

Disabled AZs and Placement in Elastic Beanstalk configuration

那为什么被禁用?有办法启用它吗?如果是这样,如何

1 个答案:

答案 0 :(得分:0)

如果将Elastic Beanstalk与Load Balancer一起使用,则需要在配置> 网络下控制Auto Scaling组。

例如,如果您只想在us-east-1b上进行部署,请选择一个使用该可用区的子网。