LoginSignup
0
0

More than 1 year has passed since last update.

How keeping Azure Bastion on can be costly

Last updated at Posted at 2022-09-23

Backstory

The other day, I was testing out how much it cost to setup a most bearbone network environment in Azure.
It turned out that I was charged for 17$ in 3 days. Surprisingly, it turns out that the most of the cost didn't even come from VM computing or storage costs.

My setup

My setup is very simple. I just had a VM with other things. The instance was B1s with S4 Standard HDD managed disk.
image.png
I was expecting to just pay less than 12$ a day. (According to Azure Pricing Calculator)
image.png

Problem

My mistake was having Azure Bastion on in the first place.
Azure Bastion is like a feature you can use to remote into the VM without RDPing into your VM with public IP.
You can basically do everything on your browser. I just turned it just for a convenience.
image.png

My expected total bill is already reaching 17 and 14 is just for 1 Bastion connection....
image.png

Fix

You can simply go to the Bastion and delete it.
image.png
You will have to confirm the deletion.
image.png

Comment

It was a surprise that the bastion can be very costly. Looking at the cost analysis under cost management will save your life.
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0