By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Multiple URLs For Each Lambda Fn Vs Single URL For Multiple API Fn

0

For a scalable application consist of many API function and middleware, Could you please help me in deciding between creating multiple URLs for individual AWS Lambda functions or using a single URL for multiple API functions, which one is the best practice?

1 Answer
3
Accepted Answer

Hi,

Please, read in details: https://aws.amazon.com/blogs/compute/best-practices-for-organizing-larger-serverless-applications/

It has an entire section on your specific question: its emphasis on the use of API Gateway as a proxy to Lambda(s) makes your question simpler to answer.

You may also want to look at https://www.youtube.com/watch?v=sdCA0Y7QDrM to understand the serveless best practices from AWS perspective

Best,

Didier

profile pictureAWS
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 2 months ago
profile picture
EXPERT
reviewed 3 months ago
  • Thanks a lot for the references :)

  • Glad that it helped. Thanks for accepting my answer!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions