Serverless Gps tracking Server

0

Hi all! i wish a great year with health!

Currently i am looking to implement a gps server that i have created with c# to aws and i would appreciate if i had any hint from you about the following case: I have created in an on Premise windows server, a gps server with c# that accept HEX messages from gps devices. The server run on specific port that i have declared and the devices needs and IP:PORT in which they could send the messages. Also the server can send back to the device commands. I am struggling on how i could create a similar aws serverless setup . I have find aws API gateway with socket but cant setup a port there and also accept messages only in json format as i have seen. Also i looked around aws iot but works with mqtt protocol but the majority of the devices cant support it now. Is there any way to create the same setup that i have on-premise to aws with serveless setup and not to need to create ec2 windows instance and upload there my c# gps server?

My ideal setup is to create a serverless flow that the device can send messages to IP:PORT with a bi-directional communication Thank you all for your time

已提问 1 年前258 查看次数
2 回答
1

API Gateway supports Web Sockets, which are based on HTTP. It does not support generic TCP connections.

You will need to use an NLB that front maybe some containers that run on Fargate, so you do not need to manage the infrastructure. This is not a serverless solution though.

profile pictureAWS
专家
Uri
已回答 1 年前
0

You can use Lambda function for your code and host an Application load balancer with required port listener and target group to run your lambda function.

已回答 1 年前
  • ALB only supports HTTP traffic, not arbitrary TCP connections. An NLB supports TCP traffic, but it does not support Lambda in the taaget group.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则