SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
AmazonS3

mstannard@gmail.com
What is it?

        S3 = Simple Storage System



 quot;Amazon S3 is storage for the Internet. It
 is designed to make web-scale computing
 easier for developers.quot;
Features
  Write, read, delete from 1B to 5GB

  REST and SOAP interfaces

  HTTP & BitTorrent protocols supported

  Authentication built-in

  US & European storage
Why use it?
  CDN

  Fast

  Scalable

  Simple

  Inexpensive

  Reliable 99.99%
Basic Concepts
Object - data + metadata (custom + some standard)

Bucket - the storage container (max 100 / dev)
       - must be unique across whole S3 service

 Key   - unique identifier of an object in
         a bucket
Using S3 with Rails

  Signup at Amazon

  Install AWS::S3 gem

  Install attachment_fu plugin
config/amazons3.yml
 development:
  bucket_name: reading_eggs_development
  access_key_id: my_access_key
  secret_access_key: my_secret_key

 test:
  bucket_name: reading_eggs_test
  access_key_id: my_access_key
  secret_access_key: my_secret_key

 prod:
  etc.....
attachment_fu

before:

has_attachment :content_type => 'application/x-shockwave-flash',
    :storage => :file_system,
    :path_prefix => 'path/to/files/',
    :max_size => 10.megabytes
attachment_fu

after:

has_attachment :content_type => 'application/x-shockwave-flash',
    :storage => :s3,
    :max_size => 10.megabytes
attachment_fu
access:

>> p = PartFile.find(:first)
=> #<PartFile:0x23a0eb0
@attributes={quot;content_typequot;=>quot;application/x-shockwave-flashquot;,
quot;sizequot;=>quot;4434939quot;, quot;idquot;=>quot;315quot;, quot;filenamequot;=>quot;I_and_a.swfquot;}
>> p.public_filename
=> quot;http://s3.amazonaws.com/reading_eggs_dev/part_files/315/
I_and_a.swfquot;
>> p.full_filename
=> quot;part_files/315/I_and_a.swfquot;
>> p.bucket_name
=> quot;reading_eggs_devquot;
Pricing
Storage
$0.15 per GB-Month of storage used

Data Transfer
$0.10 per GB - all data transfer in
$0.18 per GB - first 10 TB / month data transfer out
$0.16 per GB - next 40 TB / month data transfer out
$0.13 per GB - data transfer out / month over 50 TB

Requests
$0.01 per 1,000 PUT or LIST requests
$0.01 per 10,000 GET and all other requests*
* No charge for delete requests
Sample Costings
Data Storage Costs
1GB/M $0.15

1 GB Storage = $0.15


Bandwidth Costs
5000 Users

200 MB / User / Month

0.2 GB * 5000 = 1000GB * $0.18 = $180


Request Costs
Request = 200/User/Month = 5000 * 200 = 1M get requests

1000000/10000 = 100 * $0.01 = $1

Total Cost
US$181.15
Resources
Amazon S3 : http://aws.amazon.com/s3

AWS::S3 gem : http://amazon.rubyforge.org/

s3fox : http://www.rjonna.com/ext/s3fox.php

s3 calc : http://calculator.s3.amazonaws.com

Contenu connexe

Tendances

Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress SecurityShawn Hooper
 
Now That's What I Call WordPress Security 2010
Now That's What I Call WordPress Security 2010Now That's What I Call WordPress Security 2010
Now That's What I Call WordPress Security 2010Brad Williams
 
WordPress Security Presentation
WordPress Security PresentationWordPress Security Presentation
WordPress Security PresentationAndrew Paton
 
Easy Copy with AZ Copy
Easy Copy with AZ CopyEasy Copy with AZ Copy
Easy Copy with AZ CopyJohn Garland
 
WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010Brad Williams
 
Threat Hunting Web Shells Using Splunk
Threat Hunting Web Shells Using SplunkThreat Hunting Web Shells Using Splunk
Threat Hunting Web Shells Using Splunkjamesmbower
 
ElasticSearch Meetup 30 - 10 - 2014
ElasticSearch Meetup 30 - 10 - 2014ElasticSearch Meetup 30 - 10 - 2014
ElasticSearch Meetup 30 - 10 - 2014Alberto Paro
 
WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013Brad Williams
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationChetan Soni
 
WordPress Security - WordCamp NYC 2009
WordPress Security - WordCamp NYC 2009WordPress Security - WordCamp NYC 2009
WordPress Security - WordCamp NYC 2009Brad Williams
 
