Quickstart: Create an event hub using Azure portal

Azure Event Hubs is a Big Data streaming platform and event ingestion service, capable of receiving and processing millions of events per second. Event Hubs can process and store events, data, or telemetry produced by distributed software and devices. Data sent to an event hub can be transformed and stored using any real-time analytics provider or batching/storage adapters. For detailed overview of Event Hubs, see Event Hubs overview and Event Hubs features.

In this quickstart, you create an event hub using the Azure portal.

Prerequisites

To complete this quickstart, make sure that you have:

Create a resource group

A resource group is a logical collection of Azure resources. All resources are deployed and managed in a resource group. Do the following to create a resource group:

  1. Sign in to the Azure portal.
  2. In the left navigation, click Resource groups. Then click Add.

    Resource groups - Add button

  3. Type a unique name for the resource group. The system immediately checks to see if the name is available in the currently selected Azure subscription.

  4. In Subscription, click the name of the Azure subscription in which you want to create the resource group.

  5. Select a geographic location for the resource group.

  6. Click Create.

    Resource group - create

Create an Event Hubs namespace

An Event Hubs namespace provides a unique scoping container, referenced by its fully qualified domain name, in which you create one or more event hubs. To create a namespace in your resource group using the portal, do the following actions:

  1. In the Azure portal, and click Create a resource at the top left of the screen.

  2. Click Internet of Things, and then click Event Hubs.

  3. In Create namespace, enter a namespace name. The system immediately checks to see if the name is available.

    Create an event hub namespace

  4. After making sure the namespace name is available, choose the pricing tier (Basic or Standard). Also, choose an Azure subscription, resource group, and location in which to create the resource.

  5. Click Create to create the namespace. You may have to wait a few minutes for the system to fully provision the resources.

  6. Select Alerts, and then select the deployment with the same name as the name of event hub namespace.

    Resource group - alert from create

  7. Select your event hub namespace from the list of resources created in the deployment.

    Select namespace from the deployment

  8. On the Event Hubs Namespace page, select Shared access policies, and then click RootManageSharedAccessKey.

  9. Click the copy button to copy the RootManageSharedAccessKey connection string to the clipboard. Save this connection string in a temporary location, such as Notepad, to use later.

Create an event hub

To create an event hub within the namespace, do the following actions:

  1. On the Event Hubs Namespaces page, select click Event Hubs.

    Select Event Hubs from left menu

  2. At the top of the window, click + Event Hub.

    Add Event Hub - button

  3. Type a name for your event hub, then click Create.

    Create event hub

Congratulations! You have used the portal to create an Event Hubs namespace, and an event hub within that namespace.

Next steps

In this article, you created a resource group, an Event Hubs namespace, and an event hub. For step-by-step instructions to send events to (or) receive events from an event hub, see the following tutorials: