Skip to content

Instantly share code, notes, and snippets.

@siroken3
Created December 10, 2013 03:40
Show Gist options
  • Select an option

  • Save siroken3/7885396 to your computer and use it in GitHub Desktop.

Select an option

Save siroken3/7885396 to your computer and use it in GitHub Desktop.
aws-cliで ELBのcrosszone 設定のON/OFFする方法
確認方法
aws elb describe-load-balancer-attributes --load-balancer-name ELB名
設定方法 (ONの場合: OFFの時は false)
aws elb modify-load-balancer-attributes --load-balancer-name ELB名 --load-balancer-attributes '{ "CrossZoneLoadBalancing": {"Enabled": true }}'
===
機能の説明
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/enable-disable-crosszone-lb.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment