Google Cloud - Boule de Cristal 2011

57
2010 Google Cloud Services Patrick Chanezon, Developer Advocate, Cloud @chanezon, [email protected] Friday, April 8, 2011

description

Google provides many Cloud computing services to build scalable and innovative apps, from the App Engine Platform to Storage, Prediction and BigQuery, but also monetization opportunities, with the Google Apps Marketplace, allowing developers to integrate Google Apps in their applications and sell them to the 3 million businesses running on Google Apps.

Transcript of Google Cloud - Boule de Cristal 2011

Page 1: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Cloud ServicesPatrick Chanezon, Developer Advocate, Cloud@chanezon, [email protected]

Friday, April 8, 2011

Page 2: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Boule de Cristal

• 2009 Social• 2010 HTML5• 2011 Cloud

Friday, April 8, 2011

Page 3: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Agenda

• Google App Engine• Google Storage for Developers• BigQuery • Prediction API• Google Fusion Tables• Google Visualization API• Google Refine

Friday, April 8, 2011

Page 4: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google App Engine

Friday, April 8, 2011

Page 5: Google Cloud - Boule de Cristal 2011

3

What iscloud

computing?

Friday, April 8, 2011

Page 6: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

IaaS

PaaS

SaaS

Source: Gartner AADI Summit Dec 2009

Cloud Computing Defined

Friday, April 8, 2011

Page 7: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

IaaS

PaaS

SaaS

Source: Gartner AADI Summit Dec 2009

Cloud Computing Defined

Friday, April 8, 2011

Page 8: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

IaaS

PaaS

SaaS

Source: Gartner AADI Summit Dec 2009

Cloud Computing Defined

Friday, April 8, 2011

Page 9: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

IaaS

PaaS

SaaS

Source: Gartner AADI Summit Dec 2009

Cloud Computing Defined

Friday, April 8, 2011

Page 10: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Storage Prediction API

BigQuery

1. Google Apps2. Third party Apps: Google Apps Marketplace3. ________

Google App Engine

IaaS

PaaS

SaaS

Google's Cloud Offerings

Friday, April 8, 2011

Page 11: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Storage Prediction API

BigQuery

Your Apps

1. Google Apps2. Third party Apps: Google Apps Marketplace3. ________

Google App Engine

IaaS

PaaS

SaaS

Google's Cloud Offerings

Friday, April 8, 2011

Page 12: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Enterprise Firewall

Enterprise Data Authentication Enterprise Services User Management

Buy from Google

Google Apps for Business

Build and Buy all your enterprise cloud apps...

8

Enterprise Application Platform

Friday, April 8, 2011

Page 13: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Buy from others

Google Apps Marketplace

Enterprise Firewall

Enterprise Data Authentication Enterprise Services User Management

Buy from Google

Google Apps for Business

Build and Buy all your enterprise cloud apps...

8

Enterprise Application Platform

Friday, April 8, 2011

Page 14: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Build your own

Google App Enginefor Business

Buy from others

Google Apps Marketplace

Enterprise Firewall

Enterprise Data Authentication Enterprise Services User Management

Buy from Google

Google Apps for Business

Build and Buy all your enterprise cloud apps...

8

Enterprise Application Platform

Friday, April 8, 2011

Page 15: Google Cloud - Boule de Cristal 2011

Google App Engine

-Easy to build-Easy to maintain-Easy to scale

9

Friday, April 8, 2011

Page 16: Google Cloud - Boule de Cristal 2011

Cloud development in a box

10

• SDK & “The Cloud”• Hardware• Networking• Operating system• Application runtime

o Java, Python• Static file serving• Services• Fault tolerance• Load balancing

Friday, April 8, 2011

Page 17: Google Cloud - Boule de Cristal 2011

App Engine Services

BlobstoreImages

Mail XMPP Task Queue

Memcache Datastore URL Fetch

User Service

11

Friday, April 8, 2011

Page 18: Google Cloud - Boule de Cristal 2011

Always free to get started

~5M pageviews/month• 6.5 CPU hrs/day• 1 GB storage• 650K URL Fetch calls/day• 2,000 recipients emailed• 1 GB/day bandwidth• 100,000 tasks enqueued• 650K XMPP messages/day

12

Friday, April 8, 2011

Page 19: Google Cloud - Boule de Cristal 2011

Purchase additional resources *

* free monthly quota of ~5 million page views still in full effect13

Friday, April 8, 2011

Page 20: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google App Engine for BusinessSame scalable cloud hosting platform. Designed for the enterprise.

• Enterprise application management– Centralized domain console

• Enterprise reliability and support– 99.9% Service Level Agreement– Premium Developer Support

• Hosted SQL– Managed relational SQL database in the cloud

• SSL on your domain– Including "naked" domain support

• Secure by default– Integrated Single Sign On (SSO)

• Pricing that makes sense– Pay only for what you use

Google App Enginefor Business

* Hosted SQL and SSL on your domain available later this year

Friday, April 8, 2011

Page 21: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Storage for DevelopersStore your data in Google's cloud

Friday, April 8, 2011

Page 22: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Storage Benefits

High Performance and Scalability Backed by Google infrastructure

Strong Security and Privacy Control access to your data

Easy to UseGet started fast with Google & 3rd party tools

Friday, April 8, 2011

Page 23: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Some Early Google Storage Adopters

Friday, April 8, 2011

Page 24: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Storage usage within Google

Haiti Relief Imagery USPTO data

Partner Reporting

Google BigQuery

Google Prediction API

Partner Reporting

Friday, April 8, 2011

Page 25: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Storage - AvailabilityLimited preview in US* currently • 100GB free storage and network per account• Sign up for wait list at

• http://code.google.com/apis/storage/

* Non-US preview available on case-by-case basis

Friday, April 8, 2011

Page 26: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google BigQueryInteractive analysis of large datasets in Google's cloud

Friday, April 8, 2011

Page 27: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Introducing Google BigQuery

• Google's large data adhoc analysis technology

•Analyze massive amounts of data in seconds

• Simple SQL-like query language

• Flexible access

•REST APIs, JSON-RPC, Google Apps Script

21

Friday, April 8, 2011

Page 28: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Working with large data is a challenge

Why BigQuery?

Friday, April 8, 2011

Page 29: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Spam TrendsDetection

Web Dashboards

Network Optimization

Interactive Tools

Many Use Cases ...

Friday, April 8, 2011

Page 30: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

• Scalable: Billions of rows

• Fast: Response in seconds

• Simple: Queries in SQL

• Web ServiceoRESToJSON-RPCoGoogle App Scripts

Key Capabilities of BigQuery

Friday, April 8, 2011

Page 31: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Compact subset of SQLo SELECT ... FROM ...WHERE ... GROUP BY ... ORDER BY ...LIMIT ...;

Common functionso Math, String, Time, ...

Additional statistical approximationso TOPo COUNT DISTINCT

Writing Queries

Friday, April 8, 2011

Page 32: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

GET /bigquery/v1/tables/{table name}

GET /bigquery/v1/query?q={query}

Sample JSON Reply:{ "results": { "fields": { [ {"id":"COUNT(*)","type":"uint64"}, ... ] }, "rows": [ {"f":[{"v":"2949"}, ...]}, {"f":[{"v":"5387"}, ...]}, ... ] }}

Also supports JSON-RPC

BigQuery via REST

Friday, April 8, 2011

Page 33: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Wikimedia Revision history data from:http://download.wikimedia.org/enwiki/latest/enwiki-latest-pages-meta-history.xml.7z

Wikimedia Revision History

Large Data Analysis Example

Friday, April 8, 2011

Page 34: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Wikimedia Revision history data from:http://download.wikimedia.org/enwiki/latest/enwiki-latest-pages-meta-history.xml.7z

Wikimedia Revision History

Large Data Analysis Example

Friday, April 8, 2011

Page 35: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

BigQuery from a Spreadsheet

Friday, April 8, 2011

Page 36: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

BigQuery from a Spreadsheet

Friday, April 8, 2011

Page 37: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Prediction APIGoogle's prediction engine in the cloud

Friday, April 8, 2011

Page 38: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Introducing the Google Prediction API

• Google's sophisticated machine learning technology• Available as an on-demand RESTful HTTP web service

Friday, April 8, 2011

Page 39: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

CustomerSentiment

TransactionRisk

SpeciesIdentification

MessageRouting

Legal DocketClassification

SuspiciousActivity

Work RosterAssignment

RecommendProducts

PoliticalBias

UpliftMarketing

Diagnostics

InappropriateContent

CareerCounseling

ChurnPrediction

... and many more ...

A virtually endless number of applications...

EmailFiltering

Friday, April 8, 2011

Page 40: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

"english" The quick brown fox jumped over the lazy dog.

"english" To err is human, but to really foul things up you need a computer.

"spanish" No hay mal que por bien no venga.

"spanish" La tercera es la vencida.

? To be or not to be, that is the question.

? La fe mueve montañas.

2. PREDICTThe Prediction APIlater searches forthose featuresduring prediction.

How does it work?1. TRAINThe Prediction APIfinds relevantfeatures in the sample data during training.

Friday, April 8, 2011

Page 41: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Using the Prediction API

1. Upload

2. Train

Upload your training data toGoogle Storage

Build a model from your data

Make new predictions3. Predict

A simple three step process...

Friday, April 8, 2011

Page 42: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Data• Input Features: numeric or unstructured text• Output: up to hundreds of discrete categories, or

continuous values

Training• Many machine learning techniques• Automatically selected • Performed asynchronously

Access from many platforms:• Web app from Google App Engine• Apps Script (e.g. from Google Spreadsheet)• Desktop app

Prediction API Capabilities

Friday, April 8, 2011

Page 43: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Prediction API - Pricing

Free Quota in trial/development• 100 predictions/day, 5MB trained/day• Available for 6 months

Paid Usage• $10/month per project includes 10,000 predictions• Additional predictions are $0.50 per 1,000• Absolute limit of 60,000 predictions per day• $0.002 per MB trained (max size per dataset is 100MB)

Friday, April 8, 2011

Page 44: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Prediction API- AvailabilityLimited preview in US* currently • Sign up for wait list at

• http://code.google.com/apis/predict/

* Non-US preview available on case-by-case basis

Friday, April 8, 2011

Page 45: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Fusion Tables

Friday, April 8, 2011

Page 46: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Fusion Tables

• Manage large collections of tabular data in the cloud• 100 Mb tables• Filters, Aggregation, Merge• ACL, Collaboration, Discuss Data• Visualizations

• REST API• Geo queries

• Maps Integration• FusionTablesLayer

Friday, April 8, 2011

Page 47: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Fusion Tables

Friday, April 8, 2011

Page 48: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Visualization API

Friday, April 8, 2011

Page 49: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Visualization API

• Collection of JavaScript Visualization components• Some from Google (Chart Tools)• Some from other developers• Share the same wire protocol for Data Sources

Friday, April 8, 2011

Page 50: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Example: Weather data

• US National Climatic Data Center• weather data at stations around the globe since 1929• Stored in Google Storage• Created a Table for Bigquery• Upload Weather Station coordinates in Fusion Tables• App Engine App

• Maps API to display weather station Maps• Bigquery to query average temperature in January• A bit of Python to create a JSON Data Source• Visualization API

• Just an example: rince, repeat, enhance!

Friday, April 8, 2011

Page 51: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Example: Weather data

Friday, April 8, 2011

Page 52: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Refine

Friday, April 8, 2011

Page 53: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Refine

• Power tool for working with messy data• Cleanup• Transform• Augment• (Link with FreeBase)

• Desktop software for now• http://code.google.com/p/google-refine/

Friday, April 8, 2011

Page 54: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Google Refine

Friday, April 8, 2011

Page 55: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

• Google App EngineoEasy to build, deploy and manage web apps

• Google StorageoHigh speed data storage on Google Cloud

• Prediction APIoGoogle's machine learning technology

• BigQueryo Interactive analysis of very large data sets

• Google Fusion TablesoManage collections of tabular data in the cloud

• Google RefineoPower tool for working with messy data

• Google VisualizationoCollection of JavaScript Visualization

Recap

Friday, April 8, 2011

Page 56: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

Goole IO Extended a Montreal

Friday, April 8, 2011

Page 57: Google Cloud - Boule de Cristal 2011

Developer DayGoogle 2010

http://code.google.com/apis/http://code.google.com/more/table/

More information

Friday, April 8, 2011