NLB sticky sessions and SSL encryption

0

I need the following:

  • Use AWS Network load balancer for high performance
  • Sticky sessions for better user experience
  • TLS encryption due to government regulation How should I configure my NLB to have stickiness and end to end encryption ? Thanks
1개 답변
0
수락된 답변

When you are using TLS encryption ( that requires at least 1 certificate ) between the LB and the targets for SSL offloading, it is not possible to have stickiness. If it is mandatory to have all network traffic encrypted then TCP listener on port 443 would help. Due to architectural restrictions in AWS NLB, it's not possible to enable stickiness and TLS listener at the same time . You can move TLS encryption back in the chain, onto the app servers directly. The traffic can then be passed through the NLB as TCP traffic and not TLS traffic, and session stickiness is enabled on the NLB directly, this way you are not compromising the end-to-end encryption in the environment. So the summary solution would be:

  • Enabling TCP listener on port 443 between NLB and the target groups
  • Enabling sticky sessions on AWS NLB
  • Enabling TLS encryption on the blackened servers ( App servers )
AWS
mojtoth
답변함 일 년 전
profile pictureAWS
전문가
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