Install AWS SAM CLI on Linux without Homebew

The official AWS installation docs for Linux tell you to install Homebew so that you can install the AWS SAM CLI. This is just plain dumb. You should not need to install a new package manager just to install one tool. Below are the steps to follow so that you do not have to. Prerequisites Ensure Python 3 is install Ensure PIP 3 is installed Ensure AWS CLI v2 is installed and configured...

July 17, 2020 · 1 min · chart

Run Postman's Newman in an AWS Lambda function: specify JSON export location

The Problem After getting my NodeJS application using Newman with the JSON reporter to work locally I started testing it in Lambda locally with SAM CLI. I encountered the following error: Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error: EROFS: read-only file system, mkdir '/var/task/newman'","reason":{"errorType":"Error","errorMessage":"EROFS: read-only file system, mkdir '/var/task/newman'","code":"EROFS","errno":-30,"syscall":"mkdir","path":"/var/task/newman","help":"error creating path for file \"newman/newman-run-report-2020-07-09-15-46-40-040-0.json\" for json-reporter","stack":["Error: EROFS: read-only file system, mkdir '/var/task/newman'"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error: EROFS: read-only file system, mkdir '/var/task/newman'"," at process.<anonymous> (/var/runtime/index.js:35:15)"," at process....

July 10, 2020 · 2 min · chart

AWS WordPress Blog: Part 2 – Deploy the EC2 Instance

Full AWS WordPress Blog series so far: AWS WordPress Blog: Part 1 – Buy a domain AWS WordPress Blog: Part 2 – Deploy the EC2 Instance This is the second article in a series which will detail how to deploy a WordPress server at AWS the cheapest way possible. This series will teach you about Route53, EC2, S3, CloudFront, IAM, and more! All while helping you setup your own blog which every good IT professional should have....

May 14, 2020 · 3 min · chart

AWS WordPress Blog: Part 1 - Buy a domain

Full AWS WordPress Blog series so far: AWS WordPress Blog: Part 1 – Buy a domain AWS WordPress Blog: Part 2 – Deploy the EC2 Instance This is the first article in a series which will detail how to deploy a WordPress server at AWS the cheapest way possible. This series will teach you about Route53, EC2, S3, CloudFront, IAM, and more! All while helping you setup your own blog which every good IT professional should have....

May 2, 2020 · 2 min · chart