1

I've just deployed websocket based echo-server on AWS EKS. I see it's running stable and okay but when I was searching for implementation details I was finding only articles that were saying something about nginx ingress controller or AWS application loadbalancer and a lot of troubles with them.

Do I miss anything in my current, vanilla config? Do I need the AWS ALB or nginx ingress controller?

Thank you for all the replies. All the best.

Wytrzymały Wiktor
  • 11,492
  • 5
  • 29
  • 37
user7374044
  • 157
  • 1
  • 1
  • 10

1 Answers1

2

Do I miss anything in my current, vanilla config?

You probably exposed your echo-server app using service type - ClusterIP or NodePort which is fine if you only need to access your app locally in the cluster (ClusterIP) or using your node IP address (NodePort).

Do I need the AWS ALB or nginx ingress controller?

They both are different things, but they have similar common goal - to make your websocket app available externally and distribute traffic based on defined L7 routing routes. It's good solution if you have multiple deployments. So you need to answer yourself if you need some kind of Ingress Controller. If you are planning to deploy your application into production you should consider using those solutions, but probably it may be fine with service type LoadBalancer.

EDIT:

If you are already using service type LoadBalancer your app is already available externally. Ingress controller provides additional configuration possibilities to configure L7 traffic route to your cluster (Ingress Controllers are often using LoadBalancer under the hood). Check this answer for more details about differences between LoadBalancer and Ingress.

Also check:

Mikolaj S.
  • 2,850
  • 1
  • 5
  • 17
  • 1
    Great - thank you for those links - I'll read them carefully. To provide more details I exposed my serivce using the `LoadBalancer` service type which created AWS managed load balancer. – user7374044 Sep 11 '21 at 12:06
  • Hi @user7374044, I just edited post with additional information regarding LoadBalancer type and Ingress Controller. – Mikolaj S. Sep 13 '21 at 14:38
  • 1
    @MikolajS. thank you for the explanation. – user7374044 Sep 20 '21 at 17:38