メインコンテンツまでスキップ

Extend Databases

Last updated on May 19, 2026

Overview

Extend Databases provides serverless database solutions for Extend Apps deployed on AGS. All database types are fully serverless — there are no servers to provision or maintain. You select a profile to configure capacity, attach the database to your Extend App, and connect using automatically injected environment variables.

The following database types are available or coming soon:

All database types integrate with Extend TCP Tunneling so you can connect directly from a local development environment.

Choosing a Database Type

Extend NoSQL DatabaseExtend SQL DatabaseExtend Key Value Store
TypeServerlessServerlessServerless
Underlying serviceAmazon DocumentDB (MongoDB-compatible)Amazon Aurora PostgreSQLAWS ElastiCache Valkey
Data modelDocument (JSON-like)Relational (tables, rows)Key-value (in-memory)
SchemaFlexible — no fixed schemaStructured — defined schema with migrationsSchema-free
ACID complianceNo (limited transaction support)Yes (full ACID transactions)No
DriverMongoDB v2 driverpgx PostgreSQL driverRedis-compatible driver
Connection env varsDOCDB_HOST, DOCDB_DATABASE_NAME, DOCDB_USERNAME, DOCDB_PASSWORDSQLDB_HOST, SQLDB_DATABASE_NAME, SQLDB_USERNAME, SQLDB_PASSWORDREDIS_HOST, REDIS_PORT, REDIS_USERNAME, REDIS_PASSWORD
TLS cert env varDOCDB_CA_CERT_FILE_PATHSQLDB_CA_CERT_FILE_PATHN/A — enable TLS in client (TLSConfig)
AvailabilityClosed alphaClosed alphaClosed alpha

Choose Extend NoSQL Database when:

  • Your data is document-shaped or has a variable, evolving schema
  • You need MongoDB compatibility for existing code or tooling
  • You are building features like player profiles, game state, or inventory with nested structures

Choose Extend SQL Database when:

  • Your data is relational with well-defined relationships between entities
  • You need full ACID transactions (e.g., economy systems, leaderboards, order processing)
  • You prefer working with SQL and standard PostgreSQL tooling

Choose Extend Key Value Store when:

  • You need sub-millisecond read/write latency
  • You are building caching layers, session storage, rate limiting, or real-time leaderboards
  • Your access pattern is simple key lookups rather than complex queries

Cluster Lifecycle

All database types follow the same cluster lifecycle managed at the Publisher or Studio namespace level:

  1. Provision — create a cluster by selecting a database profile (size)
  2. Attach — connect the cluster to one or more Extend Apps at the Game namespace level
  3. Update — change the database profile to scale the cluster up or down
  4. Delete — remove the cluster when it is no longer needed (only when Available)

Provisioning and updates take a few minutes. The cluster must be in Available status before you can attach a database to an Extend App or connect via TCP tunneling.

Observability

All database types include a Grafana dashboard accessible from the Admin Portal. The dashboard shows CPU utilization, latency, IOPS, and connection metrics for your cluster.