AWS

AWS Storage Gateway Test

I recently wanted to take a quick look at the File Gateway. It is described as “Store files as objects in Amazon S3, with a local cache for low-latency access to your most recently used data.” I tried it on Virtualbox using the Vmware ESXi Image they offer. Steps: Download…

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:…

Amazon Linux 2 Image and LAMP

I recently migrated a LAMP server from Amazon Linux to an Amazon Linux 2 image.  Several reasons for why I needed this including it has systemd. More here: https://aws.amazon.com/amazon-linux-2/ High level steps around mysql database, wordpress and static html migration was pretty smooth as I have done this multiple times.…

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:…