Elastic Load Balance User Guide Contents
Total Page:16
File Type:pdf, Size:1020Kb
Elastic Load Balance User Guide Issue 01 Date 2021-06-04 HUAWEI TECHNOLOGIES CO., LTD. Copyright © Huawei Technologies Co., Ltd. 2021. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd. Trademarks and Permissions and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied. The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute a warranty of any kind, express or implied. Issue 01 (2021-06-04) Copyright © Huawei Technologies Co., Ltd. i Elastic Load Balance User Guide Contents Contents 1 Service Overview..................................................................................................................... 1 1.1 What Is ?.................................................................................................................................................................................... 1 1.2 Product Advantages................................................................................................................................................................2 1.3 Application Scenarios............................................................................................................................................................. 3 1.4 How ELB Works....................................................................................................................................................................... 5 1.5 Public or Private Network Load Balancing.....................................................................................................................8 1.6 Product Concepts.................................................................................................................................................................. 10 1.6.1 Basic Concepts.................................................................................................................................................................... 10 1.6.2 Region and AZ.................................................................................................................................................................... 11 1.7 ELB and Other Services....................................................................................................................................................... 12 2 Getting Started...................................................................................................................... 14 2.1 Overview.................................................................................................................................................................................. 14 2.2 Using Enhanced Load Balancers — Entry Level.........................................................................................................16 2.3 Using Enhanced Load Balancers — Advanced Level................................................................................................22 3 Load Balancer.........................................................................................................................31 3.1 Public or Private Network Load Balancing.................................................................................................................. 31 3.2 Preparation.............................................................................................................................................................................. 32 3.3 Creating an Enhanced Load Balancer............................................................................................................................34 3.4 Modifying Load Balancer Settings.................................................................................................................................. 35 3.5 Binding or Unbinding an EIP.............................................................................................................................................35 3.6 Deleting a Load Balancer................................................................................................................................................... 36 4 Listener.................................................................................................................................... 38 4.1 Overview.................................................................................................................................................................................. 38 4.2 Protocols and Ports.............................................................................................................................................................. 39 4.3 Adding a Listener.................................................................................................................................................................. 40 4.4 Load Balancing Algorithms............................................................................................................................................... 51 4.5 Sticky Session......................................................................................................................................................................... 52 4.6 Access Control........................................................................................................................................................................ 53 4.7 Modifying or Deleting a Listener.................................................................................................................................... 54 4.8 Advanced Settings for HTTP or HTTPS Listeners....................................................................................................... 55 4.8.1 Forwarding Policy.............................................................................................................................................................. 55 4.8.2 Mutual Authentication.................................................................................................................................................... 59 Issue 01 (2021-06-04) Copyright © Huawei Technologies Co., Ltd. ii Elastic Load Balance User Guide Contents 4.8.3 HTTP/2.................................................................................................................................................................................. 64 4.8.4 HTTP Redirection to HTTPS........................................................................................................................................... 65 4.8.5 SNI Certificate (for HTTPS Listeners)......................................................................................................................... 67 5 Backend Server.......................................................................................................................68 5.1 Overview.................................................................................................................................................................................. 68 5.2 Configuring Security Group Rules for Backend Servers...........................................................................................69 5.3 Configuring Weights for Backend Servers....................................................................................................................71 5.4 Adding or Removing Backend Servers...........................................................................................................................71 6 Health Check.......................................................................................................................... 77 6.1 Configuring a Health Check.............................................................................................................................................. 77 6.2 Disabling Health Checks.....................................................................................................................................................79 7 Certificate................................................................................................................................81 7.1 Certificate and Private Key Format.................................................................................................................................81 7.2 Converting Certificate Formats........................................................................................................................................ 82 7.3 Creating a Certificate...........................................................................................................................................................83