Deploying AWS Lambda to multiple regions?
Asked Answered
C

2

7

Quick one.

What does it look like when you’ve got one lambda deployed in multiple regions? Is it just 2 separate copies of the same code with a different name, different ARN etc?

does AWS view them as unrelated lambdas?

Or does it know they’re the same thing deployed in different regions?

Christian answered 24/4, 2018 at 13:8 Comment(1)
To the best of my knowledge, you cannot have one Lambda function deployed in multiple regions. If you deployed a piece of code to multiple regions then you've got multiple Lambda functions, not one. They might have the same source code but they're not the same Lambda function.Wonderstricken
E
12

Two lambda will be treated as separate entities. Sample ARN of lambda

arn:aws:lambda:region:account-id:function:function-name

Ethelred answered 24/4, 2018 at 13:53 Comment(0)
D
0

AWS does condsider them separate, though the code might be the same. (Imagine college grads testing hello world with same code) You can still have them as an active-active setup or for fail-over. Refer this for more details.

Devlin answered 4/11, 2020 at 16:8 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.