AWS API Gateway/Lambda 502 issues

Was having issues with a simple Lambda function written in python and exposed over the API gateway (in proxy mode). ¬†All the function did was validate some incoming JSON using some json schema validator and drop the valid data into a redis set. We got intermittent reports from the client that the requests were timing[…]

Copying big files to S3

Was backing up a server pre-upgrade and wanted to upload the bzip to s3. Got some strange throttle errors from s3cmd, my go-to command line client. Found a cool link on stackoverflow about a tool bundle provided by aws Synopsis is here: $ wget https://s3.amazonaws.com/aws-cli/awscli-bundle.zip $ unzip awscli-bundle.zip $ sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws[…]