What’s the Best Way to Host a Websocket on AWS?

0
0
Asked By TechWizard92 On

I watched a video explaining how to create a websocket using API Gateway and Lambda, but I'm looking for alternate methods to host a websocket on AWS. What's a good standard for hosting a websocket service in this environment?

3 Answers

Answered By CodeNinja77 On

If you're looking for low latency, deploying a websocket on EC2 can be great. I set up a t4g.micro instance using Go, and it handles a couple hundred users effortlessly. It might be worth considering based on your user load.

Answered By CloudGuru44 On

You could also use ECS or EC2 for your websocket setup, but don't forget to include a Network Load Balancer (NLB) for better performance.

Answered By NetArchitect12 On

We opted for a route through CloudFront to an Application Load Balancer and then to our websocket service. You could check out NLB options too, or pair it with an API for a smoother setup.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.