Tag: serverless
-
Serverless Step Functions with Callback
This is a demo of how you can use the “callback” pattern to restart a Step Functions state machine from within a Lambda function. It took me a while to dig through the AWS docs, sample code, and examples to unlock the mysteries, so I hope it saves you some time. It is inspired by…
-
Lambda-generated Presigned S3 URLs with AES encryption: CORS is Hell
This is a followup to a previous post on how we use Lambdas to generate presigned URLs so that a user’s browser can directly upload to S3. We now want to have our S3 bucket enforce server-side encryption for all uploaded files. Getting all the pieces to work together was a bit hairy: bucket policies,…
-
Serverless Browser Uploads to S3
We’ve been diggin’ the serverless ecosystem around AWS Lambda, API Gateway and the rest, especially using the Serverless Framework which makes it easy to define interesting applications. We frequently have a need to upload files from a user’s desktop to AWS S3 storage, and prefer to have the browser upload directly, rather than passing the…
-
Serverless Optical Character Recognition in Support of NASA Astronaut Safety
Chris Shenton, CTO, V!Studios The NASA Extravehicular Activity (EVA) Office at NASA Johnson Space Center (JSC) needed to be able to search and make decisions based upon a huge volume of spacesuit safety and test documentation, many of which were only available as scans of paper reports. Timeliness was critical, especially in the event of…
-
Design Patterns for Serverless, Lambda, DynamoDB, S3
Motivation We’ve been using AWS load balancers with autoscaling instances for years now and it’s great at handling load, but it’s quite a bit of infrastructure to manage (even with Troposphere + CloudFormation). We also have to manage all the data flow, queue processing and such ourselves: multiple SQS queues, EC2 polling, recording state in databases… More…