Cloud Blog: Announcing general availability of Firestore with MongoDB compatibility

Source URL: https://cloud.google.com/blog/products/databases/firestore-with-mongodb-compatibility-is-now-ga/
Source: Cloud Blog
Title: Announcing general availability of Firestore with MongoDB compatibility

Feedly Summary: At Cloud Next ’25, we announced the preview of Firestore with MongoDB compatibility, empowering developers to build cost-effective, scalable, and highly reliable apps on Firestore’s serverless database using a familiar MongoDB-compatible API. Today, we’re announcing that Firestore with MongoDB compatibility is now generally available.
With this launch, the 600,000 active developers within the Firestore community can now use existing MongoDB application code, drivers, and tools, as well as the open-source ecosystem of MongoDB integrations with Firestore’s distinguished serverless service. Firestore provides benefits such as multi-region replication with strong consistency, virtually unlimited scalability, industry-leading high availability with an up to 99.999% SLA, single-digit milliseconds read performance, integrated Google Cloud governance, and a cost-effective pay-as-you-go pricing model. 
Firestore with MongoDB compatibility is attracting significant customer interest from diverse industries, including financial services, healthcare, retail, and manufacturing. We’re grateful for the engagement and opportunity this afforded to prioritize features that enable key customer use cases. For instance, a prominent online retail company sought to migrate their product catalog from another document database to Firestore with MongoDB compatibility to maximize scalability and availability. To support this migration, the customer maximized new capabilities like unique indexes to guarantee distinct universal product identifiers. The customer is excited to migrate their production traffic to Firestore with MongoDB compatibility now that it’s generally available.
You can learn more about how to get started at our Firestore with MongoDB compatibility page.

aside_block
), (‘btn_text’, ”), (‘href’, ”), (‘image’, None)])]>

What’s new in Firestore with MongoDB compatibility
Based on direct customer feedback during the preview, we introduced new capabilities to Firestore with MongoDB compatibility, including expanded support for the Firestore with MongoDB compatibility API, enhanced enterprise readiness, and access from both Firebase and Google Cloud. Let’s take a closer look. 
1. Expanded support for Firestore with MongoDB compatibility API and query language
Firestore with MongoDB compatibility API and query language now supports over 200 capabilities. Developers can now create richer applications by leveraging new stages and operators that enable joining data across collections, data analysis within buckets, and advanced querying capabilities including arrays, sets, arithmetic, type conversion, and bitwise operations. We also added support for creating indexes directly from the Firestore with MongoDB compatibility API, including the ability to create unique indexes that ensure distinct field values across documents within a collection. Furthermore, the Firestore Studio console editor now features a new JSON viewer and a data export tool. You can find a comprehensive list of Firestore with MongoDB compatibility capabilities in the documentation.

Utilize the MongoDB Query Language (MQL) to run queries like pinpointing optimal wishlist purchase conversions, using new operators and stages such as $setIntersection and $lookup.

2. Built for the enterprise
We have built Firestore with MongoDB compatibility to meet the needs of the enterprise, including new disaster recovery, change data capture, security, and observability features.
For disaster recovery, we’ve integrated Point-in-Time Recovery (PITR) to complement existing scheduled backups. This helps you recover from human errors, such as accidental data deletion, by enabling version control to rollback back at any point in time from the past seven days. We’ve also introduced database clones, allowing you to create an isolated copy of your database for staging, development, or analytics from any point-in-time recovery snapshot. Furthermore, we’ve incorporated managed export and import, enabling you to create a portable copy of your Firestore data in Cloud Storage for archival and other regulatory purposes.

Firestore offers multiple, easy-to-use, disaster recovery options including point-in-time recovery and scheduled backups.

For change data capture, trigger support has been added, enabling the configuration of server-side code to respond to document creation, updates, or deletions within your collections. This facilitates the replication of Firestore data changes to other services, such as BigQuery.
Regarding security, Private Google Access has been implemented, providing secure access from in-perimeter Google Cloud services with a private IP address, to a Firestore with MongoDB compatibility database. This connection option is available with no additional cost.
In terms of observability, Firestore with MongoDB compatibility now supports new metrics within a Firestore usage page. This simplifies the identification of MongoDB compatibility API calls that contribute to cost and traffic. This observability feature augments existing capabilities like query explain and query insights to help optimize usage.
3. Broader accessibility through Firebase in addition to Google Cloud
Finally, you can now access Firestore with MongoDB compatibility alongside all of your favorite developer services in Firebase, as well as in Google Cloud. This means you can manage Firestore with MongoDB compatibility from both the Firebase and Google Cloud consoles, and their respective command-line interfaces (CLI).

Create, manage and query your Firestore with MongoDB compatibility database using the Firebase Console.

We’re thrilled to see what you’ll be able to achieve using Firestore with MongoDB compatibility. Get started today with Firestore with MongoDB compatibility—now generally available as part of Firestore Enterprise edition. To get started, create a new Firestore Enterprise edition database with MongoDB compatibility. There are no upfront fees and a free tier is available for all Firestore customers.

Create your Firestore with MongoDB compatibility database today!

AI Summary and Description: Yes

**Summary:** The text announces the general availability of Firestore with MongoDB compatibility, a significant development for developers seeking to build scalable and reliable applications. This new feature allows the use of familiar MongoDB tools and APIs within Firestore’s serverless environment, catering to diverse industries and highlighting essential features like security, disaster recovery, and performance metrics.

**Detailed Description:**

The announcement from Cloud Next ’25 reveals that Firestore now supports MongoDB compatibility, providing an advanced platform for developers to build applications with ease and scalability. Key points include:

– **General Availability of Firestore with MongoDB Compatibility:** This feature enables developers to utilize existing MongoDB application code and tools, making the transition to Firestore smoother and more efficient.

– **Performance and Scalability:**
– **Multi-Region Replication:** Ensures strong consistency and virtually unlimited scalability.
– **High Availability:** Offers an industry-leading SLA of up to 99.999%, making it suitable for critical applications.
– **Cost-Effectiveness:** Features a pay-as-you-go pricing model, appealing to startups and enterprises alike.

– **Expansion of Functionality:**
– **Support for Over 200 Capabilities** in the MongoDB compatibility API allows developers to perform advanced data querying and operations.
– New features like **unique indexes**, which ensure distinct data entries across collections, enhance application reliability.

– **Enterprise Readiness and Features:**
– **Disaster Recovery Enhancements:** Integrates Point-in-Time Recovery (PITR), allowing recovery from human errors and accidental deletions over seven days.
– **Change Data Capture:** New trigger support allows for scalable data replication to services like BigQuery, improving data handling efficiency.
– **Security Upgrades:** Implementation of Private Google Access provides secure database connections, enhancing overall security measures.

– **Observability and Monitoring:** New metrics within the Firestore usage page simplify performance tracking and cost management based on MongoDB API calls, optimizing data usage.

– **Access through Firebase and Google Cloud:** This feature broadens accessibility for developers using either platform, facilitating easier management of their applications.

Given these advancements, Firestore with MongoDB compatibility is of great relevance to security professionals focusing on data management, application performance, and enterprise governance. The features introduced not only enhance operational efficiency but also ensure adherence to security protocols and regulatory requirements.

Overall, this announcement marks a pivotal shift for developers and organizations looking to leverage cloud solutions in a competitive market, proving invaluable for those in infrastructure, security, and compliance disciplines.