gpt4 book ai didi

amazon-web-services - CREATE_FAILED ElasticLoadBalancer 请求的可用区 us-east-1c 受到限制,无法与 us-east-1a 一起使用

转载 作者:行者123 更新时间:2023-12-03 07:46:08 25 4
gpt4 key购买 nike

我正在使用来自 http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-sample-templates.html 的美国东部(弗吉尼亚北部)示例模板

并启动AWS CloudFormation示例模板AutoScalingKeepAtNSample,但我不断收到此错误:

CREATE_FAILED   AWS::ElasticLoadBalancing::LoadBalancer ElasticLoadBalancer 
The requested Availability Zone us-east-1c is constrained and cannot be used
together with us-east-1a. Please retry your request by not choosing us-east-1c
and us-east-1a together.

AWS 控制面板报告我位于美国东部(弗吉尼亚北部) 区域。

有什么建议为什么这不起作用吗?

最佳答案

根据Availability Zones区域和可用区文档部分,

As Availability Zones grow over time, our ability to expand them can become constrained. If this happens, we might restrict you from launching an instance in a constrained Availability Zone unless you already have an instance in that Availability Zone. Eventually, we might also remove the constrained Availability Zone from the list of Availability Zones for new customers. Therefore, your account might have a different number of available Availability Zones in a region than another account.

要解决此问题,您需要遵循错误建议,并更改提供给 ELB 资源的可用区列表。

要在 CloudFormation 模板中完成此操作,您可能必须添加输入 Parameter添加到您的模板以手动提供可用区列表(使用 List<AWS::EC2::AvailabilityZone::Name> 类型),而不是依赖于 Fn::GetAZs 函数,返回所有可用区。

关于amazon-web-services - CREATE_FAILED ElasticLoadBalancer 请求的可用区 us-east-1c 受到限制,无法与 us-east-1a 一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41903166/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com