AWS Lambda

From IndieWeb


AWS Lambda is a service from Amazon Web Services that runs individual functions of code rather than running a server and has been used for some indieweb tools and experiments. As of 2017-04, it has a quite generous free tier:

"The AWS Lambda free tier includes one million free requests per month and 400,000 GB-seconds of compute time per month, usable for functions powered by both x86, and Graviton2 processors, in aggregate. Additionally, the free tier includes 100GiB of HTTP response streaming per month, beyond the first 6MB per request, which are free."

Tools

Considerations

  • AWS Lambda restricts payload sizes to 10mb, which means you can start having rejection issues if you try to upload more than a 5mb file.

Brainstorming

AWS Lambda as a media endpoint

Eddie Hinkle has investigated using AWS Lambda as a media endpoint. It did not go well. AWS Lambda and its Gateway API restrict payload size limits to 10mb, which means actual files being uploaded can't reliable be more than 5mb. (Note: this is a common restriction among serverless functions). Which is a bad restriction for a media endpoint. After this, Eddie brainstormed using Amazon s3 as a media endpoint

See Also