和昨天的差不多,先创建资源,然后就开始。
首先,进行云服务器状态确认
![8@HAW@~N571]C~7CEEH(R5H.png](https://ucc.alicdn.com/pic/developer-ecology/f8b744bcada64a9883d461e1c2502344.png)
然后进行负载均衡的配置
![JR]}$ZOYWLFP89JU@I%C56.png
![PQX}F2[15I`VT]@A0$OPNSO.png](https://ucc.alicdn.com/pic/developer-ecology/497187a61f1c440d895081ab78c3db84.png)
![Y5M_%1P]J({{N)193MBV]TH.png](https://ucc.alicdn.com/pic/developer-ecology/a8b1fd15eeab49f49cc1671f8a07dc74.png)
然后再进行负载均衡的验证
![)D_{ZI4A$V`]6VDO8@){BIG.png](https://ucc.alicdn.com/pic/developer-ecology/8581b82ca57444d381c08f18c645245d.png)
![Q{P_GTG8VX]MMJWU0`5G@YQ.png](https://ucc.alicdn.com/pic/developer-ecology/0e3c5aa4a950498a8fca29bce84ebc89.png)
最后得出结论:当某一台 ECS 出现异常后,负载均衡会自动将请求发送到健康检查状态正常的 ECS 上。