Home › Forums › AWS › AWS Certified Solutions Architect Professional › Use ALB or NLB for Websocket? › Reply To: Use ALB or NLB for Websocket?
-
Hi, Irene
Sorry, I still stick to the viewpoints of myself and other replies. As a developer with over ten years of experience, I clearly understand the difference between Layer 4 and Layer 7 communication. Ports are just the labels for inter-process remote communication.
ALB can work on non-80 and 443 ports, whether it’s listener or target group. As long as the content of the communication protocol message complies with HTTP/HTTPS, it is fine.
However, this question has never stated from beginning to end that communication can be carried out on non-HTTP /HTTPS protocols (WS/WSS is merely a long connection form of HTTP/HTTPS). If one insists on saying something, Only one sentence can roughly and vaguely infer your point of view: “and the interactive whiteboard feature communicates over port 8080”, however, port 8080 is often used by us programmers as a non-standard HTTP port.
Therefore, in my opinion, this question is highly misleading. If it is indeed a scenario that requires the use of NLB, it can be clearly stated in the question that some protocols only operate at the TCP/IP layer. If it is such a vague expression, there will definitely be great controversy