Basics of web technologies
Basics of web technologiesBasics of web technologies
Basics of web technologiesBambootechies
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertComplete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertChetan Soni
 
Whats new in ASP.NET 4.0
Whats new in ASP.NET 4.0Whats new in ASP.NET 4.0
Whats new in ASP.NET 4.0py_sunil
 
Securing Your WordPress Website - WordCamp GC 2011
Securing Your WordPress Website - WordCamp GC 2011Securing Your WordPress Website - WordCamp GC 2011
Securing Your WordPress Website - WordCamp GC 2011Vlad Lasky
 
Integrating External APIs with WordPress
Integrating External APIs with WordPressIntegrating External APIs with WordPress
Integrating External APIs with WordPressMarty Thornley
 

Tendances (20)

Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress Security
 
Now That's What I Call WordPress Security 2010
Now That's What I Call WordPress Security 2010Now That's What I Call WordPress Security 2010
Now That's What I Call WordPress Security 2010
 
WordPress Security Presentation
WordPress Security PresentationWordPress Security Presentation
WordPress Security Presentation
 
secure php
secure phpsecure php
secure php
 
Easy Copy with AZ Copy
Easy Copy with AZ CopyEasy Copy with AZ Copy
Easy Copy with AZ Copy
 
WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010
 
Threat Hunting Web Shells Using Splunk
Threat Hunting Web Shells Using SplunkThreat Hunting Web Shells Using Splunk
Threat Hunting Web Shells Using Splunk
 
ElasticSearch Meetup 30 - 10 - 2014
ElasticSearch Meetup 30 - 10 - 2014ElasticSearch Meetup 30 - 10 - 2014
ElasticSearch Meetup 30 - 10 - 2014
 
WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013
 
Wamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and ConfigurationWamp & LAMP - Installation and Configuration
Wamp & LAMP - Installation and Configuration
 
WordPress Security - WordCamp NYC 2009
WordPress Security - WordCamp NYC 2009WordPress Security - WordCamp NYC 2009
WordPress Security - WordCamp NYC 2009
 
APACHE 2 HTTPS.ppt
APACHE 2 HTTPS.pptAPACHE 2 HTTPS.ppt
APACHE 2 HTTPS.ppt
 
Basics of web technologies
Basics of web technologiesBasics of web technologies
Basics of web technologies
 
4.4 PHP Session
4.4 PHP Session4.4 PHP Session
4.4 PHP Session
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security ExpertComplete Wordpress Security By CHETAN SONI - Cyber Security Expert
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
 
TL; DR: iOS 9R
TL; DR: iOS 9RTL; DR: iOS 9R
TL; DR: iOS 9R
 
Whats new in ASP.NET 4.0
Whats new in ASP.NET 4.0Whats new in ASP.NET 4.0
Whats new in ASP.NET 4.0
 
Security in php
Security in phpSecurity in php
Security in php
 
Securing Your WordPress Website - WordCamp GC 2011
Securing Your WordPress Website - WordCamp GC 2011Securing Your WordPress Website - WordCamp GC 2011
Securing Your WordPress Website - WordCamp GC 2011
 
Integrating External APIs with WordPress
Integrating External APIs with WordPressIntegrating External APIs with WordPress
Integrating External APIs with WordPress
 

En vedette

Com Penjar Una Presentació Al Moodle
Com Penjar Una Presentació Al MoodleCom Penjar Una Presentació Al Moodle
Com Penjar Una Presentació Al Moodleoscargarcia
 
De la intranet al portal colaborativo
De la intranet al portal colaborativoDe la intranet al portal colaborativo
De la intranet al portal colaborativoJose A. del Moral
 
AIETT and ITCC seminar on Ener Con in Hospitality
AIETT and ITCC seminar on Ener Con in HospitalityAIETT and ITCC seminar on Ener Con in Hospitality
AIETT and ITCC seminar on Ener Con in HospitalityPSPSolutions.net
 
Volcanic Activities By Dary
Volcanic Activities By DaryVolcanic Activities By Dary
Volcanic Activities By Darydary_93
 
Strijker, A. (2004). Reuse Of Learning Objects In Context Human And Technic...
Strijker, A. (2004). Reuse Of Learning Objects In Context   Human And Technic...Strijker, A. (2004). Reuse Of Learning Objects In Context   Human And Technic...
Strijker, A. (2004). Reuse Of Learning Objects In Context Human And Technic...guestb3607d
 
