I'm using Lambda function that uses third-party API in NodeJS. The problem is that there is a request limit which is limited to one request per second per IP.
Since Lambda function uses same IP address (most of the time) this will cause a timeout request if there are more users using it.
I'm wondering if there is a way to solve this issue by making the request coming from user's IP instead of Lambda's IP?
No you cannot do that. As the request to 3rd party API is originating from Lambda the source IP to the 3rd party API would always be the IP where Lambda is hosted.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments