Warning
You're browsing the documentation for an old version of Webiny. Consider upgrading your project to Webiny 5.40.x.
What you’ll learn
  • what are the two different deployment modes
  • why do we need different deployment modes

Overview
anchor

The Core and API project application can be deployed in two different deployment modes: development and production.

This is simply because, for development purposes, not all of the production cloud infrastructure resources are needed. For example, for improved security posture, the production mode will deploy all of your AWS Lambda functions into a custom Virtual Private Cloud (VPC)external link with private subnets. It will also deploy your Amazon Elastic Search Serviceexternal link into multiple availability zones (AZs), in order to provide high availability.

The Admin Area and Website project applications do not posses the ability to be deployed in development and production modes, as it’s not needed.

By default, the development mode is used when deploying into any environment, except prod. In that case, the production mode will be used.