Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 3.29 KB

getting_started.md

File metadata and controls

76 lines (47 loc) · 3.29 KB

Operating System

The scripts and techniques employed in this system are designed to run on Linux system (or build agent) or the Windows based WSL.

Use the Container

Rather than configure a system with all the detailed requirements, you can just build the Dockerfile in /cluster/Dockerfile.

Even if you don't decide to do this you can use that file as a reference for the commands to get the environemnt up and running.

  • Switch to /cluster.
  • docker build -t clusterbuilder .
  • docker run -it clusterbuilder bash to log in and start running!

Linux Software

Configure your machine or build environment

These instructions are geared towards Ubuntu.

Start with sudo apt-get update.

Azure Services

General Resource Group

In the azure portal create a new general resource group to hold durable resources. Where the cluster build scripts will create specially named resource groups - you'll need a resource group to hold things like the database, storage and Event Hubs.

Create a new resource group, name it something generic and meaningful.

Event Hubs

You'll need an Azure Event Hub to produce the input stream that is read by the Storm spout.

  • Create a new Event Hubs in the Azure Portal
  • Select Basic Pricing for a start
  • Add it to the general resource group you created
  • Create it in the same region as the first cluster (in the example it's Sydney)
  • Set the Throughput units to a low number. 1 should be find during development
  • Leave Auto-Inflate disabled to avoid any surprises in billing
  • Once created, navigate to the new Event Hub
  • Click on Event Hubs under ENTITIES sub-section and add a new Event Hub (Two Partitions, leave the rest default)
  • Once that's created, navgiate to the new Event Hub and click on Shared access policies
  • Add a new one called "reader"
  • Select the Listen checkbox and leave the other two blank, and copy out the primary key and the connection string for later usage