在shell脚本中的Amazon aws中从负载均衡器附加和分离服务器
#!/bin/bash
if[build_server_response=true];then
## DETACH FROM LOAD BALANCE R
perform_server_update;
## ATTACH BACK TO LOAD BALANCE R
if
我已经在我的debain系统中设置了amazon ec2工具但是什么是从亚马逊aws中的负载均衡器连接和分离服务器的命令
答案 0 :(得分:1)
他们是:
aws elb register-instances-with-load-balancer
http://docs.aws.amazon.com/cli/latest/reference/elb/register-instances-with-load-balancer.html
aws elb deregister-instances-from-load-balancer
http://docs.aws.amazon.com/cli/latest/reference/elb/deregister-instances-from-load-balancer.html