Menu
MongoDB Blog·December 1, 2026

Integrating MongoDB Atlas with AWS for AI Retrieval Workloads

This article discusses the new availability of MongoDB Atlas embedding and reranking services directly on AWS, enabling AI retrieval stacks to run within the AWS ecosystem. It highlights how this integration simplifies deployment, billing, and management for developers already using AWS, allowing inference to occur alongside Atlas clusters.

Read original on MongoDB Blog

MongoDB Atlas now offers embedding and reranking inference capabilities for AI retrieval stacks directly on Amazon Web Services (AWS). This integration allows organizations to perform vector embeddings and reranking inference with Voyage AI models within their existing AWS infrastructure, addressing common architectural challenges related to data locality, vendor management, and cost optimization.

Architectural Benefits of Cloud-Scoped Inference

By enabling inference to run within AWS, MongoDB Atlas helps minimize data egress costs and latency, as data doesn't need to leave the AWS environment for embedding and reranking. This is a critical consideration for performance-sensitive AI applications and large datasets. It also simplifies compliance requirements by keeping data processing within a single cloud provider.

ℹ️

Co-location for AI Workloads

Keeping AI inference workloads co-located with your primary data store (MongoDB Atlas) and application infrastructure (AWS) is a key strategy for optimizing performance, reducing operational complexity, and managing costs in cloud-native system designs.

Deployment and Management Options

  • Direct API Call with AWS-scoped Key: Developers can explicitly configure Model API Keys in MongoDB Atlas to scope inference to AWS, directing requests to `aws.ai.mongodb.com`. This provides fine-grained control over where inference occurs.
  • Automated Embedding in Atlas Vector Search: For a more managed approach, users can enable Automated Embedding and set the inference option to AWS within their Vector Search configuration. MongoDB Atlas handles the inference process on AWS during document ingestion and querying, eliminating the need to manage separate embedding pipelines, API keys, or endpoints.

These options cater to different operational preferences, from direct control for advanced users to a fully managed experience for those prioritizing simplicity. The ability to update the inference cloud provider after index creation offers architectural flexibility without requiring application code changes.

Cost and Billing Integration

For organizations with existing AWS commitments, using Atlas through AWS Marketplace allows inference usage on the AWS data plane to draw down committed spend. This streamlines procurement and financial management, consolidating AI retrieval costs within the established AWS billing relationship.

MongoDB AtlasAWSVector SearchEmbeddingRerankingAI InfrastructureCloud IntegrationData Locality

Comments

Loading comments...