How to setup ArangoDB on DigitalOcean with Docker in < 2 minutes

Johannes Linowski
Mar 10, 2017 · 2 min read

ArangoDB is an interesting young database, which combines three popular data models: documents, graphs and key-value stores. Some other features like database-side scripting endpoints are very interesting too. Give it a try! Let’s kickstart the setup and deploy a ready ArangoDB setup on DigitalOcean with docker.

Image for post
Image for post

Mediums forecast of reading this article is 2 minutes. You can setup ArangoDB within this time too! In fact, you only have to click about 5 times and execute 3 commands.

1. Create DigitalOcean Droplet with Docker

Register/Log-in to DigitalOcean and create a new droplet with docker preinstalled:

“Create Droplet” -> “One-click Apps” -> “Docker 17.03.0-ce on 16.04
The versions might differ.

Choose your preferred settings (size, region etc.) and add an SSH key to access the droplet afterwards.

2. Install & start ArangoDB

Just connect to your droplet (use your droplets IP and the SSH key)..

.. and execute one single command (choose your custom password instead of ha2WF4qdHc):

The command does certain things:

  • It downloads the newest ArangoDB docker image (because it is not yet available on the droplet).
  • It installs the ArangeDB docker image, creates a root user with the given password and starts the container.
  • It makes sure that the ArangoDB port 8529 is accessible from outside the docker container.

3. Open it for the world

Now, wo just have to open the port of the droplet to access the database from the “open” internet:

Ready to create great apps with ArangoDB!

The database endpoint is ready for queries!

You can create databases, users, permissions and many more from the built-in ArangoDB interface. Just use the IP of your droplet and the default ArangoDB-Port 8529.

Have fun!

NinjaConcept

Hi!

Johannes Linowski

Written by

CTO at Foodly www.getfoodly.com | FullStack-WebDeveloper from Germany/Karlsruhe. In ♥ with NodeJS, React, ReactNative, MongoDB, Docker, NextJS..

NinjaConcept

Hi! We’re NinjaConcept, a web consultancy with leading-edge development skills and a passion for outstanding user experience design.

Johannes Linowski

Written by

CTO at Foodly www.getfoodly.com | FullStack-WebDeveloper from Germany/Karlsruhe. In ♥ with NodeJS, React, ReactNative, MongoDB, Docker, NextJS..

NinjaConcept

Hi! We’re NinjaConcept, a web consultancy with leading-edge development skills and a passion for outstanding user experience design.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store