How to manage Azure VPN usage disabling during night hours

Roberto Atzori 11 Reputation points
2022-05-06T09:37:53.48+00:00

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
    2022-05-06T10:20:39.027+00:00

    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: https://feedback.azure.com/d365community/forum/8ae9bf04-8326-ec11-b6e6-000d3a4f0789

    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.