A Quick Introduction to Google's Cloud Technologies



Similar documents
Google Cloud Data Platform & Services. Gregor Hohpe

The Cloud to the rescue!

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

Sisense. Product Highlights.

HYBRID CLOUD SUPPORT FOR LARGE SCALE ANALYTICS AND WEB PROCESSING. Navraj Chohan, Anand Gupta, Chris Bunch, Kowshik Prakasam, and Chandra Krintz

Google Cloud Platform The basics

Big Data with the Google Cloud Platform

How to Ingest Data into Google BigQuery using Talend for Big Data. A Technical Solution Paper from Saama Technologies, Inc.

SECURITY AND REGULATORY COMPLIANCE OVERVIEW

PaaS - Platform as a Service Google App Engine

#mstrworld. No Data Left behind: 20+ new data sources with new data preparation in MicroStrategy 10

Querying Massive Data Sets in the Cloud with Google BigQuery and Java. Kon Soulianidis JavaOne 2014

Cloud Elements! Events Management BETA! API Version 2.0

SOA, case Google. Faculty of technology management Information Technology Service Oriented Communications CT30A8901.

Background on Elastic Compute Cloud (EC2) AMI s to choose from including servers hosted on different Linux distros

Cloud Elements ecommerce Hub Provisioning Guide API Version 2.0 BETA

Get Started with LeadSquared Guide for Marketing Users. Complete lead to revenue platform

Why API? Using the REST API in an education environment. JAMF Software, LLC

Programming Autodesk PLM 360 Using REST. Doug Redmond Software Engineer, Autodesk

Getting Started with Google Cloud Platform

Cloud Application Development (SE808, School of Software, Sun Yat-Sen University) Yabo (Arber) Xu

Technical Overview Simple, Scalable, Object Storage Software

Visualizing a Neo4j Graph Database with KeyLines

Getting Started Guide for Developing tibbr Apps

Beyond The Web Drupal Meets The Desktop (And Mobile) Justin Miller Code Sorcery Workshop, LLC

Tableau Online. Understanding Data Updates

Getting Started with vcloud Air Object Storage powered by Google Cloud Platform

Table of contents. HTML5 Data Bindings SEO DMXzone

Cloud Powered Mobile Apps with Azure

Budget Event Management Design Document

Deploy. Friction-free self-service BI solutions for everyone Scalable analytics on a modern architecture

Social Application Guide

Oracle Database Cloud Services OGh DBA & Middleware Day

Dynamics CRM with Azure and SharePoint a perfect match. Central and Eastern Europe

Python and Google App Engine

QualysGuard WAS. Getting Started Guide Version 4.1. April 24, 2015

SAS Visual Analytics 7.2 for SAS Cloud: Quick-Start Guide

SpamPanel Reseller Level Manual 1 Last update: September 26, 2014 SpamPanel

System Administration Training Guide. S100 Installation and Site Management

ITP 140 Mobile Technologies. Mobile Topics

Oracle Database Cloud

Cloud Elements! Marketing Hub Provisioning and Usage Guide!

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

Cloud Powered Mobile Apps with Microsoft Azure

Cloud Computing. Chapter 3 Platform as a Service (PaaS)

Testing the API behind a mobile app. Tutorial Marc van t Veer

API documentation - 1 -

f...-. I enterprise Amazon SimpIeDB Developer Guide Scale your application's database on the cloud using Amazon SimpIeDB Prabhakar Chaganti Rich Helms

Product Comparison List

Dashboard Admin Guide

DottsConnected SHAREPOINT 2010 ADMIN TRAINING. Exercise 1: Create Dedicated Service Accounts in Active Directory

Sun Cloud API: A RESTful Open API for Cloud Computing

Index. AdWords, 182 AJAX Cart, 129 Attribution, 174

Creating Stronger, Safer, Web Facing Code. JPL IT Security Mary Rivera June 17, 2011

Assignment # 1 (Cloud Computing Security)

The Brave New World of Power BI and Hybrid Cloud

Evaluation of Open Source Data Cleaning Tools: Open Refine and Data Wrangler

Big Data Analytics in LinkedIn. Danielle Aring & William Merritt

CP003 Azure SQL Database V12 updates and comparison with SQL Server

Open Source Technologies on Microsoft Azure

Building native mobile apps for Digital Factory

Installation and Administration Guide

Leveraging Cloud Storage Through Mobile Applications Using Mezeo Cloud Storage Platform REST API. John Eastman Mezeo

Mobile development with Apache OFBiz. Ean Schuessler, Brainfood

