How to completly disable Azure Bastion and stop getting charged for not using

Jarzynowski, Matthew 566 36 Reputation points
2021-02-02T22:50:22.863+00:00

How can I completely disable Azure Bastion. I am using a student account with limited credits and am getting charged for a service that I only used once. I deleted the subnet but am still getting charged. Thanks to anyone who can help

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
250 questions
0 comments No comments
{count} votes

Accepted answer
  1. suvasara-MSFT 10,026 Reputation points
    2021-02-03T06:42:28.513+00:00

    @JarzynowskiMatthew566-6633, Bastion starts charging when the resource gets created. To stop the charge, you will need to delete the resource. Besides the normal rental, the inbound traffic is also charged.

    az network bastion delete --name MyBastionHost --resource-group MyResourceGroup  
    

    Ref: https://video2.skills-academy.com/en-us/cli/azure/network/bastion?view=azure-cli-latest#az_network_bastion_delete

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    3 people found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. Aaron L 1 Reputation point
    2021-11-15T18:45:54.19+00:00

    Is there no way besides using console? I downloaded bastion not realizing it was going to charge my account 15$ basically to look at an option that doesn't work. Didn't work for my vm, ended up just having to reset my password again and was able to login via putty. So never even got the chance to use it.

    I downloaded from portal azure, deleted from there. And still getting charged 5$ a day. Do i need to delete my account and restart?

    0 comments No comments