WHAT YOU'LL LEARN
  • How Webiny applications are deployed to AWS
  • The difference between development and production deployment modes
  • Available database setup options

Overview
anchor

Webiny deploys to Amazon Web Services (AWS) as a serverless application. The infrastructure consists of three main applications:

  1. Core - Stateful resources (DynamoDB, S3, Cognito, EventBridge, OpenSearch)
  2. API - GraphQL HTTP API deployed as AWS Lambda functions
  3. 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
anchor

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.

Architecture Diagrams

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
anchor

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 prod environment
  • 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
Admin Application

The Admin application does not have deployment modes. It uses the same infrastructure configuration across all environments.

Custom VPC
anchor

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.