Connect any database. Ask in plain English.

Try free
← Blog

Azure Free Account: $200 for 30 Days, 12 Months of Free VMs and Databases, and What Stays Free (2026)

The Azure free account gives $200 of credit for 30 days, 12 months of free services (small VMs, a B1ms PostgreSQL and MySQL server, two 64 GB disks, 5 GB of Blob storage) and 65+ always-free services. Priced from Microsoft's own price list, the 12-month list is worth $478.90 a month, or $73.34 for the VMs, disks, databases and storage most people use. When the bill starts, and Azure for Students' $100 with no card.

Fastero Dev TeamFastero Dev Team2026-12-03

On 3 December 2026 we read Microsoft's Azure free account page and FAQ, the full free services list, the offer terms, Azure for Students, and Microsoft Learn's pages on the credit, the spending limit, budgets and each free database. Then we wrote a Python calculator against Microsoft's public price list, which needs no account, to put a dollar value on every free amount and on what the $200 credit buys.

The short answer: The Azure free account gives new customers $200 of credit to use within 30 days, plus 12 months of free monthly amounts: 750 hours each of small burstable VMs with 1 GiB of memory, two 64 GB SSDs, a B1ms PostgreSQL and a B1ms MySQL Flexible Server with 32 GB each, and 5 GB of Blob storage. Always free: up to 10 Azure SQL databases, Cosmos DB's 1,000 RU/s and 1 million Functions requests a month. Sign-up needs a card, charged only after you move to pay as you go; after 30 days you must move, or the account is disabled. Students get $100 for a year with no card. Checked 3 December 2026.

Fastero

Connect your database. Ask questions. Get dashboards.

Postgres, BigQuery, Snowflake, and 10+ sources — live-connected, AI-powered, no dashboard builder learning curve.

Try free →

The Azure free account at a glance

From Microsoft's pages, read 3 December 2026. List value is what the free amount would cost a month in East US at pay-as-you-go prices, from our calculator further down.

Offer Free amount How long List value a month Watch for
Credit $200 on most services 30 days n/a Not for Marketplace, support plans or Spot VMs
Virtual machines 750 hours each of B1s, B2pts v2 (Arm), B2ats v2 (AMD), 1 GiB each 12 months $20.58 on Linux Microsoft's pages disagree on B1s
Managed disks Two 64 GB P6 SSDs 12 months $20.41 Only P6 is named
PostgreSQL, MySQL Flexible Server 750 hours of B1ms, 32 GB storage, 32 GB backup, each 12 months $16.09 each The CLI defaults to 128 GB
Blob Storage 5 GB hot LRS, 20,000 reads, 10,000 writes 12 months $0.16 Hot tier, LRS only
Azure SQL Database Up to 10 databases, 100,000 vCore-seconds and 32 GB each Always $18.17 each Pauses when used up
Cosmos DB 1,000 RU/s and 25 GB (400 RU/s and 25 GB more for 12 months) Always $64.65 One account per subscription
Functions 1 million requests, 400,000 GB-s Always $6.60 Consumption plan
App Service F1 Up to 10 apps, 1 GB, 1 hour of CPU a day Always n/a No SLA
Data out 100 GB a month (15 GB more for 12 months) Always $8.70 Internet egress only
Azure for Students $100, no card 12 months, renewable n/a Full-time students, 18 or older

What's free for 12 months on Azure?