Microsoft Lab Of Things - Week6 Tuesday -

Exposing the Cloud: It It s More than a Buzzword Tim Connors, Director, AT&T AT&T

Teacher Activities Page Directions

PROPOSED SOLUTIONS FOR THE DESIGN & DEVELOPMENT OF COUPON WEBSITE

TDAQ Analytics Dashboard

Connecting Software Connect Bridge - Mobile CRM Android User Manual

An Oracle White Paper June RESTful Web Services for the Oracle Database Cloud - Multitenant Edition

ManageEngine SupportCenter Plus 7.7 Edition Comparison

A programming model in Cloud: MapReduce

PassKey Manager. Schoolwires Centricity

Syllabus INFO-GB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Cloud. Hosted Exchange Administration Manual

Amazon Glacier. Developer Guide API Version

The KOALA Cloud Management Service

How to access and reply to an Egress Switch Secure free of charge. Opening a Switch Secure New User

ITP 342 Mobile App Development. APIs

MathCloud: From Software Toolkit to Cloud Platform for Building Computing Services

Google Cloud Print Administrator Configuration Guide

OAuth 2.0 Developers Guide. Ping Identity, Inc th Street, Suite 100, Denver, CO

Microsoft Big Data Solutions. Anar Taghiyev P-TSP

Internet Technologies. World Wide Web (WWW) Proxy Server Network Address Translator (NAT)

Comparison Document. SupportCenter Plus Comparison Documents 1

OpenLogin: PTA, SAML, and OAuth/OpenID

From Delphi to the cloud

