3 ms·
So do you proxy your calls from S3 to a serverless service? And do you handle cross origin calls via CORS? Just curious because I've never used serverless befor
by nigealj 8y ago
So do you proxy your calls from S3 to a serverless service? And do you handle cross origin calls via CORS? Just curious because I've never used serverless before.
- benmanns 8y agoYou can use JavaScript on the frontend to call a Lambda function that you 100% control (including CORS, etc). You can use this to do things like authentication, authorization, and rate limiting, as well, versus just giving open access to an internal datastore.
- jhabdas 8y agoI imagine Aurora has some affordances as well even if comes to lambdas
- stephengillie 8y agoCORS can be set on the S3 bucket - wide open is the default setting when you open the CORS properties in the S3 console.