How to manage Azure VPN usage disabling during night hours

Roberto Atzori 11 Reputation points

I need to disable or delete / recreate the Azure VPN gateway during night hour to save money .

I didn't find a task such as the shutdown /power off for the VM .

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,458 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Rodriguez 6,201 Reputation points Microsoft Employee

    Hello @Roberto Atzori

    Welcome to Microsoft Q&A Platform,

    For the moment the only option is to delete and recreate the gateway, you could automate this operation via ARM templates or Terraform (taking in count the time will take to create the resource).
    You can share your feedback with the Product Team to add this feature in via Azure Feedback Portal:

    Best regards,


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.