How to deploy Neo4j to Azure with Visual Studio 2012 - Upload Java and Neo4j to Azure

UPDATE 7/12/2013: This blog post series was created with Azure SDK 1.8. I spent a bit of time trying to upgrade it to Azure SDK 2.0 and ran into too many breaking changes and not enough motivation to figure them all out. I recommend following the steps in this post: “Point-Click Deployment of Neo4j to Windows Azure“ instead. Thanks, Jon

Part 0. How to deploy Neo4j to Azure using Visual Studio 2012 – Overview

Part 1. Create Azure Account and Prepare Azure for Neo4j Deployment

Part 2. Download the Azure SDK and Configure Azure in Visual Studio Server Explorer

Part 3. Download and Configure the Neo4j.Azure.Server Solution

Part 4. Upload Java and Neo4j to Azure

Part 5. Deploy Neo4j to Azure

<—Previous Step Next Step –>

Copy the Connection String to Program.cs

Get the Account Credentials by going back to Server Explorer, right click on Windows Azure Storage –> neo4j2 and select “Modify Storage Account”. Copy the “Preview connection string” to your clipboard.

Open Neo4jUploader—>Program.cs and paste the “Preview connection string” into the cloudStorageAccount Parse method.

Run Neo4jUploader and enter “1” to create the local blob container and enter “2” to create the Azure hosted blob container.

In Server Explorer, you will now see a new container called “neo4j” under Windows Azure Storage –> (Development)—>Blobs and neo4j2 –> Blobs

Double click neo4j and you’ll see that the JRE and Neo4j zip files are in it. You can double click the URL test initiate a download…just to test it out so you can be sure it is uploaded and you can download it, but not required.

You could also go to the Azure Portal to view the container (replace neo4j1 in the url with whatever you called your storage node)

At this point you won’t be able to download from a browser, but you can from within VS.

Alright, your Azure blob that has Java and Neo4j is ready. Move on to the next step…

<—Previous Step Next Step –>