Azure resource that can consume TCP Packet besides Virtual Machine

Jason 1 Reputation point

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

    Hello @Jason - Have you tried a suggestion similar to the answer given in the following post? It seems viable to turn an existing Infra-based workflow into an event-driven one using Azure Functions & IoT Hub.