MongoDB Atlas App Services

MongoDB Atlas App Services — Full Platform Reference

CRITICAL STATUS NOTE (as of May 2026): Atlas App Services reached a split end-of-life on September 30, 2025.

Authentication Providers

Provider Type ID Status (2026)
Anonymous anon-user Active
Email/Password local-userpass EOL (Sep 30 2025)
API Key api-key Active
Google/Facebook/Apple OAuth2 oauth2-* EOL
Custom JWT custom-token EOL
Custom Function custom-function EOL

Key Auth Notes

Rules and Permissions Engine

Permissions are defined per-collection. Role evaluation: first matching role wins (role order matters). If no role matches, the operation is denied entirely. System functions bypass all rules.

Variables: %%user.id, %%user.custom_data.<field>, %%root.<field>, %%environment.values.<name>

Schema Validation

App Services schemas are JSON Schema (draft 4 + BSON extensions). Validates every write after the operation is computed but before commit. Key differences from mongod $jsonSchema: App Services validates post-operation; system functions bypass App Services schema.

Atlas GraphQL API (DEPRECATED — EOL March 5, 2025)

Migration: Hasura on MongoDB or Apollo Server + driver.

Atlas Data API (DEPRECATED — EOL September 30, 2025)

Migration paths: MongoDB driver + Express/FastAPI/Spring Boot, cloud functions (Lambda, Azure, GCR), or Delbridge Data API (open source drop-in).

Custom HTTPS Endpoints (DEPRECATED — EOL September 30, 2025)

Migration: AWS Lambda, Azure Functions, Google Cloud Run, or Vercel serverless functions + MongoDB driver.

Values and Secrets

App Services Deployment

Methods: UI (immediate), CLI (appservices push/pull), GitHub auto-deploy (any push triggers deployment), Admin API.

Billing Model (Still relevant for Triggers)

Free tier per project: 1M requests/month, 500 compute hours, 10 GB data transfer. Trigger invocations count as requests.

Migration Reference (Post-EOL)

Feature EOL Date Recommended Replacement
Atlas Data API Sep 30, 2025 MongoDB driver + cloud functions
Atlas GraphQL API Mar 5, 2025 Hasura, Apollo Server + driver
Custom HTTPS Endpoints Sep 30, 2025 Cloud functions
Atlas Device Sync Sep 30, 2025 Custom sync layer

Anti-Patterns

References

  1. Atlas App Services Documentation
  2. Data API and HTTPS Endpoints Deprecation
  3. Atlas Device Sync EOL Forum Post