0

I have containers configured to use awsvpc network mode. Each task has its own ENI, so essentialy they are kind of "EC2 instances" that have no public IP. I also use WebSockets (socket.io), so I need my LoadBalancer/NAT Gateway to work with WebSockets (utilize sticky sessions). So my question is:

How to configure something with an ENI that has only private IP to have access to the Internet (with sticky sessions)?

Ruslan Plastun
  • 1,985
  • 3
  • 21
  • 48

1 Answers1

0

create a aws NLB (Which supports wss)

and then create a ecs service in that wizard you can add the network load balancer