Tag: lambda
-
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…
-
Automatic Swarm of Ephemeral Servers Extract Text to Improve NASA Astronaut Safety
V! Studios develops high volume solution for extracting text from scanned documents faster and cheaper for NASA’s Johnson Space Center by utilizing Amazon Web Services (AWS) Lambda serverless technology. V! Studios, a creative technologies company, has developed a new high-speed, low-cost cloud-based solution for optical character recognition (OCR) and text extraction. Standard OCR software extracts…
-
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…