0

I have an existing LAMP project on AWS (Elastic-beanstalk). I now what to set up web sockets on AWS too. According to AWS documentation, the way to do that is via AWS API Gateway. I don't know how this all works but there's documentation I found for setting up WebSockets.

Does the Gateway API connect to another service? If so, what service is this? What am I missing?

I mostly just want to make a Web Socket service to look incoming messages to the MySQL database on my Elastic-beanstalk project. I am totally confused about how to do this. Can anyone advise me about what steps I need to take?

ControlAltDel
  • 33,923
  • 10
  • 53
  • 80

2 Answers2

0

Just because api gateway supports web sockets, doesn't mean you need to use it. ALBs do as well and are a more exact fit for elastic beanstalk.

Does an Application Load Balancer support WebSockets?

erik258
  • 14,701
  • 2
  • 25
  • 31
0

AWS doesn't support PHP (Ratchet) Web Sockets

ControlAltDel
  • 33,923
  • 10
  • 53
  • 80