RethinkDB
RethinkDB
by RethinkDB

VERSION 2.4.0-beta

OS Ubuntu 18.04

Description

RethinkDB is the first open-source scalable database built for realtime applications. It exposes a new database access model -- instead of polling for changes, the developer can tell the database to continuously push updated query results to applications in realtime. RethinkDB allows developers to build scalable realtime apps in a fraction of the time with less effort.

Software Included

PackageVersionLicense
RethinkDB2.4.0-betaApache 2.0

Getting started after deploying RethinkDB

You'll need to configure your RethinkDB instance one time before using it:

  • Log in to your new Droplet via SSH:
    ssh root@your_server_ip
     
  • Configure which IP addresses to bind RethinkDB to in the conf file:
    nano /etc/rethinkdb/instances.d/rethinkdb.conf
     
  • Restart the RethinkDB service:
    service rethinkdb restart
     
  • Visit the web interface on the IP address you configured in rethinkdb.conf via your web browser

Note that RethinkDB is started with a default account with user admin with no password. You should secure your RethinkDB instance immediately

The best way to secure a RethinkDB cluster is to run it on a protected network (DigitalOcean Private IP and/or VPC), that doesn’t allow access from the outside world. However, this may not always be feasible. Some cloud deployments often require access from wide area networks.

There are two main methods RethinkDB provides for securing the cluster: TLS encryption for connections, and binding the ports the server uses to specific IP addresses to limit outside connections. To accept connections outside of localhost, you must set the address of local interfaces to listen on when accepting connections. Maybe all or an IP address, loopback addresses are enabled by default. To change this behavior set the bind config option in /etc/rethinkdb/instances.d/rethinkdb.conf to all or the IP address of your droplet.

Please visit https://rethinkdb.com/docs/security/#securing-the-web-interface for detailed instructions.

API Creation

In addition to creating a Droplet from the RethinkDB 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB RethinkDB Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.


  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"rethinkdb-18-04"}' \
      "https://api.digitalocean.com/v2/droplets"
      

Support Details

Supported By:RethinkDB
Support URL:https://spectrum.chat/rethinkdb

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material

Tutorials

DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn