Download presentation
Presentation is loading. Please wait.
Published byMekhi Scutt Modified over 9 years ago
1
Amazon S 3, App Engine Blobstore, Google Cloud Storage, Azure Blobs Svetlin Nakov Telerik Software Academy academy.telerik.com
2
Cloud Storage: Introduction Amazon S3 Google AppEngine Blobstore Google Cloud Storage Azure Blobs Rackspace Cloud Files Dropbox Other Cloud Storage Services 2
3
Introduction
4
Cloud Storage Services are public infrastructure for storage of large objects Files / blobs / images / videos / etc. Stored in Internet (in a public cloud) Accessible through some API (REST / SDK / etc.) May have front-end for end-user access Could support access control list (ACL) Could be free (with limits) or paid (on-demand) Could support CDN delivery or not 4
5
Amazon S 3 Google AppEngine Blobstore Google Cloud Storage Azure Blobs Rackspace Cloud Files Google Drive, Microsoft SkyDrive, Apple iCloud Dropbox, Box.com, ADrive, Mozy, FlipDrive, SpiderOak, SugarSync 5
6
S3 == Simple Storage Service
7
Amazon S3 == Simple Storage Service On-demand file storage in the AWS cloud Highly-reliable (99.999999999% durability and 99.99% availability) Many APIs: RESTful / SOAP / C# / Java / others Two modes: Normal – more reliable, more expensive Reduced redundancy – cheaper, but less reliable Multiple locations: US, Europe, Asia 7
8
Your cloud storage consists of buckets Objects are stored in the buckets 8 Bucket Nakov-at-home.jpg Object Bucket Object MyCat.avi Sample.mp3
9
Amazon S3 Pricing (as of May 2012) http://aws.amazon.com/s3/pricing/ http://aws.amazon.com/s3/pricing/ 9 Storage SizeStandard Storage Reduced Redundancy Storage First 1 TB / month$0.125 per GB$0.093 per GB Next 49 TB / month$0.110 per GB$0.083 per GB Next 450 TB / month$0.095 per GB$0.073 per GB Next 500 TB / month$0.090 per GB$0.063 per GB Next 4000 TB / month$0.080 per GB$0.053 per GB Over 5000 TB / month$0.055 per GB$0.037 per GB
10
Steps to setup and use Amazon AWS and S3 1.Sign-up for Amazon AWS Free Tier https://aws-portal.amazon.com/gp/aws/developer/registration/ https://aws-portal.amazon.com/gp/aws/developer/registration/ 2.Login at Amazon AWS Console https://console.aws.amazon.com/ https://console.aws.amazon.com/ 3.Get Your AWS Access Credentials https://aws-portal.amazon.com/gp/aws/securityCredentials https://aws-portal.amazon.com/gp/aws/securityCredentials 4.Install AWS SDK for.NET / Java / PHP / REST http://aws.amazon.com/sdkfornet/ http://aws.amazon.com/sdkfornet/ 5.Start Developing AWS applications 10
11
Live Demo
12
Blob Storage Service + Java / Python API
13
Google AppEngine Blobstore Storage for large objects (blobs) in GAE Keeps key-value-pairs Key – string Value – object binary data GAE Blobstore has Java and Python API BlobstoreService, BlobKey, BlobstoreInputStream HTTP upload / download functionality 5 GB free quota, then $0.13 / GB per month 13
14
Cloud Storage with RESTful API
15
GAE Cloud Storage File storage service similar to Amazon S3 Paid, no free edition 15 Bucket Nakov-at-home.jpg Object Bucket Object MyCat.avi Sample.mp3 Project
16
RESTful API – based on HTTP requests GET Service GET Service GET Service Lists all of the buckets that you own PUT Bucket PUT Bucket PUT Bucket Creates a bucket / changes bucket permissions GET Bucket GET Bucket GET Bucket Lists the contents of a bucket or retrieves the ACLs that are applied to a bucket DELETE Bucket – deletes an empty bucket DELETE Bucket DELETE Bucket 16
17
GET Object GET Object GET Object Downloads an object / retrieves the ACLs PUT Object PUT Object PUT Object Uploads an object or applies new ACLs DELETE Object DELETE Object DELETE Object Deletes an object POST Object POST Object POST Object Uploads an object by using HTML forms HEAD Object – lists object metadata HEAD Object HEAD Object 17
18
Blog Storage with RESTful and Managed API
19
BlobContainerAccounts sally PIC01.JPG PIC02.JPG images movies Blocks MOV1.AVI Block or Page 1 19
20
File Storage in the Cloud Served through a CDN
21
Rackspace Cloud Files Cloud storage service by Rackspace Can use Akamai CDN RESTful API / Java API / C# API / PHP API / … Main operations List containers, list objects, CRUD for objects Pricing On-demand: $0.15 / GB per month Akamai CDN: $0.18 / GB 21
22
Cloud Storage with Auto Sync for Any Device Accessible through REST / Java / C# APIs
23
Dropbox File storage in the Dropbox cloud 2 GB free + bonus storage (up to 16 GB) Auto-sync for any device / OS Windows, Mac OS X, Linux iPhone, iPad, Android Accessible through REST / Java / C# APIs www.dropbox.com/developers/reference/sdk www.dropbox.com/developers/reference/sdk 23
24
Live Demo
25
Google Drive, Microsoft SkyDrive, Apple iCloudBox.com, ADrive, Mozy, FlipDrive, SpiderOak, SugarSync
26
Google Drive Google’s online file storage Has files and folders Integrated with Google Docs Free 5 GB storage Has RESTful API +.NET, Java, PHP, Python SDK developers.google.com/drive/downloads developers.google.com/drive/downloads Similar to Microsoft SkyDrive 26
27
Microsoft SkyDrive Microsoft’s online file storage Similar to Google Drive Has files and folders Integrated with Google Docs Free 7-25 GB storage Has RESTful API +.NET, Java, PHP, Python SDK developers.google.com/drive/downloads developers.google.com/drive/downloads Similar to Microsoft SkyDrive 27
28
Other cloud storage services Apple iCloudBox.com Box.com ADrive Mozy FlipDrive SpiderOak SugarSync … 28
29
форум програмиране, форум уеб дизайн курсове и уроци по програмиране, уеб дизайн – безплатно програмиране за деца – безплатни курсове и уроци безплатен SEO курс - оптимизация за търсачки уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop уроци по програмиране и уеб дизайн за ученици ASP.NET MVC курс – HTML, SQL, C#,.NET, ASP.NET MVC безплатен курс "Разработка на софтуер в cloud среда" BG Coder - онлайн състезателна система - online judge курсове и уроци по програмиране, книги – безплатно от Наков безплатен курс "Качествен програмен код" алго академия – състезателно програмиране, състезания ASP.NET курс - уеб програмиране, бази данни, C#,.NET, ASP.NET курсове и уроци по програмиране – Телерик академия курс мобилни приложения с iPhone, Android, WP7, PhoneGap free C# book, безплатна книга C#, книга Java, книга C# Николай Костов - блог за програмиране http://academy.telerik.com
30
1. Using the Dropbox API implement a simple application for publishing a photo album. It should implement the following functionality: Select a folder that holds a set of photos (album) Enter a name for the album (e.g. Nesebar2012 ) Generate an HTML file listing all the photos Create a public folder in Dropbox for the album and upload all the photos in Dropbox through its API Share the generated album for public view (make the folder public and get a public link) Open the album's public link in the default Web browser
31
"Software Development in the Cloud" Course @ Telerik Software Academy clouddevcourse.telerik.com clouddevcourse.telerik.com Telerik Software Academy academy.telerik.com academy.telerik.com Telerik Academy @ Facebook facebook.com/TelerikAcademy facebook.com/TelerikAcademy Telerik Software Academy Forums forums.academy.telerik.com forums.academy.telerik.com
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.