How can I disable Azure VPN until needed?

Darrin Burns 20 Reputation points
2024-05-28T12:52:38.76+00:00

I have setup VPN Gateway and a VM, but we only need the VPN active when needed.

How can I disable the VPN without removing all the settings so I am not charged while it is not being used?

Thank you!

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,450 questions
{count} votes

Accepted answer
  1. Michael Cameron 587 Reputation points
    2024-05-28T12:56:52.9733333+00:00

    Short answer is that you can't.

    Best that you could do is delete then recreate from template when required but that is both time consuming and involves some work (config would change on recreation).

    Not ideal.


0 additional answers

Sort by: Most helpful