Elastic Beanstalk 更改 ELB 类型 [英] Elastic Beanstalk Change ELB Type
问题描述
有谁知道是否可以将现有的 AWS Elastic Beanstalk 环境更改为应用程序负载均衡器(而不是经典的).
Does anyone know if it's possible to change an existing AWS Elastic Beanstalk environment to an Application Load Balancer (instead of a classic one).
据我所知,只有应用程序 ELB 可以使用 AWS WAF 和 DDOSShield"进行保护,因此任何现有的 EB 应用程序都无法利用这些功能,因为它们具有经典的 ELB.
As far as I know only Application ELB's can be protected with AWS WAF and DDOS "Shield" so any existing EB app can't take advantage of these features since they have classic ELB's.
推荐答案
Hello As Per AWS 文档:
Hello As Per AWS Documentation:
Elastic Beanstalk 环境管理控制台仅支持使用 Classic 创建和管理 Elastic Beanstalk 环境负载均衡器.有关其他选项,请参阅 Application Load Balancer 和网络负载均衡器.
The Elastic Beanstalk Environment Management Console only supports creating and managing an Elastic Beanstalk environment with a Classic Load Balancer. For other options, see Application Load Balancer and Network Load Balancer.
还有
注意您只能在环境期间设置负载均衡器类型创建.(参考 AWS 文档)
Note You can only set the load balancer type during environment creation. (Refer AWS Documetnation)
因此,当您通过 AWS CLI:
试试
eb create test-env --elb-type network
或
eb 创建 test-env --elb-type 应用程序
这篇关于Elastic Beanstalk 更改 ELB 类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!