Static CMS CI with CircleCI and AWS S3

I don’t have a whole lot to write about here, except that this post walks you through the process and it is amazing. This post is also acting as a test. Woot.

Face identification with AWS Rekognition

Cloud AI/ML as a Service (AI/MLaaS) has been all the rage the last few years as we’ve seen major advancements and areas of expertise develop around services offered by Google, Amazon, and Microsoft. This commoditization of AI/ML-centric services has allowed businesses and integrators to take advantage of these services with very little investment. They allow users to: classify images extract subject(s) and topic(s) from bodies of text translate speech to text while identifying multiple parties track people in videos …and more with just an account, credit card, basic know how and the will to do so.
Read more

ASG Rolling Updates on AWS with Terraform

The cloud is great. Isn’t the cloud great? …and because you’re reading this you know about running compute instances in the cloud. If you’re unlucky enough to still be dealing with code deployed to machines instead of containers, you might be in the painful world of shipping code by automated or manual move and re-start procedures. Perhaps you are lucky enough to be in a containerized environment, but not on Kubernetes.
Read more

Kubernetes on AWS: An overview of KOPS

What is KOPS? Self described as “The easiest way to get a production grade Kubernetes cluster up and running” (on AWS (and others, see below)). KOPS looks a lot like Terraform. In broad strokes it takes cluster, context specific arguments and creates cloud resources that house and facilitate the usage of a Kubernetes cluster. KOPS Highlights Automates the provisioning of Highly Available (HA) clusters on AWS from the CLI, similar to helm or kubectl.
Read more

Tinkering with Metromile driving data in AWS Athena

Metromile is a car insurance company that has been a leader in the pay-as-you-go insurance marketplace. Their rates are calculated based on two components: a base rate composed of the rating for the vehicle type (think Porsche vs Toyota Camry) and the registered address (home address) of the vehicle a per-mile rate for a driver based on their driving history / available data In order to calculate the per-mile billing, the company issues you an ODB-II adapter (more on ODB-II).
Read more

Serving static HTML from Cloudfront backed by a web-hosting enabled S3 bucket

Two weeks ago I transitioned my personal site, this site, to an SSL-based, secure only site. Prior to the transition, the site was served from s3 storage with web hosting enabled. Now the site is served from CloudFront backed by an s3 origin. I had done this before for work, for clients, but never with static web hosting. During this exercise, I found a documentation gap in the process, specifically with Terraform…
Read more

Evaluating API Gateway as a Proxy to internal AWS resources via Lambda and HTTP Proxy

I’ve spent the last few weeks at work investigating and evaluating API Gateways to drop in front of our present architecture. One of the candidates for evaluation was Amazon’s API Gateway. I had used API Gateway in the past for little things here and there, but never as a “simple” proxy layer to existing infrastructure. I set up a simple test and wrote a bunch of code to generate the necessary infrastructure and executed the tests…
Read more

Canary Sensor Data Capture, Serverless, on AWS

If you’re reading this, you likely own a Canary and you’re likely one of the many people on twitter requesting an API from Canary. For at least a year Canary has acknowledged those requests and redirected them to product. As consumers, we have yet to see an API or any concrete movements towards one. The only interface Canary has that is close to an API are the calls their angular-based webapp makes when you login to the dashboard.
Read more

AWS Serverless Canary Sensor Capture, 1st release

Tonight I dropped the first of a few commits/releases of a TF module aimed at pulling and cheapily storing Canary security device sensor data (temp, humidity, air quality) on AWS using Lambda and DynamoDB. Over the next few days I’ll add error handling to the API calls, add token refresh support, and an API Gateway implementation that will allow for securely querying the data. The ultimate goal is to plot the historical data on graphs, for fun.
Read more

AWS IoT w/ RPI and Sense HAT (Part 1)

This is the first part of a series of posts aimed at the integration of the AWS Internet of Things (IoT) service offering and the developer friendly Raspberry PI platform. These few posts will make use of the Raspberry PI’s officially supported HATs; the Sense HAT. The Sense HAT provides an 8x8 LED grid, accelerator, mag, gyro, temp, humidity, and pressure sensors. Raspbian, the officially supported, Debian-based Linux distro that commonly runs on the Raspberry PI, has the necessary Python SDKs required to use the Sense HAT.
Read more