弹性Beanstalk更改ELB类型 [英] Elastic Beanstalk Change ELB Type
问题描述
有人知道是否可以将现有的AWS Elastic Beanstalk环境更改为Application Load Balancer(而不是经典的).
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和DDOS"Shield"保护,因此任何现有的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.
推荐答案
根据AWS文档的Hello:
Hello As Per AWS Documentation:
Elastic Beanstalk环境管理控制台仅支持 使用Classic创建和管理Elastic Beanstalk环境 负载均衡器.有关其他选项,请参见应用程序负载平衡器和 网络负载平衡器.
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 Documetnation )
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 create test-env --elb-type application
这篇关于弹性Beanstalk更改ELB类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!