The 12-month list runs from the day you create the account and is for new customers only. People who sign up straight to pay as you go get it too, except that "It is not currently available to customers who sign up directly for pay as you go in China and India." What matters for most people:

  • Virtual machines. 750 hours a month of each size. A month has at most 744 hours, so that's one VM of each size running all month, or several sharing the hours: Microsoft Learn's example is five VMs at 150 hours each. B1s has 1 vCPU and 1 GiB; B2pts v2 (Arm) and B2ats v2 (AMD) have 2 vCPUs and 1 GiB. Enough for a small web server or a scheduled script.
  • Which sizes is unclear. The US account page lists B1s, B2pts v2 and B2ats v2 "for Linux or Windows", and Learn names the same three. Microsoft's full list, which we read on its UK page because the US page loads it by script, names only B2pts v2 and B2ats v2, once for Linux and once for Windows. Check the free services table in your portal before you pick B1s.
  • Disks. Two 64 GB P6 Premium SSDs, a 1 GB snapshot and 2 million I/O operations. Microsoft doesn't say whether a smaller OS disk counts against them, and answers on Microsoft Q&A disagree, so check the portal table after a day.
  • Public IP addresses aren't on the list. The price list has a Standard IPv4 address at $0.005 an hour, $3.65 a month per VM, if your portal shows no free amount for it.
  • PostgreSQL and MySQL Flexible Server. 750 hours of a Burstable B1ms server (1 vCore, 2 GiB), 32 GB of storage and 32 GB of backup storage, for each engine. On PostgreSQL the backup part is something everyone gets: "There is no additional charge for backup storage for up to 100% of your total provisioned server storage."
  • Blob Storage. 5 GB of hot, locally redundant block blob storage with 20,000 reads and 10,000 writes a month.
  • Also free for 12 months: Azure Files (100 GB by the list; Learn's example says 5 GB), 15 GB more outbound data, a Load Balancer, VPN gateway and Service Bus for 750 hours each, a Container Registry, a SQL Managed Instance with 720 vCore hours, and some AI services.

Free amounts reset each month and don't roll over, and usage appears in the portal a day or two late. Create resources from the portal's Free services page: Microsoft warns that elsewhere the free tier isn't always preselected.

Which Azure services are always free?

These stay free after the 12 months, for every Azure customer. Microsoft counts 65 or more; the ones you're most likely to use:

  • Azure SQL Database. Up to 10 serverless databases per subscription, each with 100,000 vCore-seconds of compute, 32 GB of data and 32 GB of backups a month, which is about 28 hours at one vCore before it pauses until the next month. Prices, limits and the overage option are in our Azure SQL Database pricing guide.
  • Cosmos DB free tier. 1,000 RU/s and 25 GB for the life of the account. One free-tier account per subscription; you opt in when you create it and can't add it later, and it isn't available for serverless accounts. On a free account you get 1,400 RU/s and 50 GB for the first 12 months.
  • Functions. On the Consumption plan, 1 million requests and 400,000 GB-seconds a month per subscription; the newer Flex Consumption plan gives 250,000 executions and 100,000 GB-seconds. The storage account each function app creates is billed separately.
  • App Service F1. Shared CPU with 60 CPU minutes a day, 1 GB of memory and 1 GB of storage, up to 10 apps. "Use of free plan for production workloads is not supported."
  • Container Apps. 180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests a month.
  • Data out. The first 100 GB a month to the internet.

How much is the Azure free account worth?

Microsoft's Retail Prices API returns the list price of every Azure meter, and Microsoft's docs say it "gives you an unauthenticated experience to get retail rates for all Azure services." One request shows what a B1ms database server costs once the free hours end. We ran it with curl 8.17 in Git Bash on Windows 11:

F="armRegionName eq 'eastus' and skuName eq 'B1MS' and priceType eq 'Consumption'"
curl -sG https://prices.azure.com/api/retail/prices --data-urlencode "\$filter=$F" \
  | python -c "import json, sys
for i in json.load(sys.stdin)['Items']:
    print(i['productName'], '|', i['retailPrice'], i['unitOfMeasure'])"
Azure DocumentDB | 0.0191 1 Hour
Azure Database for MySQL Flexible Server Burstable BS Series Compute | 0.017 1 Hour
Azure Database for PostgreSQL Flexible Server Burstable BS Series Compute | 0.017 1 Hour

So each free B1ms server is $0.017 an hour, $12.41 over a 730-hour month, plus $3.68 for 32 GB of storage. The calculator does that for every free amount we could match to a paid meter, and prices a month of seven paid resources against the $200 credit. It uses only Python's standard library; we ran it with Python 3.14.3:

"""What the Azure free account is worth at Microsoft's list prices, and what $200 buys.
Reads the public Retail Prices API (no sign-in, no key). Free amounts are copied from
Microsoft's free services list. usage: python azure_free_value.py [region]
"""
import json, sys, urllib.parse, urllib.request
 
API = "https://prices.azure.com/api/retail/prices?"
R = sys.argv[1] if len(sys.argv) > 1 else "eastus"
HOURS = 730  # a month in Azure's pricing calculator
DAYS30 = 720  # the credit's 30 days, in hours
 
 
def price(where, tier=0.0, unit=None):
    """Pay-as-you-go list price of the one meter the OData filter names."""
    query = {"$filter": f"priceType eq 'Consumption' and {where}"}
    url, items = API + urllib.parse.urlencode(query), []
    while url:
        with urllib.request.urlopen(url, timeout=60) as r:
            page = json.load(r)
        items, url = items + page["Items"], page.get("NextPageLink")
    hits = [i for i in items if i["tierMinimumUnits"] == tier
            and unit in (None, i["unitOfMeasure"])]
    return max(hits, key=lambda i: i["effectiveStartDate"])["retailPrice"]
 
 
def m(product, meter, sku=None, region=R, **kw):
    f = (f"productName eq '{product}' and meterName eq '{meter}'"
         f" and armRegionName eq '{region}'")
    return price(f + (f" and skuName eq '{sku}'" if sku else ""), **kw)
 
 
def vm(series, size, os=""):  # os="" is Linux, " Windows" is Windows
    return m(f"Virtual Machines {series} Series{os}", size, size)
 
 
PG, MY = "Azure Database for PostgreSQL", "Azure Database for MySQL"
B1MS = " Flexible Server Burstable BS Series Compute"
BLOB, SQL = "General Block Blob v2", "SQL Database Single/Elastic Pool General Purpose - "
MI = "SQL Managed Instance General Purpose - "
ACA = "Azure Container Apps"
ru = m("Azure Cosmos DB", "100 RU/s", "RUs") * HOURS  # 100 RU/s for a month
ru_gb = m("Azure Cosmos DB", "Data Stored", "RUs")
egress = m("Rtn Preference: MGN", "Standard Data Transfer Out", "Standard", tier=100.0)
pg_gb = m(PG + " Flex Server Storage", "Storage Data Stored")
my_gb = m(MY + " Flexible Server Storage", "Storage Data Stored")
 
twelve = {  # name: (free each month, list value of that a month)
    "VM B1s, Linux": ("750 hours: 1 vCPU, 1 GiB", vm("BS", "B1s") * HOURS),
    "VM B2pts v2 (Arm), Linux": ("750 hours: 2 vCPUs, 1 GiB",
                                 vm("Bpsv2", "B2pts v2") * HOURS),
    "VM B2ats v2 (AMD), Linux": ("750 hours: 2 vCPUs, 1 GiB",
                                 vm("Basv2", "B2ats v2") * HOURS),
    "Managed disks": ("2 x 64 GB P6 SSD",
                      2 * m("Premium SSD Managed Disks", "P6 LRS Disk")),
    "PostgreSQL Flexible Server": ("750 hours B1ms, 32 GB",
                                   m(PG + B1MS, "B1MS") * HOURS + 32 * pg_gb),
    "MySQL Flexible Server": ("750 hours B1ms, 32 GB",
                              m(MY + B1MS, "B1MS") * HOURS + 32 * my_gb),
    "Blob Storage": ("5 GB hot LRS, 20k reads, 10k writes",
                     5 * m(BLOB, "Hot LRS Data Stored", "Hot LRS")
                     + 2 * m(BLOB, "Hot Read Operations", "Hot LRS")  # per 10,000
                     + 1 * m(BLOB, "Hot LRS Write Operations", "Hot LRS")),
    "Azure Files": ("100 GB LRS",
                    100 * m("Files v2", "LRS Data Stored", "Standard LRS")),
    "Data out": ("15 GB more", 15 * egress),
    "Cosmos DB": ("400 RU/s, 25 GB", 4 * ru + 25 * ru_gb),
    "Load Balancer": ("750 hours Standard", HOURS * m(
        "Load Balancer", "Standard Included LB Rules and Outbound Rules",
        "Standard", "Global")),
    "VPN Gateway": ("750 hours VpnGw1", m("VPN Gateway", "VpnGw1", "VpnGw1") * HOURS),
    "Service Bus": ("750 hours Standard", HOURS * m(
        "Service Bus", "Standard Base Unit", "Standard", unit="1/Hour")),
    "Container Registry": ("1 Standard registry", HOURS / 24 * m(
        "Container Registry", "Standard Registry Unit", "Standard")),
    "SQL Managed Instance": ("720 vCore hours", 720 * (
        m(MI + "Compute Gen5", "vCore", "vCore")
        + m(MI + "SQL License", "vCore", "vCore", "Global"))),
    "Key Vault": ("10,000 operations", m("Key Vault", "Operations", "Standard")),
}
sql_vcore_s = m("SQL Database General Purpose - Serverless - Compute Gen5",
                "vCore", "1 vCore") / 3600
SQL_GB = "General Purpose Data Stored"
always = {
    "SQL Database, per database": ("100,000 vCore-s, 32 GB", 100_000 * sql_vcore_s
                                   + 32 * m(SQL + "Storage", SQL_GB, "General Purpose")),
    "Cosmos DB free tier": ("1,000 RU/s, 25 GB", 10 * ru + 25 * ru_gb),
    "Data out (all accounts)": ("100 GB", 100 * egress),
    "Functions (Consumption)": ("1M runs, 400,000 GB-s", 1e5 * m(  # priced per 10 runs
        "Functions", "Standard Total Executions", "Standard", tier=1e5)
        + 4e5 * m("Functions", "Standard Execution Time", "Standard", tier=4e5)),
    "Container Apps": ("180,000 vCPU-s, 360,000 GiB-s, 2M requests",
                       18e4 * m(ACA, "Standard vCPU Active Usage", "Standard")
                       + 36e4 * m(ACA, "Standard Memory Active Usage", "Standard")
                       + 2 * m(ACA, "Standard Requests", "Standard")),
}
DSV5 = "Virtual Machines Dsv5 Series"
credit = {  # 30 days of each, around the clock
    "VM B2s, Linux (2 vCPUs, 4 GiB)": vm("BS", "B2s") * DAYS30,
    "VM D2s v5, Linux (2 vCPUs, 8 GiB)": m(DSV5, "D2s v5", "Standard_D2s_v5") * DAYS30,
    "PostgreSQL General Purpose, 2 vCores": DAYS30 * m(
        PG + " Flexible Server General Purpose Ddsv5 Series Compute", "vCore", "2 vCore"),
    "VM D2s v5, Windows (2 vCPUs, 8 GiB)": DAYS30 * m(
        DSV5 + " Windows", "D2s v5", "Standard_D2s_v5"),
    "VM D4s v5, Linux (4 vCPUs, 16 GiB)": m(DSV5, "D4s v5", "Standard_D4s_v5") * DAYS30,
    "VM E4s v5, Linux (4 vCPUs, 32 GiB)": vm("Esv5", "E4s v5") * DAYS30,
    "SQL Database General Purpose, 2 vCores": 2 * DAYS30 * (
        m(SQL + "Compute Gen5", "vCore", "vCore")
        + m(SQL + "SQL License", "vCore", "vCore", "Global")),
}
 
print(f"Region {R}, list prices in USD, {HOURS}-hour month")
for title, rows in (("12 months free", twelve), ("Always free", always)):
    print(f"\n{title:30} {'free each month':42} {'$/month':>8}")
    for name, (amount, usd) in sorted(rows.items(), key=lambda r: -r[1][1]):
        print(f"  {name:28} {amount:42} {usd:8.2f}")
    print(f"  {'Total':71} {sum(v for _, v in rows.values()):8.2f}")
win = HOURS * sum(vm(s, z, " Windows") for s, z in (
    ("BS", "B1s"), ("Bpsv2", "B2pts v2"), ("Basv2", "B2ats v2")))
print(f"\nThe three free VM sizes on Windows instead: ${win:.2f} a month")
print(f"Ten free SQL databases: ${10 * always['SQL Database, per database'][1]:.2f}")
core = [k for k in twelve if k.startswith(("VM", "Managed", "Postgre", "MySQL", "Blob"))]
print(f"VMs, disks, Postgres, MySQL and Blob only: "
      f"${sum(twelve[k][1] for k in core):.2f}")
print(f"\n{'$200 credit: 30 days around the clock':42} {'cost':>8} {'days':>6}")
for name, usd in sorted(credit.items(), key=lambda r: r[1]):
    print(f"  {name:40} {usd:8.2f} {min(30, 200 / usd * 30):6.1f}")
json.dump({"twelve": twelve, "always": always, "credit": credit, "core": core},
          open(f"azure_free_value_{R}.json", "w"), indent=1)
python azure_free_value.py eastus
Region eastus, list prices in USD, 730-hour month
 
12 months free                 free each month                             $/month
  SQL Managed Instance         720 vCore hours                              181.57
  VPN Gateway                  750 hours VpnGw1                             138.70
  Cosmos DB                    400 RU/s, 25 GB                               29.61
  Managed disks                2 x 64 GB P6 SSD                              20.41
  Container Registry           1 Standard registry                           20.28
  Load Balancer                750 hours Standard                            18.25
  PostgreSQL Flexible Server   750 hours B1ms, 32 GB                         16.09
  MySQL Flexible Server        750 hours B1ms, 32 GB                         16.09
  Service Bus                  750 hours Standard                             9.81
  VM B1s, Linux                750 hours: 1 vCPU, 1 GiB                       7.59
  VM B2ats v2 (AMD), Linux     750 hours: 2 vCPUs, 1 GiB                      6.86
  VM B2pts v2 (Arm), Linux     750 hours: 2 vCPUs, 1 GiB                      6.13
  Azure Files                  100 GB LRS                                     6.00
  Data out                     15 GB more                                     1.30
  Blob Storage                 5 GB hot LRS, 20k reads, 10k writes            0.16
  Key Vault                    10,000 operations                              0.03
  Total                                                                     478.90
 
Always free                    free each month                             $/month
  Cosmos DB free tier          1,000 RU/s, 25 GB                             64.65
  SQL Database, per database   100,000 vCore-s, 32 GB                        18.17
  Data out (all accounts)      100 GB                                         8.70
  Functions (Consumption)      1M runs, 400,000 GB-s                          6.60
  Container Apps               180,000 vCPU-s, 360,000 GiB-s, 2M requests     6.20
  Total                                                                     104.32
 
The three free VM sizes on Windows instead: $36.65 a month
Ten free SQL databases: $181.73
VMs, disks, Postgres, MySQL and Blob only: $73.34
 
$200 credit: 30 days around the clock          cost   days
  VM B2s, Linux (2 vCPUs, 4 GiB)              29.95   30.0
  VM D2s v5, Linux (2 vCPUs, 8 GiB)           69.12   30.0
  PostgreSQL General Purpose, 2 vCores       128.16   30.0
  VM D2s v5, Windows (2 vCPUs, 8 GiB)        135.36   30.0
  VM D4s v5, Linux (4 vCPUs, 16 GiB)         138.24   30.0
  VM E4s v5, Linux (4 vCPUs, 32 GiB)         181.44   30.0
  SQL Database General Purpose, 2 vCores     363.14   16.5

Bar chart of what each Azure free amount would cost a month at East US list prices: 12-month services total $478.90, led by SQL Managed Instance $181.57 and VPN Gateway $138.70, then Cosmos DB's extra 400 RU/s $29.61, two P6 disks $20.41, Container Registry $20.28, Load Balancer $18.25, PostgreSQL and MySQL B1ms $16.09 each, Service Bus $9.81, the three VMs $7.59, $6.86 and $6.13, Azure Files $6.00, extra data out $1.30, Blob Storage $0.16 and Key Vault $0.03; always-free services total $104.32 for five, led by the Cosmos DB free tier at $64.65 and one free SQL database at $18.17

List value of each free amount used in full, from Microsoft's free services list and the Azure Retail Prices API (East US), run 3 December 2026 at 16:02 UTC.

The 12-month list adds up to $478.90 a month, but two-thirds of that is a SQL Managed Instance and a VPN gateway few people need. The VMs, disks, both databases and Blob storage come to $73.34 a month, and that's also your bill in month 13 if you leave them running: "For the services that are free for 12 months, any services you're using after 12 months has expired will continue to run and you'll be billed for them at pay-as-you-go rates." On Windows the three VM sizes would be $36.65 instead of $20.58.

The always-free five come to $104.32, and ten free SQL databases alone would be $181.73. Left out: the AI services, Archive storage and the Managed Instance's storage. For another region, pass its name, such as westeurope.

Connect any database. Ask in plain English.

Start free →

What can you do with the $200 Azure credit?

The credit pays for anything not on the free list, or beyond the free amounts, for 30 days. It doesn't cover support plans, Azure DevOps, Visual Studio subscriptions, Marketplace products or Spot VMs.

Bar chart of what running one Azure resource around the clock for 30 days costs at East US list prices, against the $200 credit: a B2s Linux VM $29.95, a D2s v5 Linux VM $69.12, a 2-vCore General Purpose PostgreSQL server $128.16, a D2s v5 Windows VM $135.36, a D4s v5 Linux VM $138.24 and an E4s v5 Linux VM with 32 GiB $181.44 all fit within $200; a 2-vCore General Purpose Azure SQL database costs $363.14, so the credit lasts 16.5 days

Cost of 30 days at East US list prices, from the Azure Retail Prices API, run 3 December 2026. Database prices are compute only.

$200 runs a 4-vCPU, 32 GiB Linux VM for all 30 days, but a provisioned 2-vCore Azure SQL database for only 16.5. Windows doubles a VM's price: $135.36 for the D2s v5 against $69.12 on Linux.

Two limits bite before the money does. "Free Azure trial subscriptions aren't eligible for limit or quota increases", so a VM size beyond the trial's default quota needs an upgrade first. And credit left on day 30 is lost. Your remaining balance is under Cost Management in the portal.

What happens when the 30 days or the $200 run out?

  1. Microsoft emails you, and you choose whether to move to pay as you go. "If you don't, your account and services will be disabled."
  2. Until then, the spending limit protects you. It equals the $200 credit, and "You can't change the amount of the spending limit." Reach it and Azure stops and deallocates your VMs and makes storage read-only.
  3. Move to pay as you go in the portal: Subscriptions, your subscription, Upgrade. Unused credit stays until day 30, and the 12-month free amounts continue. Anything beyond them is billed to your card.
  4. Delete paid resources before you upgrade a disabled account. Upgrading turns them back on: "This situation results in you getting charged for the resources used."
  5. At 12 months the free amounts end and whatever still runs is billed at list price.

Pay as you go has no spending limit, and Microsoft doesn't offer one for it. A budget is the closest thing, but it only emails you: "Resources aren't affected, and your consumption isn't stopped." Budgets are checked every 24 hours on cost data that can be 8 to 24 hours late, and a new subscription can wait up to 48 hours before it can have one. Set a low one anyway, with an alert on actual cost and one on the forecast.

The CLI's quick command, az consumption budget create, takes no email address, so a budget made with it alerts nobody. This uses az rest with the body Microsoft's Budgets API documents. Not run here, as it needs an Azure account:

{
  "properties": {
    "category": "Cost",
    "amount": 10,
    "timeGrain": "Monthly",
    "timePeriod": {
      "startDate": "2026-12-01T00:00:00Z", "endDate": "2027-12-31T00:00:00Z"
    },
    "notifications": {
      "Actual_GreaterThan_50_Percent": {
        "enabled": true, "operator": "GreaterThan", "threshold": 50,
        "thresholdType": "Actual", "contactEmails": ["you@example.com"]
      },
      "Forecasted_GreaterThan_100_Percent": {
        "enabled": true, "operator": "GreaterThan", "threshold": 100,
        "thresholdType": "Forecasted", "contactEmails": ["you@example.com"]
      }
    }
  }
}
# Saved as budget.json. az rest fills in {subscriptionId} from az account set.
B="/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/budgets/free-guard"
az rest --method put --url "$B?api-version=2024-08-01" --body @budget.json

The start date must be the first of a month. Change the email and the $10, then check Cost Management, Budgets, in the portal.

Does the Azure free account need a credit card?

Yes. Microsoft asks for a phone number, a credit card or a non-prepaid debit card, and a Microsoft or GitHub account; in Hong Kong and Brazil only credit cards work. The card is for identity checks: you may see a temporary $1 authorization that's reversed, and nothing is charged unless you move to pay as you go. There's one free account per new customer, and its credit can't be combined with Azure Hybrid Benefit.

Azure for Students: $100 with no credit card

Full-time students at an accredited, degree-granting two- or four-year institution who are 18 or older can sign up with their school email and no card. They get $100 of credit, which "is valid for one year", renewable each year while they're students, plus the same 12-month and always-free services. When the credit runs out, the subscription is disabled unless they move to pay as you go. Like the free trial, Azure for Students subscriptions can't get quota increases, and the credit doesn't cover Marketplace offers. The free SQL Database offer excludes Azure for Students Starter, a separate offer.

How to create a free PostgreSQL server on Azure

  1. Install the Azure CLI and run az login.
  2. Create a resource group and the server, setting the tier, size and storage yourself: left out, the CLI makes a General Purpose server with 128 GB, outside the free amount.
  3. Give --public-access your own IP address, which adds a firewall rule for it. By default the firewall blocks everything.
  4. Connect with TLS on port 5432. Azure refuses unencrypted connections by default.

Not run here, as it needs an Azure account. Every flag is from Microsoft's CLI reference:

az group create --name free-rg --location eastus
 
az postgres flexible-server create --resource-group free-rg --name <server> \
  --location eastus --tier Burstable --sku-name Standard_B1ms \
  --storage-size 32 --version 18 --admin-user <user> --admin-password <password> \
  --public-access <your-ip-address>
 
# One rule per extra address that should reach the server
az postgres flexible-server firewall-rule create --resource-group free-rg \
  --server-name <server> --name office --start-ip-address <ip-address>

Then, also not run here:

psql "postgresql://<user>@<server>.postgres.database.azure.com/postgres?sslmode=require"

sslmode=require encrypts the connection, but "By default, PostgreSQL doesn't verify the server certificate." Microsoft recommends verify-full, which needs a file of its root certificates (DigiCert Global Root G2 and Microsoft RSA Root CA 2017) named in sslrootcert or the PGSSLROOTCERT variable; its TLS page has the download links. For other free Postgres hosts with no 12-month clock, see Neon, Supabase and more and free database hosting.

Azure free account vs AWS and Google Cloud

Azure's free VMs end after 12 months, but its always-free databases are generous: ten 32 GB SQL databases and a 25 GB Cosmos DB account. Google keeps a small VM free with no end date, AWS asks most new customers for no card, and Oracle's Always Free VMs are the largest that never expire: see our AWS, Google Cloud and Oracle Cloud guides. Azure's old free notebooks closed in 2021 (what replaced them).

Where Fastero fits

Azure gives you the database; Fastero is for what comes after. It's an AI and data platform where people and AI agents work together on a team's data, in the browser, and it doesn't host databases. It connects to Azure SQL Database through its SQL Server connection, whose Encrypt switch is on by default for a database.windows.net host, and to Azure Database for PostgreSQL or MySQL. Fastero runs outside Azure, so the server's firewall has to allow it: the connection form lists Fastero's IP addresses, and each needs a rule like the firewall-rule command above.

On the Free plan, with no end date and no card, you get a SQL editor in the browser on that connection, saved queries and charts, and dashboards that refresh and can be emailed on a schedule. Colleagues sign in to view them, and viewers are free. The AI chat writes and runs the SQL, paid from a $20 starting balance. Each scheduled refresh wakes a paused free SQL database and spends its vCore-seconds, so refresh when people look. Plans are on the pricing page.

Fastero's SQL editor with a query that sums leads by channel and month on a saved database connection, a results table of 12 rows below, and the project's dashboards, queries and files in the explorer on the left

Fastero's SQL editor in a demo workspace, on a saved connection with invented marketing data. An Azure connection opens in the same editor.

FAQ

Is the Azure free account really free?

Yes, until you move to pay as you go. The $200 credit and the free amounts never charge your card, and a spending limit stops services when the credit is used. After you upgrade, you pay only for use beyond the free amounts, and after 12 months for whatever is still running.

How long does the Azure free account last?

The $200 credit lasts 30 days. The 12-month services run for 12 months from sign-up, but only if you move to pay as you go within the 30 days. Always-free services, such as 10 SQL databases and Cosmos DB's free tier, have no end date.

Do I need a credit card for an Azure free account?

Yes: a credit card or a non-prepaid debit card, plus a phone number, for identity checks. Microsoft may place a temporary $1 authorization. Full-time university students can use Azure for Students instead, which needs no card.

What happens when my Azure free credit runs out?

Azure disables the subscription: VMs are stopped and deallocated and storage becomes read-only. Move to pay as you go to turn it back on, but delete anything paid first, because upgrading re-enables it and bills it.

Can I get a second Azure free account?

No. Microsoft allows one free account with the $200 credit and 12 months of free services per new customer. The 12-month services also go only to people who haven't had them before.

Can I use the $200 credit for a GPU VM?

Only if the trial's default quota allows the size. Microsoft says free trial subscriptions can't get quota increases, so you would have to move to pay as you go and request quota first. The credit also can't be spent on Spot VMs.

Sources

Read on 3 December 2026; prices pulled from the Azure Retail Prices API at 16:02 UTC that day.

Microsoft Azure:

Microsoft Learn:

Our measurement: the calculator above and one curl request, Python 3.14.3 (standard library only) and curl 8.17.0 on Windows 11, against the Retail Prices API for East US; charts drawn with matplotlib 3.10.9.


Try Fastero free: connect the free Azure SQL, PostgreSQL or MySQL database you just made, then query it, chart it and share dashboards from it in the browser. No credit card required.

Ready to try it yourself?

Connect your database, ask questions in plain English, and get live dashboards — in under 2 minutes. No credit card required.

Follow Fastero on LinkedIn for new articles and examples.

Keep reading

Related articles

2026-12-03

Oracle Cloud Free Tier: Every Always Free Limit, Now 2 Arm OCPUs and 12 GB (2026)

Oracle's Always Free tier gives two 1 GB AMD VMs, Arm VMs with 2 OCPUs and 12 GB in all (half what it gave before June 2026), 200 GB of block storage, two 20 GB Autonomous databases, a 50 GB MySQL server and 10 TB of outbound data a month: $228.71 a month at Oracle's own list prices. The card, idle and capacity rules, how it compares with AWS, Google Cloud and Azure, and a tested Postgres setup.

oracle-cloudfree-tiercloud

2026-12-03

AWS Free Tier: Up to $200 in Credits for 6 Months, and What Still Costs Money (2026)

New AWS accounts get $100 in credits, up to $100 more for trying services, and a Free plan that closes the account after 6 months or when the credits run out. What is always free, how RDS and Redshift fit, the charges that surprise people (a public IPv4 address is $3.65 a month, a NAT gateway $32.85), how to set a budget alert, and a calculator: $100 runs a small server for 9.6 months but a NAT gateway setup 1.6.

awsfree-tiercloud

2026-12-03

Azure SQL Database Pricing: Free Tier Limits and 13 Monthly Costs, $0 to $736 (2026)

Azure SQL Database is free for up to 10 databases per subscription, each with 100,000 vCore-seconds, 32 GB of data and 32 GB of backups a month: about 28 hours at one vCore. Paid, East US list prices run from $4.90 a month for DTU Basic to $372 for an always-on 2-vCore database. We priced 13 setups from Microsoft's live price list with a Python script you can rerun for your own region.

azuresql-serverdatabase