Is it possible to turn off the azure firewall to save cost?

MaNolli 36 Reputation points
2022-07-21T18:36:27.17+00:00

My question is if I save costs if I turn off the azure firewall, how can I do that and what is the impact of that?

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
782 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,778 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jackson Martins 10,606 Reputation points MVP Volunteer Moderator
    2022-07-21T18:40:28.09+00:00

    Hi @MaNolli

    when you turn off (deallocate) the azure firewall, your vms will be without internet access (input or output). Set the Firewall to start approximately 20 minutes before your vms, as that's the time it takes to provision the environment

    there is a powershell to deallocate and allocate:
    reference: https://learn.microsoft.com/en-us/azure/firewall/firewall-faq#how-can-i-stop-and-start-azure-firewall

    I wrote a article in portugues to do that with runbook you can schedule:
    https://blog.azureacademy.com.br/2021/05/28/desligando-o-azure-firewall-para-economizar-custos/

    You can translate with bing or google

    Get in touch if you need more help with this issue.

    --please don't forget to "Accept the answer" if the reply is helpful--

    5 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.