Deploying AWS Lambda to multiple regions?

3.7k Views Asked by At

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?

2

There are 2 best solutions below

0
cerberus On BEST ANSWER

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

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

0
Patrick On

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.