Azure PostgreSQL Flexible Server
Azure PostgreSQL Flexible Server gives new Azure customers 750 B1MS hours a month for 12 months, needs a card, and charges overages or use after the first year if you choose pay-as-you-go.
Azure Database for PostgreSQL flexible server is a managed PostgreSQL service on Azure. It is for developers who want PostgreSQL without running the server, backups, and patching themselves.
Is it a fit?
Good fit
Use it for development, testing, or learning when you want managed PostgreSQL on Azure and are a new Azure customer inside your first 12 months.
- development and testing
- learning PostgreSQL
- short-term small workloads
Not a fit
Skip it if you are not a new Azure customer, since the free amount is for new customers only. Skip it for long-term free hosting, because the free amount ends after 12 months.
- You are not a new Azure customer
- You need free hosting past 12 months
- You need a server without a card on file
You create and manage the server in the Azure portal, then connect with any PostgreSQL client or driver. It suits developers who are new to Azure and want a managed PostgreSQL to learn or test on.
What the free plan gives you
New Azure customers get free monthly amounts of 20 or more popular services for 12 months. For Azure Database for PostgreSQL, that is 750 hours per month of a Flexible Server Burstable B1MS instance, plus 32 GB of storage and 32 GB of backup storage. The amounts reset every month.
Eligible signup routes include the Azure free account and, where offered, direct pay-as-you-go; direct PAYG signups in India and China are excluded by the free-services page. The free account adds a $200 credit that expires within 30 days; continuing afterward requires choosing pay-as-you-go. The Azure page says your card is not charged on the free account, though a temporary $1 authorization may appear during sign-up.
When you hit a limit
On pay-as-you-go, the free amount is a monthly allowance, not a spending cap. An unupgraded free account stops services when its initial credit runs out or expires. Hours, storage, and backup storage above the allowance are billed at pay-as-you-go rates. The same happens when the 12 months end. Run one Burstable B1MS server to stay inside the 750 hours.
Check your usage in the Azure portal so a second server or larger disk does not create a charge.
Gotchas
- The 12-month free amount is only for new Azure customers. Turning on high availability adds a standby server. The free amount lists a single B1MS instance.
- The Development workload type uses Burstable sizes, and Production uses General Purpose or Memory Optimized, which fall outside the free offer. Stopped servers still incur storage charges outside the allowance. Billing rounds a partial hour up and uses the highest compute tier or vCore count selected during that hour.
- Network egress is separately billed; geo-redundant backups require twice the storage capacity.
Alternatives in this atlas
- Azure SQL Database: when you prefer SQL Server and want an always-free serverless allowance on Azure.
- Neon: when you want serverless PostgreSQL without an Azure subscription.
- Supabase: when you want Postgres together with auth and storage.
Questions people ask
Is Azure Database for PostgreSQL flexible server free?
It is free for new Azure customers for 12 months, within 750 hours of a B1MS Burstable instance, 32 GB of storage, and 32 GB of backup storage each month.
What happens after the 12 months?
If you have chosen pay-as-you-go, standard prices apply to the server. The same goes for any usage above the monthly free amounts during the 12 months.
Does Azure PostgreSQL free tier need a credit card?
Yes. Azure sign-up asks for a phone number and a credit or debit card (not prepaid) to verify your identity. It may place a temporary one-dollar hold, and it does not charge you unless you move to pay-as-you-go.
How to get started
- Create an Azure account. New customers get the free monthly amounts for 12 months, and sign-up asks for card verification.
- Sign in to the Azure portal, choose Create a resource, then Databases, then Azure Database for PostgreSQL flexible server, and select Create.
- Fill in subscription, resource group, a globally unique server name, region, and PostgreSQL version.
- Set the workload type to Development so the server uses a Burstable size, and pick the Burstable B1ms compute tier within the free amount.
- Set 32 GB storage, review backup and autogrow settings, and configure authentication and permitted client networking. Create the server, then connect with a PostgreSQL client on port 5432 using TLS.
Other free database options
Same category, safest first.