Skip to main content

MongoDB Atlas

MongoDB Atlas is MongoDB's fully managed cloud database service, delivering the power of MongoDB across AWS, Google Cloud, and Azure with enterprise-grade security and global scalability.

Supported Versions and Architectures

  • Versions: MongoDB Atlas 5.x, 6.x, 7.x
  • Architectures: Replica sets, sharded clusters, serverless instances

Supported Data Types

CategoryData Types
Strings and CodeString, JavaScript, Symbol
Numeric TypesDouble, Int32, Int64, Decimal128
Document and ArrayDocument, Array
Binary and ObjectIdBinary, ObjectId
Boolean TypeBoolean
Date and TimestampDate, Timestamp
Special TypesMin Key, Max Key, Null

Quick Setup Guide

1. Configure Network Access

In MongoDB Atlas console:

  1. Navigate to Network Access
  2. Click ADD IP ADDRESS
  3. Add your XPipes Engine IP address (CIDR format)

2. Create Database User

  1. Go to Database Access
  2. Click ADD NEW DATABASE USER
  3. Choose authentication method and assign roles:
    • Source database: "Read any database" role
    • Target database: "Read and write any database" role

3. Get Connection String

  1. Navigate to DatabaseConnect
  2. Select Connect your application
  3. Copy the connection URI

Example connection string:

mongodb+srv://xpipes:password@cluster0.xxxxx.mongodb.net/your_database?retryWrites=true&w=majority
tip

Always specify the target database name in the connection string to avoid connection errors.

Connection Options

  • Direct connection: Standard connection with proper firewall rules
  • TLS/SSL tunnel: Connect through a secure tunnel for private networks

Limitations

  • URI-only connection: Atlas requires connection via URI format
  • Network access: Requires IP whitelisting for security
  • Database specification: Must specify target database in connection string