当前位置:网站首页>Use of load balancing
Use of load balancing
2022-07-26 19:53:00 【Quantum wave cat】
Load balancing uses
Task a : Configure the backend web The server (ECS The server )
Task 2 : Create a load balancing instance
Task three : Configure load balancing instances
Task 4 : Configure session persistence
One 、 Configure the backend web The server
1. Remote login two ECS The server
install httpd, Provide default home page , Start the service .
[[email protected] ~]# yum install httpd -y
[[email protected] ~]# echo "This is `hostname -I` test page." > /var/www/html/index.html
[[email protected] ~]# systemctl start httpd
2. Security group inbound release 80 port , Two sets of ECS The server uses the same security group

3. Website access test

Two 、 Create a load balancing instance
Operation steps
1. Log in to the load balancing management console .
2. On the left navigation bar , Click on the instance > Instance management .
3. On the instance management page , Click Create load balancing .
4. In load balancing SLB Purchase page , Configure the load balancing instance as needed .


3、 ... and 、 Configure load balancing instances
1. Log in to the load balancing management console .
2. On the instance management page , Click the listening configuration wizard in the instance operation column to configure listening .
3. In the protocol & Under the monitoring tab , Configure listening rules , Other configurations remain the default options .
4. Choose a load balancing Protocol : This tutorial selects TCP agreement .
5. Listening port : The front-end protocol and port of the load balancing system used to receive requests and forward requests to the back-end server . This tutorial port is set to 80.
Scheduling algorithm : Choose polling .

6. Click next , Under the backend server tab , Select the default server group , Click continue to add , Add back-end server
7. On my server page , Check the previously created ECS01 and ECS02 example , Click next .
8. Configuration weight , The greater the weight, the more requests to forward , The default is 100, Keep the default .
9. Under the default server tab , Configure the back-end protocol port ,ECS The back-end port open on the instance to receive requests , At the same time Repeatable in a load balancing instance . Port set to 80



Enter the service address of the load balancing instance , Test the load balancing service .

Four 、 Configure session persistence
Open session hold

The test again :

The experiment is finished , Release instance .
边栏推荐
- What is federated graph machine learning? A summary of the latest "federal map machine learning: concepts, techniques, and Applications" at the University of Virginia
- Software testing - what are the automated testing frameworks?
- 线性代数第3章向量
- 数据库设计三大范式
- kvm虚拟化
- 【shell】转载:批量替换 find awk sed xargs
- 【PHP】常用的header头部定义
- 【Android】Kotlin 快速编译背后的黑科技,了解一下~
- Uiobject2 of uiautomator2 common classes
- Talk about how to use redis to realize distributed locks?
猜你喜欢

拿铁DHT-PHEV产品响当当,销量会不会让李瑞峰想通了呢?

Do you know the difference between safety test, functional test and penetration test?

MySQL 子查询使用方式

Linear algebra Chapter 3 vector

什么是联邦图机器学习?弗吉尼亚大学最新《联邦图机器学习:概念、技术和应用》综述

论文精读:YOLOV2——YOLO9000:Better, Faster, Stronger

ShardingSphere-JDBC 关键字问题

DOM案例:10秒倒计时-写跳转页面相关的知识

PyQt5快速开发与实战 3.6 打包资源文件

Redis介绍
随机推荐
[PHP] common header definitions
金仓数据库 KingbaseES SQL 语言参考手册 (14. SQL语句:COMMIT 到 CREATE LANGUAGE)
What should we do about the fragmentation of internal information? Try this
Docker使用mysql:5.6和 owncloud 镜像,构建一个个人网盘,安装搭建私有仓库 Harbor
Chapter 9 practical modeling technology
线性代数第4章线性方程组
Is it safe for CSCI qiniu school to open an account? What is qiniu for
ipad下载的文件在哪里可以找到
Detailed explanation of call function in solidity
调整数组顺序使奇数位于偶数前面且相对位置不变
LeetCode每日一练 —— 88. 合并两个有序数组
JS中的 作用域
上半年住户存款增加10.33万亿元,平均每天约571亿存款涌向银行
Leetcode-138-copy linked list with random pointer
openstack 虚拟机网卡被重名为cirename0
Uiobject2 of uiautomator2 common classes
Leetcode daily practice - 27. Remove elements
Do you know the difference between safety test, functional test and penetration test?
[internship experience] date verification
金仓数据库 KingbaseES SQL 语言参考手册 (16. SQL语句: CREATE SEQUENCE 到 DELETE)