Azure Infrastructure Setup
This guide covers the Azure setup required for NudgeBee deployments to enable Azure Event Grid integration for real-time resource event monitoring.
Prerequisites
1. Configure the Base URL
NudgeBee receives Azure Event Grid events via a webhook endpoint on your NudgeBee instance. Ensure your BASE_URL is set correctly in your Helm configuration — this is the publicly accessible URL of your NudgeBee deployment (e.g., https://app.nudgebee.com).
The webhook endpoint will be: {BASE_URL}/api/webhooks/azure-eventgrid
2. Configure the ARM Template URL
Set the URL to the ARM template that will be deployed in customer Azure subscriptions:
nudgebee_secret:
# URL to the ARM template deployed in customer subscriptions
AZURE_ARM_TEMPLATE_URL: "https://nudgebee-documents-v2.s3.amazonaws.com/nudgebee-azure-arm-template.json"
3. (Optional) Service Bus for Backward Compatibility
If you have existing Azure accounts using Service Bus delivery, keep the Service Bus configuration. New accounts will use the webhook delivery method automatically.
nudgebee_secret:
# Service Bus connection (only needed for existing accounts using Service Bus delivery)
CLOUD_COLLECTOR_AZURE_SERVICE_BUS_CONNECTION_STRING: "<connection-string>"
CLOUD_COLLECTOR_AZURE_SERVICE_BUS_NAMESPACE: "<namespace-name>"
CLOUD_COLLECTOR_AZURE_SERVICE_BUS_QUEUE_NAME: "<queue-name>"
4. Ingress Configuration
Ensure your ingress routes /api/webhooks/azure-eventgrid to the services-server service on port 8000. If you use the NudgeBee Helm chart, this path is included by default.
How It Works
Architecture
Customer Azure Subscription NudgeBee Infrastructure
┌─────────────────────────────┐ ┌────────────────────────────┐
│ │ │ │
│ Event Grid System Topic │ HTTPS POST │ services-server │
│ (subscription-level) │──────────────>│ /api/webhooks/ │
│ │ (webhook) │ azure-eventgrid │
│ Event Subscription │ │ │ │