Skip to content

Lambda Region

The lambdaRegion setting defines the AWS region where your serverless Lambda function will run. In other words, it tells your app where in the world the backend logic should execute.

Hosting your Lambda closer to your users reduces latency and improves performance. It can also help you better align with GDPR and other regional data regulations.

Choosing Your Region

Currently, you can choose from two geographical regions:

  • eu-central-1 for Europe region (specific location is Frankfurt, Germany)
  • us-east-1 for USA region (specific location is N. Virginia, USA)

To set which region you want to use, add one of the following options to TOPOL_OPTIONS:

ts
lambdaRegion: "eu-central-1" // "eu-central-1" | "us-east-1"

If no region is specified, the eu-central-1 region will be set by default.