Python Tar Backup and Purge

While I was working on a related project to use python to write to cloud object storage and the logic around purging; I jotted down some quick and dirty code here for my reference to build on. Normally I would recommend using the excellent restic program but in this case…

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

Terraform with Azure

Azure provides a cloud shell with Terraform already installed and even an editor aware of Terraform source. I tested creating a network and VM using the cloud shell in the browser. REF: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/terraform-install-configure Note: I am not showing dry run (terraform plan) but you should always be in the habit…