I would love to know how to configure a tiny and very cheap Azure SQL while I debug my github workflow & bicep scripts. (I've had some azure support incidents open for months). A few Kilobytes of storage is fine... I don't need any kind of redundancy or backup. I execute a few trivial queries every couple of days...
I originally used the portal to configure the cheapest and smallest serverless Azure SQL I could and then downloaded the ARM template and decompiled that into bicep and as you can see I'm using GP_S_Gen5:
resource rbacdemoDatabase 'databases@2021-11-01-preview' = {
name: '${name}-rbacdemoDatabase'
sku:{
name: 'GP_S_Gen5'
tier: 'GeneralPurpose'
family: 'Gen5'
capacity: 1
}
According to the azure pricing calculator (West US 2, single database, LRS, vCore, General Purpose, Serverless, Gen5, locally redundant, MaxCore=1, MinVCores0.5... billed cores=1), this should be very cheap: $0.82/month... That sounds great!
However, I noticed that when I failed to shut down the (idle) Azure SQL server over the weekend a couple of months ago I noticed that my bill increased by approximately $10/day...
How do I modify my bicep code to get the $0.82/month (assuming really minimal activity)...