4 ms·
I was looking into using lambda functions called in response to an S3 event. Specifically, I wanted to create a record in my SQL database after a file is upload
by Skywing 11y ago
I was looking into using lambda functions called in response to an S3 event. Specifically, I wanted to create a record in my SQL database after a file is uploaded to S3. Users are uploading directly to S3 using pre-signed requests, so I needed some way to step in and create a database record after they actually perform the upload to S3. S3 supports this via several methods, one of which is the lambda functions, but when looking into lambda functions there was no way to have the code access my SQL database internally, I would have had to make my SQL database open to the world. I didn't find any IAM rules etc to enable lambda functions to access my SQL database resources. I'd be curious to see how this is handled by this JAWS work flow.
- cddotdotslash 11y agoI've also needed to have Lambda functions access databases on an RDS instance within a VPC and haven't been able to do so without opening the database up to everyone. Seems like a feature they should think of adding soon.