where the cloud things are

95
November 09, 2009 WHERE THE CLOUD THINGS ARE いんたーねっとのあるところ

Upload: shunsaku-kudo

Post on 17-May-2015

2.556 views

Category:

Technology


0 download

DESCRIPTION

Cloud Computing, PaaS, Web 2.0, Force.com, Google App Engine, Microsoft Windows Azure Platform, Amazon EC2, S3, ...

TRANSCRIPT

Page 1: Where The Cloud Things Are

November 09, 2009

WHERE THE CLOUD THINGS ARE

いんたーねっとのあるところ

Page 2: Where The Cloud Things Are

November 09, 2009

Where the Cloud Things are

Kazuhiro Fujie

Page 3: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE3

Brief

• 本書はPaaSと呼称される概要説明として、それを声高に提唱するリーディングカンパニーでもあるSalesforce社が提供するCRMサービスをカスタマイズするために存在するForce.comに代表されるそれら範疇を御紹介します。興味を持つ方へ、とある見解を説き、各々の理解を導く架け橋となるべく無心しております。個々の特徴を把握することで適用の取り舵を相応しい方向へ促すものとなることを意図しており、それを期待しています。

• 但し、時折脱線します。

Page 4: Where The Cloud Things Are

November 09, 2009

FIFTH ELEMENTS

TIME IS NOT IMPORTANT, ONLY LIFE IS IMPORTANT.

Page 5: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE5

Fifth Elements

• Web 2.0• Cloud Services• PaaS• Force.com• Salesforce CRM

Page 6: Where The Cloud Things Are

November 09, 2009

Web 2.0

Paradigm Shift

Page 7: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE7

Web 2.0 Brought Any

• Long Tail, Mash-up, Folksonomy, Wisdom of Crowds– The Web As Platform– Data is the Next Intel Inside– End of the Software Release Cycle– Services, not packaged software, with cost-

effective scalability– The Perpetual Beta

Page 8: Where The Cloud Things Are

Paradigm Shift

WHERE THE CLOUD THINGS ARE8

Page 9: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE9

Digital Copy is the Real Thing

Page 10: Where The Cloud Things Are

November 09, 2009

Analog Copy is a Counterfeit

Mona Lisa

Page 11: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE11

Digital Copy is the Real Thing

Page 12: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE12

Digital Copy is the Real Thing

Page 13: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE13

Digital Copy is the Real Thing

Page 14: Where The Cloud Things Are

November 09, 2009

CLOUD SERVICES

ENTIRE THE WORLD WIDE WEB

Page 15: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE15

Life in a web 2.0 world :-)

Page 16: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE16

Web Trend Map 2007 Version 2.0

Page 17: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE17

Web Trend Map 3

Page 18: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE18

Web Trend Map 4

Page 19: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE19

Cloud Services• Amazon CloudFront• Amazon Elastic Compute Cloud (EC2)• Amazon Simple Storage Service (S3)• Elastic Server• FlexiScale• GoGrid• Google App Engine• GridLayer• Softlayer CloudLayer• The Rackspace Cloud

Page 20: Where The Cloud Things Are

November 09, 2009

PLATFROM AS A SERVICE

SAAS, PAAS, IAAS, HAAS, GAAS, EAAS, XAAS, AAAS, BAAS, CAAS, KAAS

Page 21: Where The Cloud Things Are

November 09, 2009

PaaS

Platform as a Service

Page 22: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE22

PaaS

• Web 2.0 spawn SaaS and Cloud– Software as a Service – Services, not packaged software, with cost-

effective scalability• PaaS belongs Web 2.5

– Platform as a Service– Data is the Next Intel Inside– Salesforce.com jump start the PaaS

Page 23: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE23

PaaS Providers

• Caspio, Inc : Caspio (pre-built applications)• Express Dynamics. : WorkXpress (PHP, MySQL)• Google : Google App Engine (Python, Java)• Heroku : Heroku (Ruby on Rails)• Intuit Inc. : QuickBase (on-line database)• Microsoft : Windows Azure Platform (.NET)• Rollbase, Inc. : Rollbase (pre-built applications)• Salesforce.com : Force.com (Visualforce, Apex)• Wolf Frameworks : Wolf Frameworks (.NET)

Page 24: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE24

The Points of PaaS

• Data Store Function– Data Access Interface, also Database Impl.

• Development Environments, Frameworks• Restriction

– Some limits or quotas for Multi-tenancy.• Authentication

– Authorization, access control, …• Parallel Processing

– Functional Programming Language, …

Page 25: Where The Cloud Things Are

November 09, 2009

MAJOR INSTANCES AS PAAS

