Dynamic Worker IP Address

Hi all,

I am currently working on a process to obtain the outbound IP address assigned to a dynamic worker. I need to obtain this IP, so that I can temporarily add it to our Azure NSG allowing access to our SQL Managed Instance. I have a custom container that is spun up to run the necessary tools on the dynamic worker. Has anyone done this before? I am needing to get off our on-prem deployed tentacle.

Hi @cgipson!

Thanks for reaching out, and for the great question. When I’ve had to do this previously, I typically pull it by using a curl/Invoke-Webrequest against ifconfig.net, then using that output to configure temporary access.

I hope this helps, and please let us know if you have any further questions!

Thanks for pointing me in the right direction.

1 Like