Amazon API Gateway for lambda for rds?

I am trying to get a mobile application for a postgres amazon rds instance. Link https://stackoverflow.com/questions/717468/... Mark said: "You should look at the API pointing gateway using the Lambda function, which has the ability to connect to your RDS database and run queries." So I would like to set this approach using this link: http://docs.aws.amazon.com/lambda/latest/dg/vpc-rds.html and then using api gateway to point to this lambda function? Then could any mobile client with credentials from cognito call this api? Is it right, and is this the best way? My worries are that since VPC is involved, only a small number of people will be able to use the lambda function.

+4
source share
1 answer

Yes, you could use the technique indicated in your link (this is exactly what I talked about in my other answer that you refer to), and then expose this Lambda function through the API gateway. This is (one of) the right ways to do this.

My worries are that since VPC is involved, only a small number of people will be able to use the lambda function.

I don’t understand what you are saying here. Why does using VPC limit the number of people who can use the Lambda feature?

+2
source

All Articles