SALESFORCE, GOOGLE, MICROSOFT AND AMAZON

Page 26: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE26

Cloud Types

Page 27: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE27

Cloud Types plus

Page 28: Where The Cloud Things Are

November 09, 2009

FORCE.COM

SALESFORCE SAID PAAS FIRST.

Page 29: Where The Cloud Things Are

November 09, 2009

Force.com

Salesforce.com

Page 30: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE30

Availability Timeframe

• Salesforce.com was found Apr, 1999.• on-line SFA application launch Jun, 2000.• Force.com launch Sep, 2007.• Force.com Apex launch Nov, 2008.• Salesforce for Google Apps announce Apr,

2009.• …

Page 31: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE31

Page 32: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE32

Force.com

Page 33: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE33

Salesforce SFA/CRM

Page 34: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE34

Run Force Run

Page 35: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE35

Development

• Visualforce (Force.com pages)– Specific Mark-up Tags. (like JSP/JSF)– View (MVC), Web Pages

• Apex (Force.com code)– Specific language, scripts. (like Java)– Controller (MVC), (Database) Trigger, and

Some Logic.– Interpreter on VM (VM on VM)

Page 36: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE36

Visualforce architecture

Page 37: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE37

Visualforce Pages

Page 38: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE38

Apex architecture

Page 39: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE39

Apex Scripts

Page 40: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE40

Development Environment

• Force.com Builder– Need just Browser.

• Visualforce Page Editor– Need just Browser.

• Eclipse – Europa (3.3), Ganymede (3.4)– Force.com IDE

• Subversion, Ant, Firebug, etc…

Page 41: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE41

Data Store

• Database Services– Un-reveal Impl. (special tuned RDBMS.)– sObject (Salesforce Object)

• Specific OR-mapping (surmise)– DML statement (insert, update, upsert, delete)– SOQL (Salesforce Object Query Language)

• Like SQL– SOSL (Salesforce Object Search Language)

• Like Find sentence.

Page 42: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE42

Force.com Elements

• Database Services• Visualforce• Apex• Application Framework• Web Services API• Packaging

Page 43: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE43

Data Integration

• Web Services API• Salesforce provides

– Apex Data Loader, AppExchange• 3rd party tools

– ODBC driver, EAI/ETL tools, …• Related Services

– Sky on Demand, …

Page 44: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE44

Essential Force.com

• Customization Framework – for Salesforce CRM Application

• Governor limits for multi-tenancy.• And also Salesforce.com loves Google.

– Google Salesforce alliance.– it is a one-sided love…– Zoho rage against Salesforce– Microsoft, the Behind.

Page 45: Where The Cloud Things Are

November 09, 2009

GOOGLE APP ENGINE

GOOGLE

Page 46: Where The Cloud Things Are

November 09, 2009

GAE

Google App Engine

Page 47: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE47

Availability Timeframe

• Preview Release Apr, 2008.• Charged Services Release Feb, 2009.• Java version Release Apr, 2009.

Page 48: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE48

Google App Engine (GAE)

Page 49: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE49

Development

• Python (2.5), the Django framework• Java (Java 5 and Java 6)• JVM

– Groovy, Scala (Functional Programming Language), Rhino (JavaScript), Quercus (PHP), Clojure (LISP), Jython (Python), JRuby (Ruby)

• Java Servlet– Java Servlet 2.5, JavaServer Pages (JSP) 2.1

Page 50: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE50

Development EnvironmentGAE/J

• JDK– Java Developers Kit

• Eclipse – Europa (3.3), Ganymede (3.4), Galileo (3.5)– Google Plug-in for Eclipse

• Google App Engine Java SDK• Subversion, Ant, …

Page 51: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE51

Data Store

• Datastore also known as “BigTable”– Data Store as Key and Value– BigTable On GFS (Google File System)– GQL (Google Query Language) with Python

• JDO/JPA– Java Data Object (JDO) 2.3, Java Persistence API(JPA) 1.0

– DataNucleus Access Platform – JDOQL (JDO Query Language)

Page 52: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE52

Features

• Specific Java APIs– The Memcache Java API, The URL Fetch Java

API, The Mail Java API, The XMPP Java API, The Images Java API, The Google Accounts Java API, The Task Queue Java API

• Google Web Toolkit (GWT), Tapestry, BlazeDS, …

• User Authentication (Google Accounts)

Page 53: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE53

Essential GAE/J

• For Web Application Only.– Just web application framework layers.

• Java, JVM, Java Servlet, WAR, …– Can uses your Java libraries (except JNI).– Can build ordinary your web application.

(except JDBC).• Google is monstrous vendor.

