EC2 Optimization

EC2 Optimization

We attended the AWS San Francisco Summit in April and were really impressed with the breadth and depth of the presentations. A stand out included this talk from Adam Boeglin on optimization. As we prepare to finally commercialize RESTful APIs, it’s clear a few lambda functions need a little tuning; this talk as some greatContinue Reading EC2 Optimization

Soft Launch Prep

Soft Launch Prep

I’ve put some notes together, summarizing the steps involved in taking the p2t backend to AWS. Overall a very intuitive and relatively straightforward process, with very few gotchas; I cover these in these notes (recording below), and in prior blogs. As we prepare for a soft launch/ beta test, and then the collision conference inContinue Reading Soft Launch Prep

Divide & Conquer

Divide & Conquer

The day job continues to keep me busy, however, I managed to connect the dots with the compute infrastructure. Input document collections now happily cascade through a chain of processes, wrapped up as lambda functions. Meta data is pushed into dynamoDB tables, storing input and output state, allowing for browsing and downloading of outputs usingContinue Reading Divide & Conquer

Lambdas: Epilogue

Lambdas: Epilogue

I’ve spent some time coming to grips with nodejs, in order to develop truly functional lambda functions. Thinking asynchronously (something nodejs is adept at) is a little challenging if you’re not accustomed to it. While the AWS examples are very useful, the process of uploading and triggering through the console doesn’t make for quick turnContinue Reading Lambdas: Epilogue

Lambda Functions Part 3

Lambda Functions Part 3

Allegedly we’ve laid the groundwork, let’s dive in and see if we can create the Lambda function that will work with S3 containers, as described in the last post. From the CLI, this is a simple matter of executing the following: $ aws lambda create-function –region us-east-1 –function-name CreateThumbnail –zip-file fileb://textTN.zip –role arn:aws:iam::485603662400:role/lambda_s3_exec_role –handler CreateThumbnail.handlerContinue Reading Lambda Functions Part 3