Create an HTTP Listener for a Classic ELB Instance

<p>This article describes how to create a classic ELB HTTP listener.</p> <p><strong><span style="font-size:18px">Prerequisites</span></strong></p> <p>You have successfully created a classic ELB instance.</p> <p><strong><span style="font-size:18px">Procedures</span></strong></p> <p>1.&nbsp;Log in to the <a href="https://pinganyun.com/console/loadBalance/overview" target="_blank">ELB Console</a>.</p> <p>2. In the left navigation pane, click <strong>Instance Management (Classic)</strong> to enter the <strong>Instance Management</strong> <strong>(Classic)</strong> page.</p> <p>3.&nbsp;Click the instance name of the target ELB instance and enter the <strong>Instance Information</strong> page.</p> <p>4.&nbsp;Click the <strong>Listener</strong> tab.</p> <p>5.&nbsp;In the upper-right corner of the tab, click <strong>Create</strong> to enter the <strong>Create Listener</strong> page.</p> <p>6.&nbsp;Configure the listener as described in the following tables:</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201607134554-11a6eac89d88.png" style="height:451px; width:830px" /></p> <p><strong>Basic Information</strong></p> <table border="1" cellpadding="0" cellspacing="0" style="width:0px"> <tbody> <tr> <td style="background-color:#ededed; width:186px"> <p><strong>Configuration item</strong></p> </td> <td style="background-color:#ededed; vertical-align:top; width:595px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="width:186px"> <p>Description</p> </td> <td style="vertical-align:top; width:595px"> <p>Customize the description of a listener.</p> </td> </tr> <tr> <td style="width:186px"> <p>Frontend protocol</p> </td> <td style="vertical-align:top; width:595px"> <p>Select HTTP as the frontend protocol.</p> </td> </tr> <tr> <td style="width:186px"> <p>Port</p> </td> <td style="vertical-align:top; width:595px"> <p>Enter the port number used to receive the request and forward the request to the server resource pool.</p> <p><img src="https://obs-cn-shanghai.yun.pingan.com/pcp-portal/20201607134659-101c3c299a52.png" style="height:23px; margin:1px; width:50px" /><strong>:</strong> In the same ELB instance, the listener port cannot be repeated.</p> </td> </tr> <tr> <td style="width:186px"> <p>Backend protocol</p> </td> <td style="vertical-align:top; width:595px"> <p>It has been selected as HTTP by default.</p> </td> </tr> <tr> <td style="width:186px"> <p>Pool</p> </td> <td style="vertical-align:top; width:595px"> <p>Select a server resource pool.</p> <p>You need to select a pool based on the following steps:</p> <p>1.&nbsp;Click <strong>Choose Pool</strong>, and the <strong>Choose Pool</strong> dialog box opens.</p> <p>2.&nbsp;Check the target pool, and click <strong>Confirm</strong>.</p> <p>If you have not yet created a pool, you need to create one before you can make a selection here. You can also create a server resource pool before you select one for a listener For more information about creating a pool, see Create a Pool.</p> </td> </tr> </tbody> </table> <p><strong>Advanced configuration</strong></p> <table border="1" cellpadding="0" cellspacing="0" style="width:0px"> <tbody> <tr> <td style="width:177px"> <p><strong>Configuration item</strong></p> </td> <td style="vertical-align:top; width:604px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="width:177px"> <p>Request header</p> </td> <td style="vertical-align:top; width:604px"> <p>By default, the client IP address is selected through the X-Forwarded-For header field, and users does not need to perform operations.</p> </td> </tr> <tr> <td style="width:177px"> <p>Session persistence</p> </td> <td style="vertical-align:top; width:604px"> <p>You can choose to turn on or off the session persistence function. After you turn on the session persistence function, requests belonging to the same session will be forwarded to the same host for processing.</p> <p>If you choose to turn on the session persistence, you need to select COOKIE or SOURCE_ADDRESS as the session persistence method. If you select the COOKIE method, the user identity is determined by the session persistence value in the cookie carried by the HTTP/HTTPS request. If you select the SOURCE_ADDRESS method, the user identity is determined by the source address hash algorithm.</p> </td> </tr> </tbody> </table> <p>7.&nbsp;Click <strong>Create</strong>, and you will see an <strong>Operation succeeded</strong> message at the bottom of the page.</p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products