AWS Lambda and automated testing (pt2).

Opps; forgot to circle back to this… So we finally got it working. Local and Jenkins automated testing that couples with Lambda for media processing! What we ended up doing was creating an ssh tunnel from our DEV to UAT, from UAT to the remote DEV DB. O man was it slow. Like, slow enough …

Lets Encrypt on Amazon Linux,

 So after switching some domain names around I wanted to add a Lets Encrypt SSL cert. to the blog here. Simple enough right? Log into the box, follow the instructions (https://coderwall.com/p/e7gzbq/https-with-certbot-for-nginx-on-amazon-linux) and that should be it? Nope, as alway an error occurred, when running the certbot-auto certonly –standalone -d davidjeddy.com  command. Turns out Amazon linux …

The pain with AWS Lambda…

…I realize I am a bit new the AWS platform and some things are just impossible, but here is the desired work flow: POST/PUT image to S3 Run node.js app in a container that emulates an EC2 machine (thus a Lambda environment) See logs of service as if it was running in a Lambda ENV. …

The `aws s3 sync` command…

From the manual: ‘Syncs directories and S3 prefixes. Recursively copies new and updated files from the source directory to the destination. Only creates folders in the destination if they contain one or more files.’ OMFG, static copy from a directory to an S3 bucket. No middle man / process required. #winning http://docs.aws.amazon.com/cli/latest/reference/s3/sync.html   Process: Create …