Document From MAXIMUM BUSINESS INFORMATION TECHNOLOGY ON A. OwnCloud User Manual. TO I Cafe`

Copyright Pivotal Software Inc, of 10

Using IBM dashdb With IBM Embeddable Reporting Service

Introduction to HP ArcSight ESM Web Services APIs

Traitware Authentication Service Integration Document

QualysGuard WAS. Getting Started Guide Version 3.3. March 21, 2014

Transcription:

A Quick Introduction to Google's Cloud Technologies Chris Schalk Developer Advocate @cschalk Anatoli Babenia

Agenda Introduction Introduction to Google's Cloud Technologies App Engine Review Google's new Cloud Technologies Google Storage Prediction API BigQuery Summary Q&A

Google's Cloud Technologies Google App Engine Google BigQuery Google Prediction API Google Storage

Specialized Services Memcache Datastore URL Fetch Mail XMPP Task Queue Images Blobstore User Service But, is that it?

New Google Cloud Technologies Google Storage Store your data in Google's cloud Prediction API Google's machine learning tech in an API BigQuery Hi-speed data analysis on massive scale...

Google Storage for Developers Store your data in Google's cloud

What Is Google Storage? Store your data in Google's cloud any format, any amount, any time You control access to your data private, shared, or public Access via Google APIs or 3rd party tools/libraries

Sample Use Cases Static content hosting e.g. static html, images, music, video Backup and recovery e.g. personal data, business records Sharing e.g. share data with your customers Data storage for applications e.g. used as storage backend for Android, AppEngine, Cloud based apps Storage for Computation e.g. BigQuery, Prediction API

Google Storage Benefits High Performance and Scalability Backed by Google infrastructure Strong Security and Privacy Control access to your data Easy to Use Get started fast with Google & 3rd party tools

Google Storage Technical Details RESTful API Verbs: GET, PUT, POST, HEAD, DELETE Resources: identified by URI Compatible with S3 Buckets Flat containers Objects Any type Size: 100 GB / object Access Control for Google Accounts For individuals and groups Two Ways to Authenticate Requests Sign request using access keys Web browser login

Demo Tools: GSUtil GS Manager Upload / Download

Google Storage usage within Google Google BigQuery Google Prediction API Haiti Relief Imagery Partner Reporting Partner Reporting USPTO data

Some Early Google Storage Adopters

Google Storage - Pricing Free trial quota until Dec 31, 2011 For first project 5 GB of storage 25 GB download/upload data 20 GB to Americas/EMEA, 5GB APAC 25K GET, HEAD requests 2,5K PUT, POST, LIST* requests Production Storage $0.17/GB/Month (Location US, EU) Upload - $0.10/GB Download $0.15/GB Americas / EMEA $0.30/GB APAC Requests PUT, POST, LIST - $0.01 / 1000 Requests GET, HEAD - $0.01 / 10,000 Requests Up to 99.9% SLA

Google Storage Summary Store any kind of data using Google's cloud infrastructure Easy to Use APIs Many available tools and libraries gsutil, GS Manager 3rd party: Boto, CloudBerry, CyberDuck, JetS3t, and more

Google Prediction API Google's prediction engine in the cloud

Google Prediction API as a simple example Predicts outcomes based on 'learned' patterns

How does it work? The Prediction API finds relevant features in the sample data during training. "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. The Prediction API later searches for those features during prediction.? To be or not to be, that is the question.? La fe mueve montañas.

A virtually endless number of applications... Customer Sentiment Transaction Risk Species Identification Message Routing Diagnostics Churn Prediction Legal Docket Classification Suspicious Activity Work Roster Assignment Inappropriate Content Recommend Products Political Bias Uplift Marketing Email Filtering Career Counselling... and many more...

Using the Prediction API A simple three step process... 1. Upload 2. Train 3. Predict Upload your training data to Google Storage Build a model from your data Make new predictions

Step 1: Upload Upload your training data to Google Storage Training data: outputs and input features Data format: comma separated value format (CSV) "english","to err is human, but to really..." "spanish","no hay mal que por bien no venga."... Upload to Google Storage gsutil cp ${data} gs://yourbucket/${data}

Step 2: Train Create a new model by training on data To train a model: POST prediction/v1.3/training {"id":"mybucket/mydata"} Training runs asynchronously. To see if it has finished: GET prediction/v1.3/training/mybucket%2fmydata {"kind": "prediction#training",...,"training status": "DONE"}

Step 3: Predict Apply the trained model to make predictions on new data POST prediction/v1.3/training/mybucket%2fmydata/predict { "data":{ "input": { "text" : [ "J'aime X! C'est le meilleur" ]}}}

Step 3: Predict Apply the trained model to make predictions on new data POST prediction/v1.3/training/bucket%2fdata/predict { "data":{ "input": { "text" : [ "J'aime X! C'est le meilleur" ]}}} { data : { "kind" : "prediction#output", "outputlabel":"french", "outputmulti" :[ {"label":"french", "score": x.xx} {"label":"english", "score": x.xx} {"label":"spanish", "score": x.xx}]}}

Step 3: Predict Apply the trained model to make predictions on new data import httplib header = {"Content-Type" : "application/json"}#...put new data in JSON format in params variable conn = httplib.httpconnection("www.googleapis.com")conn.request ("POST", "/prediction/v1.3/query/bucket%2fdata/predict", params, header)print conn.getresponse()

Google Prediction API Demo! Command line Demos Training a model Checking training status Making predictions A complete Web application using the JavaScript API for Prediction

Prediction API Capabilities Data Input Features: numeric or unstructured text Output: up to hundreds of discrete categories 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 - key features Multi-category prediction Tag entry with multiple labels Continuous Output Finer grained prediction rankings based on multiple labels Mixed Inputs Both numeric and text inputs are now supported Can combine continuous output with mixed inputs

Google BigQuery Interactive analysis of large datasets in Google's cloud

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

Why BigQuery? Working with large data is a challenge

Many Use Cases... Interactive Tools Spam Web Dashboards Trends Detection Network Optimization

Key Capabilities of BigQuery Scalable: Billions of rows Fast: Response in seconds Simple: Queries in SQL Web Service REST JSON-RPC Google App Scripts

Using BigQuery Another simple three step process... 1. Upload Upload your raw data to Google Storage 2. Import Import raw data into BigQuery table 3. Query Perform SQL queries on table

Writing Queries Compact subset of SQL SELECT... FROM... WHERE... GROUP BY... ORDER BY... LIMIT...; Common functions Math, String, Time,... Statistical approximations TOP COUNT DISTINCT

BigQuery via REST 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

Security and Privacy Standard Google Authentication Client Login OAuth AuthSub HTTPS support protects your credentials protects your data Relies on Google Storage to manage access

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

Using BigQuery Shell Python DB API 2.0 + B. Clapper's sqlcmd http://www.clapper.org/software/python/sqlcmd/

BigQuery from a Spreadsheet

BigQuery from a Spreadsheet

Recap Google App Engine Application development platform for the cloud Google Storage High speed cloud data storage on Google's infrastructure Prediction API Google's machine learning technology able to predict outcomes based on sample data BigQuery Interactive analysis of very large data sets Simple SQL query language access

Further info available at: Google App Engine http://code.google.com/appengine Google Storage for Developers http://code.google.com/apis/storage Prediction API http://code.google.com/apis/predict BigQuery http://code.google.com/apis/bigquery

Thank you! Questions? anatoli@rainforce.org @cschalk