Easily Measure Code Coverage in React

This guide will teach you how to easily measure code coverage in React for a project generated with create-react-app. This article is going to use https://github.com/chrishart0/gsd-aws-cdk-serverless-example as an example. Either follow along with your own code or fork that repo. The example repo is a mono repo with a Lambda function backend and a ReactJS … Read more

Sun Tzu’s The Art of DevOps: I

Sun Tzu's The Art of DevOps

If Sun Tzu was practicing modern development methodologies, Sun Tzu’s The Art of DevOps… “Cloud Infrastructure are like unto water; for water in its natural course runs away from high places and hastens downwards… Water shapes its course according to the nature of the ground over which it flows; the infrastructure engineer works out his … Read more

Quickly fix botocore.exceptions.noregionerror: you must specify a region.

Quickly diagnose and fix the botocore.exceptions.noregionerror: you must specify a region error. The fix is you must specify a region. The quickest fix is to open your ~/.aws/config and add region=us-east-1 to the [default] profile. There are more details and several other ways to specify a region at the bottom of this article in the … Read more

AWS SAM in a Docker Container

AWS SAM in a Docker Container

If you’ve worked on even one Lambda function then you know that development without local testing can be slow. In this article we will go over using AWS SAM to startup an API on port 3000 with API Gateway and Lambda locally inside of a docker container nested inside another Docker container running AWS SAM … Read more

Make your Life Easier by Running AWS CDK in a Docker Container

Three Musketeers and AWS CDK

Cross post from MediumTags: CDK, 3 Musketeers, AWSThis is an example of AWS CDK in a docker container following the 3 Musketeers pattern. GitHub Repo: https://github.com/chrishart0/aws-cdk-typescript-3-musketeers What Is This 3 Musketeers Thing Anyway and Why Would I Want to Do Such a Thing as to Containerize the AWS CDK? Links: There are a host of benefits … Read more

How to Increase Your Python Aws Cdk Lambda Development Speed by Testing Locally with AWS SAM

Install AWS SAM CLI on Linux

Cross-post from: MediumThis article explains how to locally test, with AWS SAM (Serverless Application Model), a Lambda function + API Gateway created with AWS CDK (Cloud Development Kit). Python AWS CDK and SAM are a match made in heaven, or at least a match made in the cloud. This example uses the AWS CDK in Python. Using … Read more

Mac Tricks and Tips

I recently got a MacBook and am going to log all the tips and ticks I learn here while getting it just how I want it. This is essential a setup guide for myself if I need to setup another mac from scratch. Note: The mod key is what Mac calls ‘command’ Remap keys on … Read more