Softwr

Cloud · head to head

Microsoft Azure vs Preact

Microsoft Azure logo

Microsoft Azure

Cloud

Open and flexible cloud services

From
Free
Free plan
Yes
Preact logo

Preact

Web Development

3kB alternative to React with the same modern API

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Microsoft Azure lists virtual Machines; only Preact lists 3kB runtime.
  • Where Microsoft Azure falls short: the 12 months free offer is not available to customers who sign up directly for pay as you go in China and India.
  • Where Preact falls short: compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose.

How do Microsoft Azure and Preact differ?

Microsoft Azure and Preact differ on pricing model, platforms and category (Cloud against Web Development). Only the attributes on which Microsoft Azure and Preact actually diverge.

Attributes where Microsoft Azure and Preact differ
AttributeMicrosoft AzurePreact
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWeb, API, Windows, macOS, iOS, AndroidWeb
CategoryCloudWeb Development

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Preact.

Which features does each one have?

They share no listed features; 20 appear only for Microsoft Azure and 4 only for Preact. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Microsoft Azure

  • Virtual Machines
  • App Service
  • SQL Database
  • Blob Storage
  • Azure Cosmos DB
  • Functions
  • Service Fabric
  • API Management

Only in Preact

  • 3kB runtime
  • preact/compat
  • Same modern API
  • Fast rendering

What is each one used for?

Microsoft Azure is most often brought in for cloud infrastructure and computing; Preact for embedded widgets that load inside someone else’s page and must stay small. The jobs each tool is most often brought in to do.

Microsoft Azure

  • Cloud infrastructure and computingnot Preact
  • Database and storage servicesnot Preact
  • AI and machine learning servicesnot Preact
  • Enterprise application hostingnot Preact

Preact

  • Embedded widgets that load inside someone else’s page and must stay smallnot Microsoft Azure
  • Marketing and content sites where JavaScript payload affects Core Web Vitalsnot Microsoft Azure
  • Applications targeting low-bandwidth or low-powered devicesnot Microsoft Azure

Where do Microsoft Azure and Preact fall short?

Microsoft Azure's most cited limit: the 12 months free offer is not available to customers who sign up directly for pay as you go in China and India. Preact's: behavioural differences from React exist in edge cases, particularly around event handling. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Microsoft Azure

  • The 12 months of free services is available only to new customers who have not previously had an Azure account or received 12 months of free services
  • The 12 months free offer is not available to customers who sign up directly for pay as you go in China and India
  • Customers who try Azure free must move to pay as you go within 30 days to keep receiving the 12 months of free services
  • Free services are capped at specified monthly amounts, and only some of them are always free

Preact

  • Compatibility through preact/compat is good but not total, and some React libraries break in ways that are hard to diagnose
  • Behavioural differences from React exist in edge cases, particularly around event handling
  • A much smaller community, so unusual problems have fewer existing answers than React

How much do Microsoft Azure and Preact cost?

Microsoft Azure is free to use; Preact is free to use. Plan by plan below, from each vendor's own pricing page.

Microsoft Azure

Free
  • Free AccountFree
    • $200 credit for 30 days
    • Popular services 12 months free
    • 40+ services always free

Preact

Free
  • PreactFree
    • Full library
    • Commercial use permitted
    • No usage limits

Which should you pick?

Choose Microsoft Azure if

  • You need virtual machines.
  • You want to start without paying.
  • You work on Web, API, Windows, macOS, iOS, Android.
  • You also want app service.

Choose Preact if

  • You need 3kb runtime.
  • You want to start without paying.
  • You also want preact/compat.

Questions people ask

Is Microsoft Azure or Preact better?
It depends on the job. Microsoft Azure fits cloud infrastructure and computing; Preact fits embedded widgets that load inside someone else’s page and must stay small. Microsoft Azure starts at Free and Preact at Free.
Which is cheaper, Microsoft Azure or Preact?
Microsoft Azure starts at Free and Preact at Free.
Does Microsoft Azure or Preact run on more platforms?
Microsoft Azure runs on Web, API, Windows, macOS, iOS, Android. Preact runs on Web.
Can I use Microsoft Azure for free?
Both have a free tier, so you can try either at no cost before committing.
What is Microsoft Azure best used for?
Microsoft Azure is most often used for cloud infrastructure and computing, database and storage services, ai and machine learning services, enterprise application hosting. Of those, cloud infrastructure and computing and database and storage services are not what Preact is typically brought in for.
What can Microsoft Azure do that Preact cannot?
Microsoft Azure covers Virtual Machines, App Service, SQL Database, Blob Storage. Preact covers 3kB runtime, preact/compat, Same modern API, Fast rendering.

Answered from the vendors’ own pages

Microsoft Azure: How much does Microsoft Azure cost?

Azure uses consumption-based pricing where you pay only for resources used and scale as you grow, with no fixed monthly fee. Prices are listed in USD globally, and pricing varies by service, region, and usage patterns.

Source
Preact: Is Preact free?

Yes, open source under the MIT licence.

Microsoft Azure: How can I save money on Azure services?

Azure offers savings up to 65% on select compute services through Azure Savings Plans with one- or three-year commitments. Using Azure Hybrid Benefit with existing Windows Server and SQL Server licenses plus reservations can save up to 85% compared to standard rates.

Source
Preact: Can I use React libraries with Preact?

Most, through the preact/compat layer. Compatibility is good but not complete, so libraries relying on React internals can break.

Microsoft Azure: Does Azure offer a free tier?

Azure provides free tier services for new users and perpetually free options, including free Spot Virtual Machines, dev/test pricing for development workloads, and access to the Azure Pricing Calculator to estimate monthly costs before deployment.

Source
Preact: Why choose Preact over React?

Bundle size, almost always. If payload is not a binding constraint, React’s ecosystem is usually the better trade.

Share

Related pages

Other head to heads