当前位置:网站首页>Alicloud configures SLB (load balancing) instances
Alicloud configures SLB (load balancing) instances
2022-06-11 00:53:00 【Wenxiaowu】
ECS After the instance is copied , Create load balancing in regions that support multiple zones SLB example , Used to mount across zones ECS example , Expand the external service capability of the application system 、 Eliminate single point of failure , Improve the usability of the application system . In this paper, SLB Deployment method of the instance .
Prerequisite
- Three have been copied ECS example . For more information , Please see the Copy ECS example .
- Four stations ECS Example of Web The services are started and running normally .
Be careful if Web The service is not running , be SLB Examples and ECS Instances cannot communicate normally .
Operation steps
- establish SLB example . Specific operation , Please see the Create examples . The configuration used in this tutorial is as follows :
- regional : Must be with ECS Instances are located in the same region .
- Zone type : Select multiple zones .
- Instance type : Select private network .
- Network type : Choose the VPC .
- Primary availability zone and standby availability zone : On demand configuration .

- The public network of the source instance IP Convert to elastic public network IP. Specific operation , Please see the VPC type ECS Public network IP Switch to elastic public network IP.
explain To avoid impacting the business , Ensure that the source instance IP The address remains the same . therefore , You need to set the public network of the source instance first IP Convert to elastic public network IP, Unbind the source instance , Then bind it to the highly available version SLB For instance .

- Unbind the source instance and the elastic public network IP.
- In the source instance IP Address column , Click flex IP Address Links .

- In the elastic public network IP page , Click unbind .

- Click OK . For more information , Please see the Unbundling EIP.
- In the source instance IP Address column , Click flex IP Address Links .
- Binding elastic public network IP to SLB example .
- In the elastic public network IP page , Find the elastic public network unbound with the source instance IP.

- In the action column , Click bind .
- Instance type selection SLB example ,SLB Select the newly created instance SLB example , Click OK . For more information , Please see the binding SLB example .
- In the elastic public network IP page , Find the elastic public network unbound with the source instance IP.
- To configure SLB example . Specific operation , Please see the Configure the instance .
The basic configuration is as follows :
- In the protocol & Listening tab , Complete the following configuration .
- Load balancing protocol : choice TCP.
- Listening port : Input
80. - Scheduling algorithm : Select on demand . This tutorial selects polling .
- Other configurations use default values .

- Click next . On the backend server tab , Select the default server group , Click continue add add ECS example .

- Check the source instance and the three copied ECS example , Click next : Configure weights and port numbers . The port is configured as 80, Other values remain the default , Click next .

- On the health check tab , Use the default value , Click next .
- On the configuration approval tab , After checking the information , Click Submit .
- Click OK , Return to the instance management page , single click
. When the health check status is normal , Said the back-end ECS The instance can normally handle the requests forwarded by load balancing .
explain A health check-up takes a few minutes , Please wait patiently and click the refresh icon to view the status .
- In the protocol & Listening tab , Complete the following configuration .
Execution results
For the convenience of testing , This tutorial is on four platforms ECS A static web page is built on the instance , To identify each ECS example . Enter the service address of the load balancing instance in the browser , Test the load balancing service . Because the scheduling algorithm is polling , Requests will be sent to each machine in turn ECS example .

边栏推荐
- 双飞翼布局
- Room第一次使用
- LeetCode 1673. Find the most competitive subsequence**
- QT program plug-in reports an error plugin xcb
- 如何保证消息的顺序性、消息不丢失、不被重复消费
- 学习笔记:插件化Activity之Hook点位
- 系统应用安装时,签名校验失败问题
- Multipass Chinese document - instructions for use (contents page)
- Synchronized keyword for concurrent programming
- [MVC&Core]ASP. Introduction to net core MVC view value transfer
猜你喜欢

图的最短路径问题 详细分解版

MESI cache consistency protocol for concurrent programming

Dictionary sort of array

Objects as points personal summary

On the quality assurance system of youzan search V2021

The principle and source code interpretation of executor thread pool in concurrent programming
![[network counting] 1.4 network delay, packet loss and throughput](/img/a8/74a1b44ce4d8b0b1a85043a091a91d.jpg)
[network counting] 1.4 network delay, packet loss and throughput

如何在office2016(word2016)中安装mathtype6.9及相关问题解决方案

自动化测试系列

循环结构语句
随机推荐
系统应用安装时,签名校验失败问题
Unity custom folder icon color personalized unity compiler
[network planning] 1.3 packet switching and circuit switching in the network core
飞利浦 COO 人事变动,将临危受命解决“供应链和产品召回”双重危机
[network planning] 1.5 seven layer network model and five layer network model
图的最短路径问题 详细分解版
Automated test series
unity 网格面片生成抛物线,折线
Objects as points personal summary
网络工程师必修课防火墙安全区域及安全策略基础操作
微信小程序实现OCR扫描识别
[network planning] 2.1.1 brief introduction to client server system and P2P system
teterttet
学习笔记:插件化Activity之Hook点位
Shengteng AI development experience based on target detection and identification of Huawei cloud ECS [Huawei cloud to jianzhiyuan]
lucene思维导图,让搜索引擎不再难懂
阿里云配置SLB(负载均衡)实例
动态规划经典题目三角形最短路径
年金险还能买吗?年金险安不安全?
Deploy netron services through kubernetes and specify model files at startup