The role of renewable energy and energy efficiency in climate change and its ...
The role of renewable energy and energy efficiency in climate change and its ...The role of renewable energy and energy efficiency in climate change and its ...
The role of renewable energy and energy efficiency in climate change and its ...PSPSolutions.net
 
GossipCast Presentation
GossipCast PresentationGossipCast Presentation
GossipCast Presentationguestba1cca
 
Thailand's GHG mitigation plan
Thailand's GHG mitigation planThailand's GHG mitigation plan
Thailand's GHG mitigation planPSPSolutions.net
 
Technology And The Production Of Difference
Technology And The Production Of DifferenceTechnology And The Production Of Difference
Technology And The Production Of Differenceguestba1cca
 
Duncan Firth renewable energy and energy efficiency and its relevance to the ...
Duncan Firth renewable energy and energy efficiency and its relevance to the ...Duncan Firth renewable energy and energy efficiency and its relevance to the ...
Duncan Firth renewable energy and energy efficiency and its relevance to the ...PSPSolutions.net
 
New year resolution 2011
New year resolution 2011New year resolution 2011
New year resolution 2011andrew jones
 
Resourcing Missional Entrepreneurs
Resourcing Missional EntrepreneursResourcing Missional Entrepreneurs
Resourcing Missional Entrepreneursandrew jones
 
Gulag Presentation Natalia Keritsis April 15 2007
Gulag Presentation Natalia Keritsis April 15 2007Gulag Presentation Natalia Keritsis April 15 2007
Gulag Presentation Natalia Keritsis April 15 2007KNatalia
 
Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...
Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...
Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...guestb3607d
 
Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.
Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.
Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.Andrey Golub
 
Department of alternative energy development and efficiency (dede)
Department of alternative energy development and efficiency (dede)Department of alternative energy development and efficiency (dede)
Department of alternative energy development and efficiency (dede)PSPSolutions.net
 

En vedette (20)

O antes e o depois
O antes e o depoisO antes e o depois
O antes e o depois
 
Com Penjar Una Presentació Al Moodle
Com Penjar Una Presentació Al MoodleCom Penjar Una Presentació Al Moodle
Com Penjar Una Presentació Al Moodle
 
De la intranet al portal colaborativo
De la intranet al portal colaborativoDe la intranet al portal colaborativo
De la intranet al portal colaborativo
 
AIETT and ITCC seminar on Ener Con in Hospitality
AIETT and ITCC seminar on Ener Con in HospitalityAIETT and ITCC seminar on Ener Con in Hospitality
AIETT and ITCC seminar on Ener Con in Hospitality
 
Volcanic Activities By Dary
Volcanic Activities By DaryVolcanic Activities By Dary
Volcanic Activities By Dary
 
Strijker, A. (2004). Reuse Of Learning Objects In Context Human And Technic...
Strijker, A. (2004). Reuse Of Learning Objects In Context   Human And Technic...Strijker, A. (2004). Reuse Of Learning Objects In Context   Human And Technic...
Strijker, A. (2004). Reuse Of Learning Objects In Context Human And Technic...
 
The role of renewable energy and energy efficiency in climate change and its ...
The role of renewable energy and energy efficiency in climate change and its ...The role of renewable energy and energy efficiency in climate change and its ...
The role of renewable energy and energy efficiency in climate change and its ...
 
GossipCast Presentation
GossipCast PresentationGossipCast Presentation
GossipCast Presentation
 
Thailand's GHG mitigation plan
Thailand's GHG mitigation planThailand's GHG mitigation plan
Thailand's GHG mitigation plan
 
Technology And The Production Of Difference
Technology And The Production Of DifferenceTechnology And The Production Of Difference
Technology And The Production Of Difference
 
Duncan Firth renewable energy and energy efficiency and its relevance to the ...
Duncan Firth renewable energy and energy efficiency and its relevance to the ...Duncan Firth renewable energy and energy efficiency and its relevance to the ...
Duncan Firth renewable energy and energy efficiency and its relevance to the ...
 
EquivocacióN
EquivocacióNEquivocacióN
EquivocacióN
 
Global connect
Global connect Global connect
Global connect
 
New year resolution 2011
New year resolution 2011New year resolution 2011
New year resolution 2011
 
Resourcing Missional Entrepreneurs
Resourcing Missional EntrepreneursResourcing Missional Entrepreneurs
Resourcing Missional Entrepreneurs
 
