Creating an HTTPS Listener for a Classic ELB Instance

<p>This article describes how to create a classic ELB HTTPS listener.</p> <p><strong><span style="font-size:18px">Prerequisites</span></strong></p> <p>You have successfully created a classic ELB instance.</p> <p><span style="font-size:18px"><strong>Procedures</strong></span></p> <p>1.&nbsp;Log in to the <a href="https://pinganyun.com/console/loadBalance/overview" target="_blank">ELB Console</a>.</p> <p>2.&nbsp;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/20201607140453-1793bc4c9daf.png" style="height:497px; 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:188px"> <p><strong>Configuration item</strong></p> </td> <td style="background-color:#ededed; vertical-align:top; width:593px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="width:188px"> <p>Description</p> </td> <td style="vertical-align:top; width:593px"> <p>Customize the description of a listener.</p> </td> </tr> <tr> <td style="width:188px"> <p>Frontend protocol</p> </td> <td style="vertical-align:top; width:593px"> <p>Select HTTPS as the frontend protocol.</p> </td> </tr> <tr> <td style="width:188px"> <p>Port</p> </td> <td style="vertical-align:top; width:593px"> <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/20201607140537-1acd3c9390bd.png" style="height:20px; margin:1px; width:50px" /><strong>:</strong> In the same ELB instance, the listener port cannot be repeated.</p> </td> </tr> <tr> <td style="width:188px"> <p>Backend protocol</p> </td> <td style="vertical-align:top; width:593px"> <p>It has been selected as HTTP by default.</p> </td> </tr> <tr> <td style="width:188px"> <p>Pool</p> </td> <td style="vertical-align:top; width:593px"> <p>Choose 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> <tr> <td style="width:188px"> <p>Certificate</p> </td> <td style="vertical-align:top; width:593px"> <p>Upload SSL Certificate.</p> <p><strong>Note:</strong> Before uploading the certificate, make sure that the certificate has been created. For more information, see Create a Certificate.</p> <p>You can upload the certificate in the following steps:</p> <p>1.&nbsp;Click <strong>Select Certificate</strong>, and the <strong>Select Certificate</strong> dialog box opens.</p> <p>2.&nbsp;Check the target certificate, and click <strong>Confirm</strong>.</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="background-color:#ededed; width:189px"> <p><strong>Configuration item</strong></p> </td> <td style="background-color:#ededed; vertical-align:top; width:592px"> <p><strong>Description</strong></p> </td> </tr> <tr> <td style="width:189px"> <p>Request header</p> </td> <td style="vertical-align:top; width:592px"> <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:189px"> <p>Session persistence</p> </td> <td style="vertical-align:top; width:592px"> <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