Cloud Infrastructure > Database Setups
Database Setups
Learn about DynamoDB-only and DynamoDB + OpenSearch database configurations.
- What database configurations Webiny supports
- When to use DynamoDB-only vs DynamoDB + OpenSearch
- How to choose the right setup for your environments
Overview
Webiny supports two database configurations:
Amazon DynamoDB Only
Recommended for small to medium projects and prototypes. All data is stored in DynamoDB tables.
Amazon DynamoDB + Amazon OpenSearch
Recommended for larger and enterprise projects. DynamoDB serves as the primary database, while OpenSearch provides advanced search and filtering capabilities for content.
Changing Database Setups
Once you deploy to an environment with a specific database setup, it cannot be changed. You can only adjust the database configuration when deploying to a brand new environment.
For flexibility and cost savings, developers often use DynamoDB-only in their dev environments, then switch to DynamoDB + OpenSearch for staging and production environments.
The diagrams in upcoming sections show the DynamoDB + OpenSearch setup. For DynamoDB-only setups, the architecture is identical except OpenSearch is not deployed.