Infrastructure
Overview
Overview of Webiny's cloud infrastructure and deployment options.
- How Webiny applications are deployed to AWS
- The difference between development and production deployment modes
- Available database setup options
Overview
Webiny deploys to Amazon Web Services (AWS) as a serverless application. The infrastructure consists of three main applications:
- Core - Stateful resources (DynamoDB, S3, Cognito, EventBridge, OpenSearch)
- API - GraphQL HTTP API deployed as AWS Lambda functions
- Admin - Admin area deployed as a static React application
Core application provides the foundational services that both API and Admin applications rely on, including databases, file storage, authentication, and event messaging.
Database Setup Options
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.
The diagrams in upcoming sections show the DynamoDB + OpenSearch setup. For DynamoDB-only setups, the architecture is identical except OpenSearch is not deployed.
Deployment Modes
The API application supports two deployment modes:
Development Mode
- Default for all environments except
prod - Simplified infrastructure for faster deployments
- Lambda functions deployed without VPC
- OpenSearch deployed in single availability zone
Production Mode
- Automatically used for
prodenvironment - Enhanced security and high availability
- Lambda functions deployed inside custom VPC with private subnets across three availability zones
- OpenSearch deployed with three data nodes across three availability zones
- Additional security controls and monitoring
The Admin application does not have deployment modes. It uses the same infrastructure configuration across all environments.
Custom VPC
By default, Webiny creates and manages its own VPC for production deployments. For enterprise use cases, Webiny can be deployed into an existing VPC. Contact support for configuration details.