'Firewall whitelist for any node in AzureML Compute Cluster

I have set up a compute cluster within Azure ML, which is in a private virtual network. I need to access an external database, but because of firewall rules I need to know the ip of the resource requesting the DB access, for whitelisting, which is impossible with a cluster afaik.

My question is, how do I specify 'something' static, that can be whitelisted in a firewall, so that any node in a cluster will be able to access the DB. Can I do it with a private endpoint? If so how do I assign a private endpoint to a cluster? Can it be done with ips?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source