AWS

AWS Lambda and Python

AWS Lambda is a server less computing platform. You can execute your code without provisioning or managing servers. Tested an example of copying a text file dropped into one S3 bucket to another. 1. Create a IAM role with the CloudWatch and S3 policies. Call role lambda_s3 and add policies:…

AWS API and Python Boto

Quick note on connection to EC2 to list instances. – Ensure IAM User permissions. In my case I tried EC2FullAccess. – Ensure you have your access and secret key handy. – This example just cycle through regions and list any instances. Example: $ python list.py myaccess_key mysecret_key us-east-1: [Instance:i-1aac5699] us-east-1:…