– Do it Google-self.

Page 54: Where The Cloud Things Are

November 09, 2009

WINDOWS AZURE PLATFORM

MICROSOFT

Page 55: Where The Cloud Things Are

November 09, 2009

Windows Azure Platform

Microsoft WindowsAzure Platform

Page 56: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE56

Availability Timeframe

• Release until end of 2009.– Steve Ballmer, Microsoft CEO

• The Announcement will be at Microsoft PDC09 – The Professional Developers Conference– November 17 - 19, 2009– http://microsoftpdc.com/

• Production release at Jan, 2010.– Billing release at Feb, 2010.

Page 57: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE57

Windows Azure Platform Overview

Page 58: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE58

Windows Azure Fabric

Page 59: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE59

AppFabric• AppFabric

– Fabric Controller + .NET Services, memcached.• Web Role, Worker Role, VM Role (Raw VM).• Web Role

– Application Server– Windows Server 2008+IIS+ASP.NET Runtime + Fabric Agent

• Worker Role– Batch or Heavy Calculation processing

• Windows Azure OS (Red Dog)– Windows Server 2008 R2 (, Windows Vista, ) …– Custom-made Hyper-V (Windows Azure VM)

Page 60: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE60

Windows Azure Platform (Old)

Page 61: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE61

Development

• .NET – .NET Framework, ASP.NET– Visual Basic, C/C++, C#, F#– Python, Ruby, PHP, Java …

• NO CLR(Common Language Runtime) with SQL Azure

– Silverlight 4

Page 62: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE62

Development Environment

• Windows Server 2008 (Windows Vista)• .NET Framework 3.5• IIS 7.0

– ASP.NET, CGI, HTTP Activation• Microsoft SQL Server 2008 (2005)• Visual Studio 2008 (2010), Eclipse• Azure SDK• Windows Live Platform

– Live ID, Authentication

Page 63: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE63

Data Store

• Azure Storage– Key, Value Store. Blob, Table, Queue– ACE model (Authority/Container/Entity)– Before : SQL Server Data Services (SDS)– ADO.NET (ActiveX Data Objects .NET

Framework)– LINQ (Language-INtegrated Query), …

Page 64: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE64

Relational Data Store

• SQL Azure– RDB model (Relational DataBase)– Microsoft SQL Server– SQL

• Huton (code name)– Data Sync between SQL Azure and SQL Server

Page 65: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE65

Essential Azure• For Microsoft Windows Application.

– Used advantage that entered the market late.– Own On-premise products move to Cloud Services.

• Adjoining land– AppFabric connected on-premise and cloud services.– Windows Server 2008, Windows Azure– Microsoft SQL Server, SQL Azure

• Sidewinders– Microsoft Dynamic CRM Online v.s. Salesforce CRM– Microsoft xRM v.s. Force.com– Act as a Brake on Google’s plan.

• Monopoly on Platform.– Office tools too.

Page 66: Where The Cloud Things Are

November 09, 2009

AMAZON WEB SERVICES

AMAZON

Page 67: Where The Cloud Things Are

November 09, 2009

AWS

Amazon Web Services

Page 68: Where The Cloud Things Are

Data Store

• Amazon Simple DB– Cloud Data Store Service– Key, Value Store.

WHERE THE CLOUD THINGS ARE68

Page 69: Where The Cloud Things Are

Relational Data Store

• Amazon Relational Database Service (RDS)– Relational Data Store Service– MySQL base. (full-featured)

WHERE THE CLOUD THINGS ARE69

Page 70: Where The Cloud Things Are

Storage Service

• Amazon Simple Storage Service (Amazon S3)– Storage Service– File base.

WHERE THE CLOUD THINGS ARE70

Page 71: Where The Cloud Things Are

November 09, 2009

CRM

CUSTOMER RELATIONSHIP MANAGEMENT

Page 72: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE72

CRM

• CRM : Customer Relationship Management• 顧客関係管理

• CRMシステムはその情報収集を手伝うだけ。

• 目的を達成するには、収集した情報を元にデータ分析を行い、現場に於けるマーケティングアクションプランを指示する人が必要です。

• CRMマーケターという人材が重要

• 以上、「5分で絶対に分かるCRM」より

Page 73: Where The Cloud Things Are

November 09, 2009

Salesforce CRM

Welcome to the world's most popular CRM

Page 74: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE74

The world's #1 sales application

• And best of all, because it's all in the cloud, there’s no need for expensive hardware or software. No wonder 63,200 companies have made the Sales Cloud the world's most-popular sales application.

Page 75: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE75

CRM on SaaS

• Oracle CRM on Demand– Siebel CRM On Demand– http://crmondemand.oracle.com/en/index.htm

• Microsoft Dynamics CRM Online– xRM Application Services– http://crm.dynamics.com/

• NetSuite CRM+– http://www.netsuite.com/portal/home.shtml

Page 76: Where The Cloud Things Are

November 09, 2009

Can’t get enough?

Demo

Page 77: Where The Cloud Things Are

November 09, 2009

HAVE SOMETHING ON YOUR CHEST? UPTIME CHARGE, ETC.

Page 78: Where The Cloud Things Are

November 09, 2009

Consideration

Uptime, Charge, etc…

Page 79: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE79

equal to or greater than 99 %but less than 99.9 %

• 1 year = 365 days * 24 hours = 8760 hours/year

• 99 %– 1 % = 3.65 days/year = 87.6 hours/year

• 99.9 %– 0.1 % = 8.76 hours/year

• 99.99 %– 0.01 % = 0.876 hours/year = 52.56 minutes/year

• 99.999 %– 0.001 % = 0.0876 hours/year = 5.256 minutes/year

Page 80: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE80

Trust.salesforce.com

Page 81: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE81

Pricing Salesforce

• Salesforce CRM–…– Enterprise Edition (EE) $125/user/month– Unlimited Edition (UE) $250/user/month

• Force.com– Free edition– Enterprise Edition (EE) $50/user/month– Unlimited Edition (UE) $75/user/month

• Options

Page 82: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE82

Pricing GAE

• The cost for computing resources is as follows:–Resource Unit Unit Cost– Outgoing Bandwidth gigabytes $0.12– Incoming Bandwidth gigabytes $0.10– CPU Time CPU hours $0.10– Stored Data gigabytes per month $0.15– Recipients Emailed recipients

$0.0001

Page 83: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE83

Pricing Windows Azure

• Consumption-based outline– Compute = $0.12 / hour– Storage = $0.15 / GB stored / month– Storage Transactions = $0.01 / 10K– Bandwidth = $0.10 in / $0.15 out / GB

Page 84: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE84

Pricing SQL Azure

• Web Edition: – Up to 1 GB relational database = $9.99 / month

• Business Edition: – Up to 10 GB relational database = $99.99 / month

• Bandwidth– = $0.10 in / $0.15 out / GB

Page 85: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE85

Pricing Amazon S3

• Storage: – $0.150 per GB - first 50 TB / month of storage used.

• Data Transfer: – $0.100 per GB - all data transfer in– $0.170 per GB - first 10 TB / month data transfer

out.

• Requests: – $0.01 per 1,000 PUT, COPY, POST, or LIST requests.

$0.01 per 10,000 GET and all other requests.

Page 86: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE86

You may care about

• Actual results, achievements.• Service Credits• Service Level Agreement (SLA)• What is a unit for charge?• What is measuring for charge?

Page 87: Where The Cloud Things Are

November 09, 2009APPENDIX

Page 88: Where The Cloud Things Are

November 09, 2009

Appendix

URLs

Page 89: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE89

PaaS

• Caspio– http://www.caspio.com/

• WorkXpress– http://www.workxpress.com/

• Google App Engine– http://code.google.com/appengine/

• Heroku– http://heroku.com/

• QuickBase– http://quickbase.intuit.com/

Page 90: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE90

PaaS

• Windows Azure Platform– http://www.microsoft.com/windowsazure/

• Rollbase– http://www.rollbase.com/

• Force.com– http://www.salesforce.com/platform/

• Wolf Frameworks– http://wolfframeworks.com/

Page 91: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE91

Google IO

• From Spark Plug to Drive Train:Life of an App Engine Request– http://dl.google.com/io/2009/pres/W_1115_From_Spark_Plug_

To_Drive_Train_Life_of_an_App_Engine_Request.pdf

– Alon Levi [05/27/09]

Page 93: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE93

Salesforce

• Salesforce.com– http://www.salesforce.com/jp/

• Salesfoce CRM– http://www.salesforce.com/jp/crm/products.jsp

• Force.com Platform– http://www.salesforce.com/jp/platform/

• developerforce– http://developer.salesforce.co.jp/

Page 94: Where The Cloud Things Are

WHERE THE CLOUD THINGS ARE94

Topics

• The Efficient Cloud: All Of Salesforce Runs On Only 1,000 Servers– http://www.techcrunch.com/2009/03/23/the-efficient-cloud-all-

of-salesforce-runs-on-only-1000-servers/

– Erick Schonfeld [2009/03/29]

Page 95: Where The Cloud Things Are

November 09, 2009

WHERE THE WILD THINGS ARE

THIS IS THE END.