Datastream lets you stream change data capture (CDC) updates from a
MongoDB-compatible database to a [supported
destination](https://docs.cloud.google.com/datastream/docs/destinations), such as BigQuery or
Cloud Storage. Depending on your deployment type, you prepare your source by
configuring change streams, database user privileges, and network connectivity.

## Supported databases

Datastream works with the following types of MongoDB databases:

- MongoDB Atlas
- Self-managed MongoDB
- Amazon DocumentDB (instance-based)
- Azure DocumentDB (formerly Azure Cosmos DB for MongoDB (vCore-based))

## What's next

- Learn how to configure a MongoDB Atlas instance using the [IP allowlists connectivity method](https://docs.cloud.google.com/datastream/docs/configure-mongodb-atlas-ip-allowlists).
- Learn how to configure a MongoDB Atlas instance using the [Private Service Connect interfaces connectivity method](https://docs.cloud.google.com/datastream/docs/configure-mongodb-atlas-psc).
- Learn how to configure a MongoDB Atlas instance using the [VPC peering connectivity method](https://docs.cloud.google.com/datastream/docs/configure-mongodb-atlas-vpc-peering).
- Learn how to configure a [self-managed MongoDB instance](https://docs.cloud.google.com/datastream/docs/configure-self-managed-mongodb).
- Learn how to configure an [Amazon DocumentDB database](https://docs.cloud.google.com/datastream/docs/configure-amazon-documentdb).