Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 12 lines (7 sloc) 0.465 kB
bf7b7a8 @grempe Add a rake task to view results from perftools.rb. The ec2prof-resul…
authored
1 #!/usr/bin/env ruby
2
3 # Basic single command application that we can call with perftools.rb to get consistent results.
4
7a7f0d0 refactored library so that it can encompass multiple apis, and added …
Kris Rasmussen authored
5 require File.dirname(__FILE__) + '/../lib/AWS'
6b0b723 @sgonyea Changed the env variable naming, IRB, etc.
sgonyea authored
6 ACCESS_KEY_ID = ENV['AWS_ACCESS_KEY_ID'] || ENV['AMAZON_ACCESS_KEY_ID']
7 SECRET_ACCESS_KEY = ENV['AWS_SECRET_ACCESS_KEY'] || ENV['AMAZON_SECRET_ACCESS_KEY']
8
7a7f0d0 refactored library so that it can encompass multiple apis, and added …
Kris Rasmussen authored
9 ec2 = AWS::EC2::Base.new( :access_key_id => ACCESS_KEY_ID, :secret_access_key => SECRET_ACCESS_KEY )
bf7b7a8 @grempe Add a rake task to view results from perftools.rb. The ec2prof-resul…
authored
10
6b0b723 @sgonyea Changed the env variable naming, IRB, etc.
sgonyea authored
11 @images = ec2.describe_images
Something went wrong with that request. Please try again.