During the last weeks we’ve released our new deployment tool for cloud computing platforms with how-to’s for Google Compute Engine, Digital Ocean and Amazon Web Services support.

Today we show how to deploy an ArangoDB cluster on Azure with a single command.


To easy-deploy an ArangoDB cluster on Azure you just need to install the official azure-cli, download a single bash script and watch the tool take care of the rest for you. Your azure account needs permission for creating instances, adding ssh-keypairs and managing virtual networks.

Azure CLI Settings:

The script needs the azure-cli installed and configured. You can skip this part if azure-cli is already installed and fully configured. Otherwise please follow these steps:

Install npm (skip if npm already is installed):

Install azure-cli (skip if azure-cli already is installed) :

Then authorize with azure-cli (skip if azure-cli already is installed AND configured):

There are two ways in order to authenticate:

a) Login via publish settings file

Then launch the browser with the given url (example: http://go.microsoft.com/fwlink/?LinkId=12345). After a successful login, a file with your credentials will be downloaded. In the next step, import the file to your azure-cli.


b) Login via organizational account (if available)

ArangoDB Script:

Create an ArangoDB cluster on Azure:

When the script is finished, you’ll get a screen with all the info you need to be able to work with the cluster.

Also this will create a directory called ./azure that contains information about the cluster. You can easily get rid of the cluster as well as of the virtual machines by doing

Feel free to try it out! See below for information on how to configure things.

Some background information for the curious

This script will use the azure-cli authentication for Azure to deploy a number of VM instances running CoreOS. If you do not already have one, it will first create a SSH keypair for you and deploy it to Azure and your ssh-agent. Once the machines are running, the script uses Docker images to start up all components of an ArangoDB cluster and link them to each other. In the end, it will print out access information.

No installation of ArangoDB is needed neither on the VM instances nor on your machine. All deployment issues are taken care of by Docker. You can simply sit back and enjoy.

The whole process will take a few minutes and will print out some status reports.

Some switches to configure a few things

Use the -h switch to get this help page.

Optional prerequisites The following environment variables are used:

  • SIZE : size/machine-type of the instance (e.g. -m Medium)
  • NUMBER : count of machines to create (e.g. -n 3)
  • OUTPUT : local output log folder (e.g. -d /my/directory)
  • ZONE : site of the server (e.g. -z “US West”)

Discover more about ArangoDB

Want to learn more about the possibilities of ArangoDB?

Take a look at our Documentation, Tutorials and Cookbook recipes.