• API Gateway Path Parameters to Lambda Functions

    I have been poking around AWS API Gateway and was trying to access the path parameters from a NodeJS Lambda function handler. To achieve this access we need to create a mapping. Resources -> Integration Request. Expand Body Mapping Templates. Type application/json and include something like the following: { “param1”: “$input.params(‘param1’)” } This would map […]

    Mar 8th, 2017 • Filed under Amazon Web Service, API Gateway, LambdaPrint View
  • Troubleshoot AWS CLI Access

    If you are having issues using awscli, verify the credentials haven’t changed and that the time is correct on the instance you’re trying to use awscli. Date and Time An error occurred (AuthFailure) when calling the DescribeAvailabilityZones operation: AWS was not able to validate the provided access credentials An error occurred (SignatureDoesNotMatch) when calling the […]

    Feb 20th, 2017 • Filed under Amazon Web Service, CLIPrint View
  • Amazon EC2 SSH Public Keys via IAM Service

    There will come a day when we can provision users and provide the necessary authorization to required enterprise resources with easy, but until that day comes there will be hacks like this one. This is very much Proof of Concept (PoC), I have not tested this beyond my network, and there would be a lot […]

    Jan 26th, 2017 • Filed under Amazon Web Service, Bash, CLI, EC2, IAM, Linux, SSHPrint View
  • Getting Started with Amazon AWS CLI

    Like any good service Amazon Web Services (AWS) has a command line tool that interfaces with it’s various services. Being the geek that I am, I have always preferred the command line (CLI), be it Cisco IOS, Bash, or the earlier MS-DOS. So getting acquainted with this tool only seems natural, on my journey to […]

    Jan 18th, 2017 • Filed under Amazon Web Service, CLI, EC2, IAM, S3Print View
Archive for the ‘Amazon Web Service’ Category