Edit: Jan 5, 2020 Link to heading The following blog post describes using AWS ECS to autoscale a containerized service. While most of this blog post still applies, AWS has since released better ECS autoscaling features than the purely CPU-utilization cloudwatch trigger mechanism used in this post. If you want to follow this post, simply consider replacing the cloudwatch-triggers with the AWS native managed scaling services that are now offered for ECS.| Adam Crowder
Creating and deploying API servers is a space with a lot of options and many different ways to achieve the same end-result in both development and operations. In this post, I’m going to describe my experience with debugging intermittent HTTP 502 responses from NodeJS Express servers fronted by an AWS Application Load Balancer (ALB), and present the solution to solve these intermittent 502 errors. If you’re already familiar with Express and AWS ALB, you can skip to The 502 Problem| Adam Crowder
My name is Adam Crowder, and I’m a software engineer residing in the Seattle area. My passions for technology run deep, whether it’s architecting solutions for a system or service, writing code, or even building computers, I’m always yearning to learn. Experience Link to heading I’m a backend software engineer with most of my experience writing: Python C/C++ Javascript/Typescript (Node) Go Although I will occasionally do projects in other languages for fun.| Adam Crowder
In order to contact me for any reason, send an email to: adam@adamcrowder.net I try to stay available, and will usually respond within a few days to any questions/inquiries sent my way. PGP Key Link to heading For private communication, use my PGP key for my email with ID: 0xC16C6CC0 which is widely available on PGP key servers, and below for convenience and/or verification. If you don’t know how to use PGP, you can use my keybase profile with their pgp encryption webpage to encrypt a messa...| Adam Crowder