Availability Zones for Notification Hub is too expensive. I want to minimize that

Joseph Yeo 20 Reputation points
2025-05-06T12:17:39.48+00:00

Availability Zones for Notification Hub is too expensive. I want to minimize that.

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
369 questions
{count} votes

Accepted answer
  1. Sampath 2,930 Reputation points Microsoft External Staff Moderator
    2025-05-09T13:28:07.9933333+00:00

    Hello Joseph Yeo,

    When Notification Hubs are deployed with Availability Zones (AZs), your service benefits from higher uptime and fault tolerance by spreading resources across physically separate datacenters. However, this can lead to additional infrastructure and networking charges , especially in scenarios with high volumes of push notifications.

    If high availability via AZs is not a strict requirement for your workload (e.g., non-critical notifications or tolerant of minor downtime), you may consider:

    • Using the Standard Tier instead of Premium, which provides reliable performance at a lower cost, and does not include zone charges by default.
    • Deploying in regions where AZs are optional or not enforced, which helps minimize overhead costs.
    • Ensure you provision only what’s necessary to avoid paying for unused capacity.
    • Exploring alternative architectures, such as Azure Event Grid, Azure Functions, or third-party push providers, if they better align with your cost-performance needs.

    For detailed pricing:

    Azure Notification Hubs Pricing

    Availability Zones Overview

    APNS Token Reuse & Hub Migration Guidance:

    Regarding the Apple Push Notification Service (APNS):

    • Existing credentials can be reused across hubs. No reconfiguration is required on the Apple Developer portal as long as the authentication method (key or certificate) remains unchanged.
    • Private key regeneration is not required if you're configuring a new hub with the same credentials.
    • Ensure Firebase Cloud Messaging (FCM) settings are also correctly migrated when applicable.

    Device Registration Considerations:

    • When switching to a new hub, devices must re-register to start receiving notifications from it. Registrations from the old hub are not automatically transferred or valid for the new one.
    • If your app uses automatic registration, a client update may be necessary to ensure the registration targets the new hub.
    • For manual registration flows, you can trigger the update without requiring a full app release.

    Relevant documentation:

    Configure Notification Hub for PNS

    Conclusion:

    You’ve correctly implemented a solution where the new hub uses the same credentials, and confirmed that both hubs function concurrently. It was also appropriate to update the app to handle token regeneration, ensuring proper registration.

    Please "Accept the answer" and click "Yes" . So it can be helpful for others with similar questions.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alekhya Vaddepally 1,255 Reputation points Microsoft External Staff Moderator
    2025-05-06T13:28:39.4+00:00

    Hi Joseph Yeo,

    • When the notification hub is configured with availability areas, your service extends into several physically different data centers within an ago region. Although it increases flexibility and uptime, it also introduces additional infrastructure and networking costs, which can be noticeable over time - especially if you are sending large amounts of push notifications.
    • If high availability with AZS is not a strict requirement for your use case (eg, non-masculine or non-oblivious-time information), you can choose to deploy notification hubs in a field or tier that does not use availability areas or avoids zone excesses to reduce the extra charges.

    Here's how you can reduce the cost:

    1 person found this answer helpful.
    0 comments No comments

Your answer

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