Hey there,
We’ve working on deploying multiple functions with Netlify - since those functions interact with our DB on hosted on azure we were wondering if there’s a way to get the IP of the deployed function to allow traffic to our db.
Appreciate any help.
Cheers
Hey @mxnkarou
There are a few threads here regarding this, all with the same answer: no .
Hi @poweiharn , welcome to the community!
It’s not possible to get a static IP for serverless functions with any host that I’m aware of. that’s a bit antithetical to how you’re supposed to think of them, since they you aren’t supposed to worry about where they are hosted, or anything to do with the server they are running on. I’m not familiar with Line Pay, but I do not that lots of other payment processes will allow you to make payments from dynamic IP’s. Sorry I don’t have a great solution fo…
You can use a Signed Proxy Redirect and check the x-nf-sign
header to ensure the request has come from Netlify.