Blog

Logical databases for Scalingo MongoDB

Chargement...

10 min read

Logical databases for Scalingo MongoDB

We’ve added the possibility to create and drop logical databases on your MongoDB instances.

How Scalingo makes migrating from Heroku easy

We are pleased to announce some improvements to Scalingo MongoDB, our MongoDB as a Service offer. We've added the possibility to create and drop logical databases on your MongoDB instances.

Multiple Databases

Some of you needed a way to add multiple databases to a single database instance. That's what we added in the "Databases" tab of your dashboard:



Scalingo MongoDB multiple databases tab



You can now add and drop any number of databases. The default database cannot be dropped but we added a button to let you empty it. When adding a new database, we automatically update the rights of the existing database users you created.

Of course you can also perform these actions with our Database API.

Use Cases

This new functionality will make it easier to deploy multi-tenant MongoDB backed applications on Scalingo.

If you're building a SaaS application you could for example create one logical database per customer. In that case the data of each customer would be segregated into their own logical database. Each customer dataset will be separated from each other by a mechanism provided by your database of choice. Of course you will certainly need one "main" database to store the list of customers and the name of the logical database that owns their data.

Photo by Riski Andriansyah on Unsplash

Yann Klis

Yann Klis co-founded Scalingo. Scalingo's vision is to offer a european sovereign cloud housting platform for developers. Today Scalingo hosts thousands of web applications from customers located all over the world. Before that Yann founded Novelys a web studio specialised in Ruby on Rails technology.

Stay Updated

Get articles and platform updates in your inbox.

Ready to Deploy with Confidence?

Experience zero-downtime deployments, intelligent auto-scaling, and fully managed infrastructure. Start deploying your applications on Scalingo today.

No credit card required • Deploy in minutes • Cancel anytime

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.