Ruby, Amazon Web Services and You

25 %
75 %
Information about Ruby, Amazon Web Services and You

Published on January 3, 2009

Author: szafranek



Presentation on Amazon Web Services from RuPy 2008 conference

Ruby, Amazon Web Services and You Krzysztof Szafranek, RuPy 2008

The problem

EC2 Elastic Compute Cloud

Processing Power on Demand

Amazon Machine Image (AMI)


Elastic IP

Zones and regions

Volatile storage



cap ec2onrails:server:deploy_files

Instance type Hourly price 1.7 GB of RAM, 1 Unit, Small $0.10 160 GB, 32-bit 7.5 GB of RAM, 4 Units, Large $0.40 850 GB, 64-bit 15 GB of RAM, 8 Units, Extra Large $0.80 1690 GB, 64-bit 1 EC2 Compute Unit ≈ 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor

S3 Simple Storage Service

Unlimited storage

Files: 5 GB

Buckets: 100



Keys /images/highres/duck.jpg


USA and Europe


AWS::S3 RightAws::S3

attachment_fu class Photo < ActiveRecord::Base has_attachment :storage => :s3 end


Storage $0.18 per GB-month ($0.15 in US)

Bandwith (GB price) In Out $0.18 0-10 TB $0.10 $0.16 10-50 TB $0.13 over 50 TB Transfer within AWS is free

Requests PUT, LIST GET and other* $0.012 per 1,000 $0.012 per 10,000 *DELETE is free


Fast storage...

...for UTF-8 strings

2 > 10

02 < 10

order by

10 GB, 100 domains

No schema

Automatic indexing

Real-time lookup



class Post < ActiveResource::Base = quot;http://localhost:8888quot; self.prefix = quot;/domain/quot; end

GET /domain/posts?query QUERY GET /domain/post/ID GET ATTRS POST /domain/post/ID PUT ATTRS PUT /domain/post/ID PUT ATTRS (replace) DELETE /domain/post/ID DELETE ATTRS

SQS Simple Queue Service

Queue Producers Consumers




Mechanical Turk

Human Intelligence Tasks





Google App Engine

Google App Engine Free* hosting

Google App Engine Python, GQL, Google Accounts

Google App Engine Quota Daily limit Emails 2,000 Bandwith 10,000MB CPU Megacycles 200,000,000 HTTP Requests 650,000

Google App Engine

AWS Scalability commoditized?

Thank you! CC-licensed photos by: Marcin Wichary Diego Sevilla Ruiz Sean Dreilinger Marcello Perongini doommeer

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Ruby Developer Center - Amazon Web Services (AWS) - Cloud ...

Economics Center Find calculators and other tools to help you lower costs ... and scalable Ruby applications ... Amazon Web Services is Hiring ...
Read more

Amazon Web Services (AWS) - Cloud Computing Services

Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Free to join, pay only for what you use. ... Ruby. Python. Windows ...
Read more

Using Amazon's Web Services from Ruby - YouTube

Using Amazon's Web Services from Ruby Confreaks. ... How to Setup Amazon Web Services EC2 Instance with Apache, PHP, MySQL - Duration: 25:47.
Read more

Ruby, Amazon Web Services and You –

In in the spring 2008 I spent few weeks researching and playing with Amazon Web Services. My interest was sparked by the work on the startup project ...
Read more

amazon web services - How do you create a directory ...

I am trying to upload an entire directory to s3 using the ruby aws-sdk gem. I am first trying to break it down in to smaller problems so what I am ...
Read more

Titan v1. Ruby 2.0, Amazon Web Services, S3 Backup ...

Titan is a backup utility written in Ruby using Amazon Web Services (S3 and Glacier) or Dropbox to encrypt and then store files in the cloud ...
Read more

Web Services with Ruby - SOAP4R - Tutorials for Avro ...

Web Services with Ruby ... to be used for the web service ... very basic concepts of Web Services with Ruby. If you want to drill ...
Read more

Getting Started with the AWS SDK for Ruby - AWS SDK for Ruby

... set up, and use the AWS SDK for Ruby. If you have never used the SDK for Ruby before, ... © 2015, Amazon Web Services, Inc. or its affiliates.
Read more

Use Amazon Web Services in ASP.NET - SitePoint – Learn ...

Amazon Web Services can push ... Opinion Ruby Deployment Ruby on Rails ... Amazon Web Service program, you can offer your ...
Read more