Share via

Web app + database on Linux

ram doig 40 Reputation points
2025-11-01T19:29:15.2266667+00:00

We want to order a new App Service (Web App + Database on Linux). The question is about the price to this order.

Basic (B1) sku Estimated price - 13.14 USD/Month

We have selected Basic (B1) with MySQL database. The estimated price is $13.14/mo. to the new Web App and database or to Web App only? And the MySQL database will have additional price?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Answer accepted by question author

Anonymous
2025-11-03T03:31:34.8066667+00:00

Hello @ram doig ,

Thank you for submitting your question on Microsoft Q&A.

When you create an App Service (Web App on Linux) and add a MySQL database, you are actually provisioning two separate resources. Each resource has its own pricing model.

  • App Service Plan: This is the compute resource that runs your web application.
  • Azure Database for MySQL: This is a managed database service with its own compute, storage, and backup costs.

The estimated price shown during setup (e.g., $13.14/month for Basic B1) applies only to the App Service Plan, not the database.

You will be paying for:

  1. App Service Plan (compute for your Web App)
  2. Azure Database for MySQL (compute + storage + backup)
  3. Optional costs (bandwidth, monitoring, etc.)

App Service Plan (Compute for your Web App) This is the server hosting cost for your web application.

  • The App Service Plan determines how much CPU, memory, and scaling capacity your app gets.
  • You’re billed for the compute resources (like virtual machine time) — not per app.
  • Multiple web apps can share the same App Service Plan if they run in the same region and pricing tier.

Azure Database for MySQL (Compute + Storage + Backup) This is the managed database cost where your data is stored.

  • Compute: The virtual cores (vCores) or compute units that handle your database queries.
  • Storage: The disk space your database data and logs occupy.
  • Backup: Azure automatically takes backups; storage for these backups is also billed separately, depending on retention settings.

Optional Costs (Bandwidth, Monitoring, etc.) These are additional or usage-based charges that may apply

  • Bandwidth (Data Transfer): Outbound data from Azure to the internet or other regions.
  • Monitoring & Logs: If you enable Application Insights or diagnostic logs for deeper visibility, those services may have their own data retention or ingestion costs.
  • Networking: If you use private endpoints, virtual networks, or custom domains with SSL, there may be minor extra charges.

Costing details are given here:

App Service Plan Cost:

If you select Basic (B1) on Linux: Price: $13.14/month, Specs: 1 Core, 1.75 GB RAM, This covers hosting your web app only no database.

Select MySQL Database Tier:

Azure Database for MySQL offers Flexible Server with three tiers Burstable (lowest cost, good for dev/test), General Purpose (recommended for production), Memory Optimized (high performance)

Example pricing (West US region):

Burstable B1ms (1 vCore, 32 GB storage): ~$30/month, General Purpose Standard_D2ds_v4 (2 vCore, 32 GB storage): ~$124.83/month, Memory Optimized: Higher cost

Add Storage & Backup Costs:

Storage: $0.10 per GB/month, Backup: $0.20 per GB/month (retention depends on configuration)

Calculate Total Estimated Cost:

App Service (Basic B1): $13.14/month

MySQL General Purpose (2 vCore): $124.83/month

Storage (32 GB): $3.20/month

Backup (32 GB): $6.40/month

Total: ≈ $147.57/month

Reference :

https://learn.microsoft.com/en-us/azure/static-web-apps/plans?source=recommendations

https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-service-tiers-storage?source=recommendations

https://azure.microsoft.com/en-us/pricing/details/mysql/

Kindly let us know if the above comment helps or you need further assistance on this issue.

Please "upvote" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. TP 156.7K Reputation points Volunteer Moderator
    2025-11-01T19:47:17.15+00:00

    Hi,

    Yes, the MySQL Flexible server will cost additional. How much additional depends on which MySQL SKU the create wizard you are using selects. For example, if on the Review + create tab it says Database (New) Compute tier + size: GeneralPurpose Standard_D2ds_v4 for region West US, the Pay as You Go price would be $124.83/month on top of the $13.14 for Basic (B1).

    After creation you could scale down to a lower MySQL tier, assuming there is capacity available.

    Azure Database for MySQL pricing

    https://azure.microsoft.com/en-us/pricing/details/mysql/

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.