Skip to content

Commit

Permalink
added new instance type m2.xlarge
Browse files Browse the repository at this point in the history
  • Loading branch information
tlossen committed Feb 23, 2010
1 parent d7dd80a commit 0564ea7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
tmtags

## OTHER
.twitter
.amazon
GeoIP.dat
cron.log
access.log
app/public/data
2 changes: 1 addition & 1 deletion app/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

REGIONS = ['us-west-1', 'us-east-1', 'eu-west-1']
SYSTEMS = ['linux', 'windows']
INSTANCES = ['m1.small', 'm1.large', 'm1.xlarge', 'c1.medium', 'c1.xlarge', 'm2.2xlarge', 'm2.4xlarge']
INSTANCES = ['m1.small', 'm1.large', 'm1.xlarge', 'c1.medium', 'c1.xlarge', 'm2.xlarge', 'm2.2xlarge', 'm2.4xlarge']

get '/' do
@which = 'eu-west-1.linux.m1.small'
Expand Down
2 changes: 1 addition & 1 deletion filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def country(ip)
GeoIP.new("#{ENV['HOME']}/GeoIP.dat").country(ip)[5]
end

#line = %q{85.179.21.217 - - [19/Dec/2009:22:37:02 +0100] "GET /charts/eu-west-1.windows.m1.small.html HTTP/1.1" 200 1826 "http://www.cloudexchange.org/charts/us-west-1.windows.m1.small.html" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"}
#line = %q{85.179.21.222 - - [19/Dec/2009:22:37:02 +0100] "GET /foo.html HTTP/1.1" 200 1826 "http://www.google.de/search?q=foo" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5"}

while line = $stdin.readline do
parts = line.split(' ', 12)
Expand Down

0 comments on commit 0564ea7

Please sign in to comment.