Can a SignalR chat "hub" be hosted on AWS/LightSail?
-
The short answer appears to be no. Background: I am a SignalR/web newbie. My goal is to learn a bit about both these. So I created a chat hub based on the [Tutorial: Real-time chat with SignalR 2 | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr). It worked nicely in VS2017. Then I spent many hours fruitlessly trying to get it to run under IIS on an AWS/LightSail VPS. I kept thinking the source of my problem was my ignorance. Turns out, to paraphrase Arthur Conan Doyle (of Sherlock Holmes fame) “Once you eliminate all the possible causes, whatever remains, no matter how improbable, must be the truth.” That's the long explanation to the short answer above! Appears as though Microsoft will not allow AWS to host SignalR, as it perhaps does not want competition (for Teams and such) from Amazon! Hopefully this will save someone a similar painful experience. (BTW: I have since learned that AWS has introduced AWS Websockets API. If you are interested, you might want to take a look at this nice article [Which is best? WebSockets or SignalR - Dotnet Playbook](https://dotnetplaybook.com/which-is-best-websockets-or-signalr/).)
-
The short answer appears to be no. Background: I am a SignalR/web newbie. My goal is to learn a bit about both these. So I created a chat hub based on the [Tutorial: Real-time chat with SignalR 2 | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr). It worked nicely in VS2017. Then I spent many hours fruitlessly trying to get it to run under IIS on an AWS/LightSail VPS. I kept thinking the source of my problem was my ignorance. Turns out, to paraphrase Arthur Conan Doyle (of Sherlock Holmes fame) “Once you eliminate all the possible causes, whatever remains, no matter how improbable, must be the truth.” That's the long explanation to the short answer above! Appears as though Microsoft will not allow AWS to host SignalR, as it perhaps does not want competition (for Teams and such) from Amazon! Hopefully this will save someone a similar painful experience. (BTW: I have since learned that AWS has introduced AWS Websockets API. If you are interested, you might want to take a look at this nice article [Which is best? WebSockets or SignalR - Dotnet Playbook](https://dotnetplaybook.com/which-is-best-websockets-or-signalr/).)
May you want to make sure you'll get information about the Than you keep in mind some basic specs to buy your laptop.
-
The short answer appears to be no. Background: I am a SignalR/web newbie. My goal is to learn a bit about both these. So I created a chat hub based on the [Tutorial: Real-time chat with SignalR 2 | Microsoft Docs](https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr). It worked nicely in VS2017. Then I spent many hours fruitlessly trying to get it to run under IIS on an AWS/LightSail VPS. I kept thinking the source of my problem was my ignorance. Turns out, to paraphrase Arthur Conan Doyle (of Sherlock Holmes fame) “Once you eliminate all the possible causes, whatever remains, no matter how improbable, must be the truth.” That's the long explanation to the short answer above! Appears as though Microsoft will not allow AWS to host SignalR, as it perhaps does not want competition (for Teams and such) from Amazon! Hopefully this will save someone a similar painful experience. (BTW: I have since learned that AWS has introduced AWS Websockets API. If you are interested, you might want to take a look at this nice article [Which is best? WebSockets or SignalR - Dotnet Playbook](https://dotnetplaybook.com/which-is-best-websockets-or-signalr/).)
MS Azure SignalR Service doesn't have in-built support for other serverless platforms. Like AWS Lambda or Google Cloud Functions.