Post a file stream from S3 to an API with Node
Ever needed to send a file that lives on S3 to an API endpoint? You could download the file and then send it, but that requires multiple steps and involves saving the file to the local file system. A better approach is to use streams, where you can pipe the data from S3 directly to […]
Getting headless Chrome to run on AWS Lambda Node
Today I needed to update a couple Lambda functions from the Node 8 runtime to use the Node 10.x runtime. These functions required headless Chrome because they are used to take screenshots. Unfortunately, moving from the Node 8 runtime to 10x runtime is not a simple as it sounds, because AWS have decided to change […]
Getting WebSockets working with Node, Socket.io and Elastic Beanstalk
This is something that took me nearly a year to get working. Not full time obviously, but every now and then I would make another attempt at getting it working after the trauma of the previous attempt had faded. None of the examples that people had provided worked for me, and some were out dated […]