First published on on Jun 27, 2018
This blog was co-authored by Anitha Adusumilli , Principal Program Manager, Azure Networking and Sumeet Mittal, Program Manager, Azure Networking.
Azure Event Hubs, a highly reliable and easily scalable data streaming PaaS offering has been prolific this year with new features such as https://azure.microsoft.com/en-us/blog/azure-event-hubs-is-now-offering-support-for-availability-zones-in-preview/ and a big investment into Open Source with enabling https://azure.microsoft.com/en-us/blog/azure-event-hubs-for-kafka-ecosystems-in-public-preview/ . Azure Service Bus, a feature rich cloud messaging PaaS offering that also just offered support for https://azure.microsoft.com/en-us/blog/azure-service-bus-is-now-offering-support-for-availability-zones-in-preview/ has also been busy. Today, both services are announcing public preview of Virtual Network Service Endpoints.
This new feature adds to the security and control Azure customers have over their workload environments today. Now, traffic from your Virtual Network to your Premium Service Bus namespaces and Standard or Dedicated Azure Event Hubs namespaces can be kept secure from public Internet access and completely private on the Azure backbone network.
Azure Event Hubs and Service Bus are joining the growing list of https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview .
Important info
Azure Portal
To enable this feature from the Azure portal you can visit the Virtual Networks blade, select or create the Virtual Network you want and then navigate to the Service endpoints section.
Then enable the Microsoft.EventHub service endpoint or the Microsoft.ServiceBus endpoint.
You can also create new virtual networks and virtual network rules from the Event Hubs or Service Bus namespace overview blades.
Azure Resource Manager
Also you can create Virtual Network rules using an ARM template. For example, the Service Bus template for creating Virtual Network rules looks like the following:
{
"$schema":"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion":"1.0.0.0",
"parameters":{
"namespaceName":{
"type":"string",
"metadata":{
"description":"Name of the namespace"
}
},
"vnetRuleName":{
"type":"string",
"metadata":{
"description":"Name of the Virtual Network rule"
}
},
"virtualNetworkSubnetId":{
"type":"string",
"metadata":{
"description":"subnet Azure Resource Manager ID"
}
}
},
"resources": [
{
"apiVersion": "2018-01-01-preview",
"name": "[concat(parameters('namespaceName'), '/', parameters('vnetRuleName'))]",
"type":"Microsoft.ServiceBus/namespaces/VirtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "[parameters('virtualNetworkSubnetId')]"
}
}
]
}
Next Steps
For additional information take a look at our documentation for https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-service-endpoints and https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-service-endpoints .
As a bonus, if you are interested in a feature that allows you to create private connections to your on-premises infrastructure check out https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-ip-filtering or https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-ip-filtering .
This blog was co-authored by Anitha Adusumilli , Principal Program Manager, Azure Networking and Sumeet Mittal, Program Manager, Azure Networking.
Azure Event Hubs, a highly reliable and easily scalable data streaming PaaS offering has been prolific this year with new features such as https://azure.microsoft.com/en-us/blog/azure-event-hubs-is-now-offering-support-for-availability-zones-in-preview/ and a big investment into Open Source with enabling https://azure.microsoft.com/en-us/blog/azure-event-hubs-for-kafka-ecosystems-in-public-preview/ . Azure Service Bus, a feature rich cloud messaging PaaS offering that also just offered support for https://azure.microsoft.com/en-us/blog/azure-service-bus-is-now-offering-support-for-availability-zones-in-preview/ has also been busy. Today, both services are announcing public preview of Virtual Network Service Endpoints.
This new feature adds to the security and control Azure customers have over their workload environments today. Now, traffic from your Virtual Network to your Premium Service Bus namespaces and Standard or Dedicated Azure Event Hubs namespaces can be kept secure from public Internet access and completely private on the Azure backbone network.
Azure Event Hubs and Service Bus are joining the growing list of https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview .
Important info
- Offered with Dedicated and Standard Event Hubs pricing plans as well as Premium Service Bus
- The feature is offered for free aside from the usual Event Hubs and Service Bus costs
- Available in all public Azure regions
Azure Portal
To enable this feature from the Azure portal you can visit the Virtual Networks blade, select or create the Virtual Network you want and then navigate to the Service endpoints section.
Then enable the Microsoft.EventHub service endpoint or the Microsoft.ServiceBus endpoint.
You can also create new virtual networks and virtual network rules from the Event Hubs or Service Bus namespace overview blades.
Azure Resource Manager
Also you can create Virtual Network rules using an ARM template. For example, the Service Bus template for creating Virtual Network rules looks like the following:
{
"$schema":"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
"contentVersion":"1.0.0.0",
"parameters":{
"namespaceName":{
"type":"string",
"metadata":{
"description":"Name of the namespace"
}
},
"vnetRuleName":{
"type":"string",
"metadata":{
"description":"Name of the Virtual Network rule"
}
},
"virtualNetworkSubnetId":{
"type":"string",
"metadata":{
"description":"subnet Azure Resource Manager ID"
}
}
},
"resources": [
{
"apiVersion": "2018-01-01-preview",
"name": "[concat(parameters('namespaceName'), '/', parameters('vnetRuleName'))]",
"type":"Microsoft.ServiceBus/namespaces/VirtualNetworkRules",
"properties": {
"virtualNetworkSubnetId": "[parameters('virtualNetworkSubnetId')]"
}
}
]
}
Next Steps
For additional information take a look at our documentation for https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-service-endpoints and https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-service-endpoints .
As a bonus, if you are interested in a feature that allows you to create private connections to your on-premises infrastructure check out https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-ip-filtering or https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-ip-filtering .
Updated Mar 15, 2019
Version 2.0JustinConway
Copper Contributor
Joined March 08, 2019
Messaging on Azure Blog
Follow this blog board to get notified when there's new activity