wilkux
wilkux

Reputation: 125

AWS Regions and Lambda

I have a lambda code in EU-WEST1 region. I want to use this lambda globaly. How am I supposed to do that? Should I invoke a lambda code in every region? Can I use lambda across regions?

Upvotes: 2

Views: 7451

Answers (1)

csviri
csviri

Reputation: 1229

It depends on you use case. What you exactly want to achieve.

According to this aws Lambda@Edge is designed to execute lambda on edge locations globally: https://aws.amazon.com/lambda/edge/

Otherwise lambda is bound to a region, so you would have to deploy it to multiple region. see also:

  1. Building a Multi-region Serverless Application with Amazon API Gateway and AWS Lambda | AWS Compute Blog
  2. Deploying AWS Lambda layers automatically across multiple Regions | AWS Compute Blog

It is possible to invoke lambda across regions, see: Invoke an AWS lambda across regions

Hope it helps :)

Upvotes: 5

Related Questions