How about if you need to delete large quantities of files inside a S3 bucket. In my case it was about 5 millions files. Using a python script. p>Here is the code: # coding: utf-8 # Original by Bruno Mentges […]
s3 set cache-control
Script to set cache control header to a large S3 bucket Best let it run on the background. do nohup /root/set_cache.sh > /root/set_cache.log & p>Here is the code: #!/bin/bash # #set cache_control header on large buckets using s3cmd #Felipe Ferreira […]
aws backup script
This is a robust script that backups all instances that have a TAG, Backup=TRUE it generates a AMI images, and snapshots of each Volume, also a nice e-mail with a HTML table nice format. It also prints a BackupExpiration TAG, […]
AWS Lambda
Today I tested the amazing Lambda and I was able to automaticly process images, generating thumbnails by just copying an image into a S3 bucket. I followed the Walkthrough at http://docs.aws.amazon.com/lambda/latest/dg/walkthrough-s3-events-adminuser-create-test-function-create-function.html But had few steps to do not listed there: […]
AWS save money spot instances
When you have any process that listen to a SQS queue, in most case it a good case for SPOT instance to come into play and save you lots of money. In our infra, we had a AS group that […]
AWS Cloud Watch bash script
This script was written by me a while back (still has an old version of the CLI) I found a minor bug, when using non integer values (decimal values) causes a problem, bash does not handle it very well. Anyone […]
AWS Certified Solutions Architect
I passed my AWS Certified Solutions Architect exam, I got certified ! I did have over 1 year expierence before taking the exam. There were lots of questions about EBS,AutoScale,ElasticIP,VPC,etc… I remember little about specific questions, I only had one […]