Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 467 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 467 Bytes

harbinger

A ruby script for cleaning up stale EC2 instances based on tags and age

Requirements

  1. gem install aws-sdk
  2. Create a config.yml file in harbinger's directory with your AWS credentials. If you run harbinger.rb without this file, it'll tell you what to do. The 'Amazon EC2 Full Access' template has sufficient permissions.
  3. On ruby < 1.9, you'l need to add require 'rubygems' before require 'aws-sdk' in harbinger.rb.