One of the most difficult tasks when putting up a new site is picking the right host. Moving hosts later on is terribly difficult so choosing the correct hosting company is as important as selecting a business partner. I’ve collected about 30 hosting companies in my delicious bookmarks. Some are specific to [...]
Elastic Cloud Computing
April 8th, 2008 4 Comments
Tags: 3tera · cloud computing · ec2 · elastra · mosso · rightscale · ruby_on_rails · scalability
Using Amazon’s Web Services from Ruby - Jonathan Younger
March 28th, 2008 No Comments
Right Scale has a great gem:
gem install right_aws
RightScale RightAws::Sqs
RightScale RightAws::Ec2
They will automatically retry errors for you.
gem install kato
Kato - EC2 Pool Manager
require ‘rubygems’
requrie ‘right_aws’
RightAws::RightAWSParser.xml_lib = ‘libxml’
SQS = RightAws::Sqs.new(access_id, access_key) #get an SQS object
queue = SQS.queue(”name_of_queue”) #create a or get a reference to an existing queue
queue.psuh “put message in the queue” #8k max
queue.size # get an [...]
Tags: amazon · ec2 · mountainwestrubyconf · ruby · Ruby On Rails · s3 · webservices










