1 個回答
- 最新
- 最多得票
- 最多評論
0
You're correct, by definition stickyness and blue/green don't work together. You can expire sessions but if your application requires sticky sessions to work, this would be problematic too because during the time you are expiring sessions (setting application generated cookie to expire in the past), sessions wouldn't be sticky :-(
Set an expiry on the cookie generated by the application that is prior to the current date and time. This will prevent clients from sending the cookie to the Application Load Balancer, which will restart the process of establishing stickiness.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html
相關內容
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前