tips and tricks

CloudFormation Tips and Tricks

I’ve noticed that many of Chariot’s clients — from 4-person startups to 40,000-person multinationals — use CloudFormation for their infrastructure-as-code. For them and others, here are some tips that I’ve learned while developing CloudFormation templates over the past five years.

Delving into CloudTrail events

CloudTrail provides you with an audit log of every successful API call made in your AWS account. This post focuses on management events in CloudTrail, and techniques for exploring and analyzing those events using a search engine such as Elasticsearch with Kibana.

Building Developer Sandboxes on AWS

The ability to experiment is one of the unsung benefits of cloud computing. It was, in fact what drew me to AWS in 2008. At Chariot, we have multiple sandbox environments, some for specific projects and some for general play, and recommend that our clients do the same. However, sandboxes need some controls, to ensure that they don’t become a source of runaway costs.

Managing Your AWS Credentials

Given that hardcoding is a bad idea, how should you manage your AWS keys? AWS gives you three options, which we analyze in this post.

Running Linux on Windows with WSL 2 and a Native Kernel

Stuck on Windows but love Linux? You’ve probably tried everything: sprays, powders, running virtual machines, WSL 1.x. But now on the horizon there’s WSL 2.0, which hosts a full Linux Kernel in your running Windows instance and allows you to run things like Docker. Ken discusses his experiences with WSL 2 and provides some getting started resources.

Swift 4 and PromiseKit

Having spent years in AngularJS, using promises to wrap asynchronous calls became an almost daily occurrence. I loved the way asynchronous code could be quickly and easily encapsulated with a quick promise using the $q library. When I made the jump to iOS and Swift, I was left wondering how I could continue working with … Read More

Testing and Debugging Happily with WebStorm, Jest and Create-React-App

Those of us who have worked with JavaScript testing APIs on various platforms shudder every time we think about configuration issues. Whether it’s the test runner, the proper testing API, picking the appropriate mock/spy/stubbing strategy, dealing with async code, it’s always a tad complicated. However, some of my latest frustrations (self-inflicted, of course) center around … Read More

How to fix broken Jest in React 16.4.1 with CRA and debug your jest tests!

Having trouble with running Jest tests once you upgrade to React 16.4.1? Here’s how to fix it. Note, this is a rather time-sensitive post and will be obsolete once the 2.x version of create-react-app is released. But for now, it can help! Also I show you how to debug Jest tests. That part is still useful.