Can serverless endpoints make outbound TCP connections?
I know endpoints can make http/https requests but is there any limit on outbound connections? Is there a FW or are all ports open? What about bandwidth limitations, etc.? Thanks!
9 Replies
I have no idea about this
I guess there's not
But bandwidth limitation I think it's around 120mb/s ish
How can I find out the definitive answer? Specifically can I connect from a serverless endpoint to an outbound (public) system on TCP 22 (SSH) and TCP 873 (rsync)?
yeah sure
No reason why outbound connections shouldn't work, people make outbound connections to upload to cloud storage etc
I guess I'll give it the ol college try LOL
It is possible, but it's a pain in the ass to do so:
https://discord.com/channels/912829806415085598/1238153273077141574/1238233952603476118
I had asked about this too
The tldr is you need to use the graphql endpoints to modify the running pod
he didn't ask about websockets, he just asked about making outbound connections
outbound connections are plain and simple, no need for graphql etc
Oh oops. I was reading it as he wanted to do it specifically through ports like TCP 22 / TCP 873, so I thought the question was more so how to get the ports exposed to do so - vs generic outbound requests
Nah he wanted to connect to an external system on those ports from his serverless worker