Accessing Compose’s Database-as-a-Service

Come along for a ride on the Grand Tour

--

If you’ve been looking for a fully managed database-as-a-service provider for etcd, Elasticsearch, JanusGraph, MongoDB, MySQL, PostgreSQL, RabbitMQ, Redis, RethinkDB, and ScyllaDB, you might have come across Compose.

Supporting deployments to AWS, Google Cloud and IBM Cloud data centers across the world, it’s easy to spin up an instance of your favorite open source database in the cloud within minutes.

Here at the Data Lab, we’ve been using the Compose services for quite some time and one question has come up frequently: how do I access <insert database-of-the-day> using <insert-programming-language-of-the-day>? I’ve found that a good starting point is their Grand Tour.

Take the Compose DBaaS programming tour. Map created using https://azgaar.github.io/Fantasy-Map-Generator/

The tour reports outline how to connect to and utilize their managed databases using a simple web application implemented in Node.js, Python and Go. Work is on the way for PHP and Ruby, and rumor has it that a Java tour might be offered in the future.

To take the tour, head on over to https://github.com/compose-grandtour or use one of the shortcuts below. (Note that not all tour reports have been published yet.)

If you have hands-on experience using one or more of the services and want to be a trailblazer (for instance, implement a missing sample app for a particular programming language), please submit a PR.

Grand tour for Node.js developers

The Node.js tour implements the sample application using the Express web framework for:

Grand tour for Python developers

The Python tour implements the sample application using Python 3.x and the Flask web framework for:

Grand tour for Go developers

The Go tour implements the sample application for:

Grand tour for PHP developers

The PHP tour implements the sample application using PHP 7 for:

Grand tour for Ruby developers

The Ruby tour implements the sample application for:

Enjoy the ride!

The Grand Tour: California edition

--

--