Extracted from nscale-aws-analyzer.
Added piper.sh for reference.