🤍 전 강의 25% 할인 중 🤍

2024년 상반기를 돌아보고 하반기에도 함께 성장해요!
인프런이 준비한 25% 할인 받으러 가기 >>

  • 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

안녕하세요, 덤프 문제 도움 부탁드립니다.

23.01.03 20:24 작성 조회수 195

0

아래 문제에 대해 도움주실 수 있을까요? 일단 저는 B가 맞지 않나 생각하고 있습니다. 두개의 ALB에서 각각 고정 세션을 구성할 수 있지 않나 생각이 들어서요.

An organization is migrating its on-premises applications to AWS by using a lift-and-shift approach, taking advantage of managed AWS services wherever possible. The company must be able to edit the application code during the migration phase. One application is a traditional three-tier application, consisting of a web presentation tier, an application tier, and a database tier. The external calling client applications need their sessions to remain sticky to both the web and application nodes that they initially connect to.Which load balancing solution would allow the web and application tiers to scale horizontally independent from one another other?

  • A. Use an Application Load Balancer at the web tier and a Classic Load Balancer at the application tier. Set session stickiness on both, but update the application code to create an application-controlled cookie on the Classic Load Balancer.

  • B. Use an Application Load Balancer at both the web and application tiers, setting session stickiness at the target group level for both tiers.

  • C. Deploy a web node and an application node as separate containers on the same host, using task linking to create a relationship between the pair. Add an Application Load Balancer with session stickiness in front of all web node containers.

  • D. Use a Network Load Balancer at the web tier, and an Application Load Balancer at the application tier. Enable session stickiness on the Application Load Balancer, but take advantage of the native WebSockets protocols available to the Network Load Balancer.

답변 1

답변을 작성해보세요.

0

안녕하세요.

 

정답에 논란이 있을 수 있는 문제로 보입니다.

기술적으로 A,B 모두 구현이 가능한 것으로 보입니다.

 

보기의 A는

CLB 또한 아래 링크와 고정 세션을 만들 수 있습니다만 CLB는 EC2 Classic 네트워크에 사용하는 이전 세대의 서비스이기 때문에 추후 문제로 나오지 않을 거라 생각합니다.

https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html

 

보기의 B는

여러 계층에 ALB를 사용하는 경우 애플리케이션 기반 쿠키를 사용하여 고정 세션을 구현할 수 있습니다.

https://docs.aws.amazon.com/ko_kr/elasticloadbalancing/latest/application/sticky-sessions.html

image

감사합니다.

박성서님의 프로필

박성서

질문자

2023.01.06

답변 감사합니다.

채널톡 아이콘