Twirpl: Twirp go framework running completely serverless

TL;DR Twirp is a awesome new go RPC framework written by the folks at Twitch.  Its powers, combined with an AWS serverless architecture will allow you to write performant web APIs very quickly, with high quality in a manor that can be used in production by a team of developers right away.  Check out my boilerplate/example …

Continue reading Twirpl: Twirp go framework running completely serverless

Advertisements

AWS API Gateway Binary support using Lambda: Real world example image resize

With the introduction of binary support in API Gateway (APIG) you can now send, for example, image binary blobs through API gateway.  I wanted to have the src attribute on an HTML img tag be a URI to an API gateway endpoint, backed by AWS Lambda.  I was unable to find clear documentation on how to …

Continue reading AWS API Gateway Binary support using Lambda: Real world example image resize

HOWTO: Serve Angular an app from S3 and CloudFront with free HTTPS

There are quite a few posts out there that try to explain how to set up S3 and CloudFront to serve up your single page Angular2 app.  However, they are incomplete, lead you into more configuration than is necessary and/or don't do what I think is best practice. This HOWTO will take you step-by-step through the following: Domain …

Continue reading HOWTO: Serve Angular an app from S3 and CloudFront with free HTTPS

AWS SDK for Javascript now fully componentized and Browserify-able!

With the v2.6.0 release of the aws-sdk for Javascript, all service classes are componentized and fully support browserify!  I asked for the support late last year and AWS came through. What does this mean you ask? No code bloat. You only require the specific services you are going to use. Browserify support means that your …

Continue reading AWS SDK for Javascript now fully componentized and Browserify-able!