mLab is now available in all AWS regions

We’re excited to announce that we now support all fourteen Amazon Web Services (AWS) Elastic Compute Cloud (EC2) regions. Most notably, we have recently added support for the Frankfurt, Mumbai, and Seoul regions. Our users can now deploy both their database and application infrastructure to any AWS region and achieve the lowest latency and best […]

Full Article

New mLab Slow Query Analyzer Features

Our customers have consistently told us through our ticketing system and in interviews that one of the most useful resources for identifying performance problems is our Slow Query Analyzer. We originally developed this feature because of how important indexing is for good performance in MongoDB. For each query that takes longer than 100ms, our Slow […]

Full Article

MongoDB connection pooling for Express applications

Express is the most popular Node.js web framework and the fourth most depended-upon package on the NPM registry. As a result of its popularity, there are an abundance of tutorials and examples for getting started with new Express apps – we too have created a “getting started” MEAN stack tutorial for the Heroku DevCenter. However, […]

Full Article

Encryption at rest is now available on AWS and Google

We are excited to announce the availability of encryption at rest for mLab Dedicated plans on AWS and Google Cloud Platform. Encryption at rest provides a layer of protection against unauthorized access to sensitive data, especially attacks directed at the physical devices on which the data is stored. This opt-in feature allows users to encrypt […]

Full Article

Using MongoDB $indexStats to identify and remove unused indexes

Proper indexing is critical to database performance. A single unindexed query is enough to cause significant performance degradation. It is relatively easy to spot a missing index using mLab’s Slow Query Analyzer, but the tool doesn’t provide an obvious way to identify and remove indexes that aren’t actually being used…

Full Article

Recent MongoDB ransom attacks

Many of you have likely heard that an estimated 27,000 MongoDB databases have had their data removed and held at ransom by hackers. We have received many questions about the news and wanted to discuss and share MongoDB security best practices to prevent future incidents. All database deployments hosted at mLab are safe from such […]

Full Article

Configuring a MongoDB replica set for analytics

MongoDB replica sets make it easy for developers to ensure high availability for their database deployments. A common replica set configuration is composed of three member nodes: two data-bearing nodes and one arbiter node. With two electable, data-bearing nodes, users are protected from scenarios that cause downtime for single-node deployments, such as maintenance events and […]

Full Article

MongoDB tips & tricks: Collection-level access control

As your database or project grows, you may be tasked with configuring access controls to allow different stakeholders access to the database. Rather than create a new user with full database privileges, it may be more appropriate to create a user that only has access to the data or collections they need. This allows users […]

Full Article

Counting Down the Parse Migration

On January 28, 2017 Parse will be fully retired. To help with the transition, mLab has published a comprehensive guide to migrating Parse data onto an mLab-hosted MongoDB database. This guide aims to help existing Parse customers by highlighting migration best practices and addressing commonly asked questions that we’ve handled migrating over 8600 applications to […]

Full Article

Introducing mLab Private Environments

Today we are excited to announce the private beta of mLab Private Environments. mLab Private Environments are virtual private networks you can provision to house your various database deployments hosted with mLab. These private networks isolate your database from public networks while allowing your application infrastructure secure access to your database deployments. With Private Environments, […]

Full Article