It's really slick - but generating soap or rest commands from scratch isn't all that fun, so we upgraded our Appoxy-aws gem and added an interface to the ELB service.
Now, using Capistrano, we simply use one command:
cap appoxy:launch_instanceTo launch an EC2 instance, provision the system, deploy our code, and (with the new ELB interface), automatically attach the server to our load balancer.... viola, more capacity, testing server, staging server, redundancy, you name it.
Central to this strategy is provisioning and deploying almost everything using Capistrano. Building a full AMI sounds nice, but rebuilding an AMI after a gem update isn't very efficient.
Here's appoxy-aws: http://github.com/appoxy/aws/tree/master
Also if you want our Ubunty Jaunty clean AMI with Ruby 1.9 search for: ami-51769738
Finally, thanks again to RightScale for building the RightAws libraries that made appoxy-aws possible.
Cheers,
Chad
Thanks for the comment/solicitation BK.
ReplyDeleteIf you've got infrastructure, a team to manage, and the cash for the cap costs or lease, it may make more sense. But there are a lot of reasons to go AWS... on top of the fact that it's $18/month for an Amazon LB.
Cheers,
Chad
Hi Chad, I added this to the AWS Buzz (http://awsbuzz.com), our Delicious feed. Nice work!
ReplyDelete