Sorting Room
Sorting RoomSorting Room
Sorting Room
 
Gulag Presentation Natalia Keritsis April 15 2007
Gulag Presentation Natalia Keritsis April 15 2007Gulag Presentation Natalia Keritsis April 15 2007
Gulag Presentation Natalia Keritsis April 15 2007
 
Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...
Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...
Strijker, A. (2004 Sep 18). Presentation Reuse Of Learning Objects In Context...
 
Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.
Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.
Report Indagine MilanIn 2009, Business Networking MADE IN ITALY.
 
Department of alternative energy development and efficiency (dede)
Department of alternative energy development and efficiency (dede)Department of alternative energy development and efficiency (dede)
Department of alternative energy development and efficiency (dede)
 

Similaire à AmazonS3 & Rails

Seguranca em APP Rails
Seguranca em APP RailsSeguranca em APP Rails
Seguranca em APP RailsDaniel Lopes
 
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel AvivAmazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel AvivAmazon Web Services
 
Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11ColdFusionConference
 
Workshop: Building Your First Big Data Application on AWS
Workshop: Building Your First Big Data Application on AWSWorkshop: Building Your First Big Data Application on AWS
Workshop: Building Your First Big Data Application on AWSAmazon Web Services
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWSAmazon Web Services
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocratlinoj
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocratJonathan Linowes
 
Capture, record, clip, embed and play, search: video from newbie to ninja
Capture, record, clip, embed and play, search: video from newbie to ninjaCapture, record, clip, embed and play, search: video from newbie to ninja
Capture, record, clip, embed and play, search: video from newbie to ninjaVito Flavio Lorusso
 
CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018
CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018
CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018Martijn van Dongen
 
Joomla : Akeeba backup and Amazon S3 (new version)
Joomla : Akeeba backup and Amazon S3 (new version)Joomla : Akeeba backup and Amazon S3 (new version)
Joomla : Akeeba backup and Amazon S3 (new version)Marc DECHEVRE
 
Joomla : Akeeba backup and Amazon S3
Joomla : Akeeba backup and Amazon S3Joomla : Akeeba backup and Amazon S3
Joomla : Akeeba backup and Amazon S3Marc DECHEVRE
 
Django Files — A Short Talk (slides only)
Django Files — A Short Talk (slides only)Django Files — A Short Talk (slides only)
Django Files — A Short Talk (slides only)James Aylett
 
