Home » Sysadmin

CLI to Switch Amazon AWS Shell Environment Credentials

I work with many different AWS IAM Accounts and need to easily switch between these accounts. The good news is the AWS CLI tools now support a standard config file (~/.aws/config) that allows you to create profiles  for…

Read More »

Upcoming Mini-tutorial at BigDataCamp: How to Build a Hadoop Cluster from Scratch in 20 Minutes by CTO of Infochimps

Flip  Kromer (@mrflip), CTO of Infochimps will give a an overview and tutorial on using the latest version of Ironfan (which until today was called cluster_chef)  at the BigDataCamp unconference put on by  Dave Nielsen just before O’Reilly’s Strata Conference Feb 27 from 5:30pm…

Read More »

Access Web Servers on EC2 Private Addresses with Firefox FoxyProxy & Google Chrome SwitchySharp

There are sometimes web ui services on EC2 instances that are only accessible via the AWS private IP addresses. The one I run into most are the WebUI of HBase and Hadoop. There are probably many others. Running a…

Read More »

Avoiding a series of tests with Ruby Hashes of Hashes that might have nil before the leaf hash

I’m mostly using Ruby to write Opscode Chef Cookbooks. There are a lot of hashes of hashes that contain attributes or Data Bags. Things that look like: If I wanted to test if this value is set I…

Read More »

Install Pgrep and PKill for Mac OS X with Brew

My fingers still tend to do ps ax | grep some_program_name_I_want_to_kill and then do a kill 2012 to kill that process. Then I remember that I could use pgrep and/or pkill to do the same kind of thing….

Read More »

Your Mac Won’t Reboot when Installing Mac OS X Lion – Reset Your PRAM

Overseeing the Mac OS X Lion upgrade of all the Macs at Work, I’ve seen the Lion installs generally be the easiest OS X Upgrade ever. But I wasted almost two days upgrading one of our Mac Pros….

Read More »