Scenario
This section describes how you can modify the sticky session settings.
- This section applies to dedicated and shared load balancers.
- You can also configure sticky sessions when adding a listener or creating a backend server group.
Enabling Sticky Session
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click
in the upper left corner to display Service List and choose Network > Elastic Load Balancing. - In the navigation pane on the left, choose Elastic Load Balancing > Backend Server Groups.
- On the Backend Server Groups page, locate the target backend server group and click Edit in the Operation column.
- In the Modify Backend Server Group dialog box, enable sticky session, select the sticky session type, and set the session stickiness duration.
- Click OK.
Disabling Sticky Session
- Log in to the management console.
- In the upper left corner of the page, click
and select the desired region and project. - Click
in the upper left corner to display Service List and choose Network > Elastic Load Balancing. - In the navigation pane on the left, choose Elastic Load Balancing > Backend Server Groups.
- On the Backend Server Groups page, locate the target backend server group and click Edit in the Operation column.
- In the Modify Backend Server Group dialog box, disable sticky session.
- Click OK.