@Alex H ,
Unfortunately, it is not possible to disable NAT gateway. We can only delete or remove the NAT gateway.
Apologies for the inconvenience caused.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a setup where I have Azure functions running on a timer-trigger, and using a nat-gateway with a static public ip in order to access an ip-restricted API. These functions run once per day, and at all other times the nat gateway is not used. The problem is with the NAT-Gateway never going to standby during the time that it is not used. Thereby incurring costs for a full day of use, every day. Looking at the activity graph for the NAT-gateway I noticed that the activity never reaches 0, but always slightly above 0, with little fluctuations. I have TCP timeout set to 4 minutes.
My question is, how can I prevent this permanent activity on the NAT-Gateway from happening so that it the standby-mode can be triggered? Or is there a way to force it into standby during the hours that it is not used?
@Alex H ,
Unfortunately, it is not possible to disable NAT gateway. We can only delete or remove the NAT gateway.
Apologies for the inconvenience caused.