ArangoDB on AWS EC2 Linux Instance
I recently worked on a project that involved testing various databases and horizontal scaling architecture. One of the databases was Postgres and the other Arango. Although Postgres is available as an Amazon-Linux-Extra and easily installed, Arango is not. So if you stumble across this article, here are the consolidated steps for installing Arango on your Linux instance.
1. Prepare your instance to allow 3rd party packages:
source:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
2. Install Arango using yum package manager:
source:
sudo cd /etc/yum.repos.d/
sudo curl -OL https://download.arangodb.com/arangodb36/RPM/arangodb.repo
sudo yum -y install arangodb3–3.6.5–1.0
3. Secure your installation
sudo arango-secure-installation
4. Start your database server
sudo arangod — server.endpoint http+tcp://172.??.??.??:8529 (internal ip)
The internal ip can be found on your EC2 instance page.