Skip to content

Choosing Your Lambda Region

What is a lambdaRegion

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.

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:

javascript
lambdaRegion: "eu-central-1"
// or
lambdaRegion: "us-east-1"

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