Azure resource that can consume TCP Packet besides Virtual Machine

Jason 1 Reputation point
2021-08-24T12:54:28.037+00:00

I haven't been able to find the answer to this question and didn't know if anyone could provide insight:

Is there an Azure Resource, besides a Virtual Machine, that can consume/listen_for an incoming TCP Packet on dns:specific_port_X?

Since a Virtual Machine is 'always on' and my data is being sent at a specific time of day this seems like I'm paying for a lot of unused downtime. I'd like to switch to another resource like an Azure Function but I'm under the impression that functions can only 'listen' on protocols HTTP/HTTPS. The data I am 'listening' for can only be sent over TCP. Web Sockets aren't a viable transportation alternative either.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,386 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,285 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,761 Reputation points Microsoft Employee
    2021-08-30T18:41:03.253+00:00

    Hello @Jason - Have you tried a suggestion similar to the answer given in the following post? https://stackoverflow.com/questions/63880628/azure-service-that-can-process-tcp-message-on-none It seems viable to turn an existing Infra-based workflow into an event-driven one using Azure Functions & IoT Hub.