4 ms·
Take a look at https://github.com/awslabs/chalice https://github.com/awslabs/chalice. IMO it's better than zappa if you are Python-centric. As you can tell from
by ak217 10y ago
Take a look at https://github.com/awslabs/chalice https://github.com/awslabs/chalice. IMO it's better than zappa if you are Python-centric. As you can tell from the name, it strives to be the Lambda-based equivalent of Flask.
One tip regarding your workflow: don't pipe data from S3 to Lambda to your client unless you really have to. You can use S3 pre-signed URLs to granularly delegate access to S3 objects for a limited time, then refer your client to them. Even if you are generating the binary content on the fly in your lambda, it's easier to save it to S3 and refer the client to that. That said, if your content is truly too dynamic to live on S3, then gzip+base64 encoding it, serving it in json and decoding/displaying it in javascript should be straightforward.
- mojoe 10y agoI'll check this out, thanks!