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

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
답변함 일 년 전
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.

답변함 일 년 전
  • ALB only supports HTTP traffic, not arbitrary TCP connections. An NLB supports TCP traffic, but it does not support Lambda in the taaget group.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