(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...
(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...
(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...Amazon Web Services
 
Java secure development part 3
Java secure development   part 3Java secure development   part 3
Java secure development part 3Rafel Ivgi
 

Similaire à AmazonS3 & Rails (20)

Amazon S3 Masterclass
Amazon S3 MasterclassAmazon S3 Masterclass
Amazon S3 Masterclass
 
Amazon S3 Masterclass
Amazon S3 MasterclassAmazon S3 Masterclass
Amazon S3 Masterclass
 
Seguranca em APP Rails
Seguranca em APP RailsSeguranca em APP Rails
Seguranca em APP Rails
 
My First Big Data Application
My First Big Data ApplicationMy First Big Data Application
My First Big Data Application
 
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel AvivAmazon S3 - Masterclass - Pop-up Loft Tel Aviv
Amazon S3 - Masterclass - Pop-up Loft Tel Aviv
 
Amazon S3: Masterclass
Amazon S3: MasterclassAmazon S3: Masterclass
Amazon S3: Masterclass
 
Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11Using amazon web services with cold fusion 11
Using amazon web services with cold fusion 11
 
Workshop: Building Your First Big Data Application on AWS
Workshop: Building Your First Big Data Application on AWSWorkshop: Building Your First Big Data Application on AWS
Workshop: Building Your First Big Data Application on AWS
 
Introduction to Amazon S3
Introduction to Amazon S3Introduction to Amazon S3
Introduction to Amazon S3
 
Building Your First Big Data Application on AWS
Building Your First Big Data Application on AWSBuilding Your First Big Data Application on AWS
Building Your First Big Data Application on AWS
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat12 core technologies you should learn, love, and hate to be a 'real' technocrat
12 core technologies you should learn, love, and hate to be a 'real' technocrat
 
Capture, record, clip, embed and play, search: video from newbie to ninja
Capture, record, clip, embed and play, search: video from newbie to ninjaCapture, record, clip, embed and play, search: video from newbie to ninja
Capture, record, clip, embed and play, search: video from newbie to ninja
 
CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018
CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018
CloudFormation techniques from the Dutch trenches (DVC07) - AWS re:Invent 2018
 
Joomla : Akeeba backup and Amazon S3 (new version)
Joomla : Akeeba backup and Amazon S3 (new version)Joomla : Akeeba backup and Amazon S3 (new version)
Joomla : Akeeba backup and Amazon S3 (new version)
 
Joomla : Akeeba backup and Amazon S3
Joomla : Akeeba backup and Amazon S3Joomla : Akeeba backup and Amazon S3
Joomla : Akeeba backup and Amazon S3
 
Django Files — A Short Talk (slides only)
Django Files — A Short Talk (slides only)Django Files — A Short Talk (slides only)
Django Files — A Short Talk (slides only)
 
(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...
(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...
(SEC309) Amazon VPC Configuration: When Least Privilege Meets the Penetration...
 
AWS essentials S3
AWS essentials S3AWS essentials S3
AWS essentials S3
 
Java secure development part 3
Java secure development   part 3Java secure development   part 3
Java secure development part 3
 

Dernier

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentationuneakwhite
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPanhandleOilandGas
 
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLJAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLkapoorjyoti4444
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture conceptP&CO
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...lizamodels9
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Anamikakaur10
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...lizamodels9
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Sheetaleventcompany
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLkapoorjyoti4444
 

Dernier (20)

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLJAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 

AmazonS3 & Rails

  • 2. What is it? S3 = Simple Storage System quot;Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers.quot;
  • 3. Features Write, read, delete from 1B to 5GB REST and SOAP interfaces HTTP & BitTorrent protocols supported Authentication built-in US & European storage
  • 4. Why use it? CDN Fast Scalable Simple Inexpensive Reliable 99.99%
  • 5. Basic Concepts Object - data + metadata (custom + some standard) Bucket - the storage container (max 100 / dev) - must be unique across whole S3 service Key - unique identifier of an object in a bucket
  • 6. Using S3 with Rails Signup at Amazon Install AWS::S3 gem Install attachment_fu plugin
  • 7. config/amazons3.yml development: bucket_name: reading_eggs_development access_key_id: my_access_key secret_access_key: my_secret_key test: bucket_name: reading_eggs_test access_key_id: my_access_key secret_access_key: my_secret_key prod: etc.....
  • 8. attachment_fu before: has_attachment :content_type => 'application/x-shockwave-flash', :storage => :file_system, :path_prefix => 'path/to/files/', :max_size => 10.megabytes
  • 9. attachment_fu after: has_attachment :content_type => 'application/x-shockwave-flash', :storage => :s3, :max_size => 10.megabytes
  • 10. attachment_fu access: >> p = PartFile.find(:first) => #<PartFile:0x23a0eb0 @attributes={quot;content_typequot;=>quot;application/x-shockwave-flashquot;, quot;sizequot;=>quot;4434939quot;, quot;idquot;=>quot;315quot;, quot;filenamequot;=>quot;I_and_a.swfquot;} >> p.public_filename => quot;http://s3.amazonaws.com/reading_eggs_dev/part_files/315/ I_and_a.swfquot; >> p.full_filename => quot;part_files/315/I_and_a.swfquot; >> p.bucket_name => quot;reading_eggs_devquot;
  • 11. Pricing Storage $0.15 per GB-Month of storage used Data Transfer $0.10 per GB - all data transfer in $0.18 per GB - first 10 TB / month data transfer out $0.16 per GB - next 40 TB / month data transfer out $0.13 per GB - data transfer out / month over 50 TB Requests $0.01 per 1,000 PUT or LIST requests $0.01 per 10,000 GET and all other requests* * No charge for delete requests
  • 12. Sample Costings Data Storage Costs 1GB/M $0.15 1 GB Storage = $0.15 Bandwidth Costs 5000 Users 200 MB / User / Month 0.2 GB * 5000 = 1000GB * $0.18 = $180 Request Costs Request = 200/User/Month = 5000 * 200 = 1M get requests 1000000/10000 = 100 * $0.01 = $1 Total Cost US$181.15
  • 13. Resources Amazon S3 : http://aws.amazon.com/s3 AWS::S3 gem : http://amazon.rubyforge.org/ s3fox : http://www.rjonna.com/ext/s3fox.php s3 calc : http://calculator.s3.amazonaws.com