Transcript
Page 1: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

Developers Summit 2012

Patrick Chanezon Senior Director,

Cloud Foundry Developer Relations

VMware Inc.

16-E-6

Cloud Foundryで変わるこれからのクラウドアプリケーション開発

Page 2: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

Cloud Foundry: Open Platform as a Service

(サービスとしての オープン プラットフォーム)

Patrick Chanezon Senior Director Developer Relations [email protected] http://twitter.com/chanezon

Developer Summit, Tokyo February 2012

Page 3: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

P@ in a nutshell

•  フランス出身、サンフランシスコ在住

•  Senior Director, Developer Relations, VMware

•  ソフトウェア開発者、API に精通、エンタープライズと コ

ンシューマ両方の経験 •  18 年間にわたるソフトウェアのプログラミング経験、

JavaScript などを利用してバックエンドを担当 •  Accenture 社で Notes エキスパートとして2 年間

勤務、Netscape/AOL社で サーバー、ポータルの

エキスパートとして3 年間勤務、Sun社で

e-commerce、ブログ、オープンソースの

エキスパートとして5 年間勤務 •  Google 社に 6 年間勤務。初めての API 担当者として、チ

ームを立ち上げる •  Adwords、Checkout、Social、HTML5、Cloud

3

Page 4: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

少年時代の夢

4

Page 5: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

SF ノベルの進化したコンピュータの世界は遥か遠い

§ ある仕事を 10 年ごとに自動化したとしても、

§  コンピュータが人間を凌駕することはできない

5

Page 6: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

ムーアの法則はハードウェアのみが対象

§  ソフトウェアには適用されない

§ 生産性が向上しても、ハードウェアと帯域幅に追いつくことはない

§ ソフトウェアのプログラミングは難しく、今でも手作業の部分が多い

6

Page 7: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

ムーアの法則の 「フリー ランチ」 の終焉

§  Herb Sutter 氏、Welcome to the Jungle http://herbsutter.com/welcome-to-the-jungle/

7

Page 8: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

8

未来への展望

「未来はすでに来ている。 ただ、皆に平等に訪れないだけだ」

William Gibson (アメリカの SF 作家)

Page 9: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

9

正岡子規の俳句

揚雲雀

子規

Page 10: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

10

加賀千代女の俳句

千代女

Page 11: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

アーキテクチャの変化: 60 年代のメインフレーム

11

Page 12: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

アーキテクチャの変化: 80 年代のクライアント / サーバ

12

Page 13: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

アーキテクチャの変化: 90 年代の Web

13

Page 14: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

アーキテクチャの変化: 2010 年代のクラウド、HTML5、モバイル

14

Page 15: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

15

クライアント / サーバへの回帰:  

Page 16: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

16

クラウド コンピューティングとは

娘の Eliette の考えるクラウド

Page 17: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

17

クラウド スタック: 典型的なピラミッド型

Platform As A Service

Infrastructure As A Service

Software As A Service

Page 18: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

18

クラウド スタック: 導入数別

Platform As A Service

Infrastructure As A Service

Software As A Service

Page 19: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

19

クラウド スタック: 価値別

Infrastructure As A Service

Software As A Service

Platform As A Service

Page 20: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

20

クラウド スタック: ニュートラル

Platform As A Service

Infrastructure As A Service

Software As A Service

Page 21: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

21

クラウド スタックの歴史

§  4 つの角度から見たクラウドの意味

• ソフトウェア: 1994 年 Netscape

• インフラストラクチャ: 2002 年 Amazon AWS • プラットフォーム: 2008 年 Goolge

• 開発中

§ ハードウェアおよびソフトウェア インフラストラクチャの産業化

•  20 世紀初頭の電気の発明と同様の大転換、Nick Carr

§  ソフトウェア開発自体が職人芸になりつつある

Page 22: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

クラウド: ユーザーのニーズを満たすため、Web サイトで使用を開始

•  Google、Amazon、Yahoo、Facebook、Twitter

•  大規模なデータ セット

•  ムーアの法則よりも急激に拡張するストレージ キャパシティ

•  高速なネットワーク

•  水平 -> 垂直方向の拡張

•  オープン ソース ソフトウェア

•  仮想化

•  クラウドは、これらのインフラストラクチャを製品化したもの

•  パブリック クラウド サービス: Google、Amazon

•  オープン ソースのソフトウェア: Hadoop、Eucalyptus、Ubuntu、Cloud Foundry

22

Page 23: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

23

インフラストラクチャ

Page 24: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

24

IaaS / 仮想化は主流となりつつある

§  AWS、Joyent、Rackspace,...

§ オープン ソース プロジェクト: OpenStack、DeltaCloud、Eucalyptus

§ 自動化: Chef、Juju

§ 標準化? DMTF

§  ファイアウォール内、仮想化: VMware、Microsoft、Xen、KVM

§ ワークロードの 50 % が仮想化されたもの

§ プロビジョニングとインスタンスの管理が容易

§ それでも、バックアップ、ソフトウェア スタック、監視、アップグレードの管理が必要

Page 25: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

25

インフラストラクチャ上に、自分でプラットフォームを構築する必要がある

§ インフラストラクチャ上に分散プラットフォームを構築する必要がある

• 昨年の夏、AWS に重大障害が発生 •  http://blog.reddit.com/2011/03/why-reddit-was-down-for-6-of-last-24.html

•  http://www.readwriteweb.com/cloud/2010/12/chaos-monkey-how-netflix-uses.php •  http://news.ycombinator.com/item?id=2477296 •  http://stu.mp/2011/04/the-cloud-is-not-a-silver-bullet.html

§  Twilio、Smugmug、SimpleGeo の各社は、IaaS 上に独自の  分散プラットフォームを構築していたため、この問題を乗り越えた

§ 企業顧客は CDN のようなインフラストラクチャの導入を検討している

• マルチ クラウドの使用

• オープン ソースをベースとした、デファクトスタンダードまたは将来のフルスタンダード

Page 26: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

26

プラットフォーム

Page 27: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

27

プラットフォーム

§ インフラストラクチャの代わりに、アプリケーションとサービスが通貨単位となる

§  Google App Engine、Cloud Foundry、Joyent, Heroku、Stax (Cloudbees)、Amazon elastic beanstalk、Microsoft Azure、AppFog

§  1 個あるいは少数の言語、サービス

§ 複数言語に対応する多国語プラットフォーム

§ 俊敏な開発者向けのイネーブラ -> ビジネス価値を迅速に作成

§ 標準なし: リスク、特定のベンダーしか選定できない

§ 企業のニーズ:

ü 管理、カスタマイズ

ü プライベートおよびハイブリッド クラウド

ü 特定のベンダーへの依存を回避

Page 28: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

即応性に優れた開発プロセス

28

Page 29: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

29

問題を切り抜けるための俊敏性

§ エンドユーザー向けソフトウェアの流行

ü 携帯電話用、ソーシャル メディア用、短期間有効、ライフサイクルの短いアプリケーショ

ンなど

ü A/B テスト

§  Clay Shirky 氏の状況依存型アプリケーション

§  Usenix 2011 における Kent Beck 氏の講演によると、「Software G-Forces」 を 頻繁に拡張しているうちに、ソフトウェアのプロセスに変化があった

§  クラウド プラットフォームにより、俊敏性がもたらされ、変革が推進される

ü プラットフォームにスケーラビリティが組み込まれている

ü 迅速な反復作業が可能

ü 設計中心

§  クラウド プラットフォームにより、開発者はビジネス価値を生み出すことに集中 できる

Page 30: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

30

主なリスク: 特定のベンダーへの依存

ようこそホテル・カリフォルニアへ ここはステキなところ  お客様もいい人たちばかり ホテル・カリフォルニアは 数多くのお部屋をご用意して あなたのお越しをいつでもお待ちしています 気がつくと僕は出口を求めて走りまわっていた もとの場所に戻る通路を なんとかして見つけなければ・・・ すると 夜警がいった 「落ち着いて自分の運命を受け入れるのです チェック・アウトは自由ですが ここを立ち去ることは永久にできません」

【ホテル・カリフォルニアの歌詞】  

Page 31: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

• オープン ソース: Apache 2 ライセンス

• 多言語 / フレームワーク

• マルチ サービス

• マルチ クラウド

31

Cloud Foundry: オープンなPaaS

プライベート クラウド

パブリッククラウド

マイクロ クラウド

データ サービス

その他の サービス

メッセージ サービス

vFabric Postgres

vFabric RabbitMQTM

Page 32: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

32

オープン ソース

Page 33: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

33

オープン ソースのメリット

§  http://code.google.com/p/googleappengine/issues/detail?id=13

•  https://github.com/cloudfoundry/vcap/pull/25

Page 34: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

34

マルチ クラウド

Page 35: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

CloudFoundry.COM

35

ランタイムとフレームワーク

サービス

vCenter / vSphere

Cloud Foundry

インフラストラクチャ

Page 36: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

CloudFoundry.ORG

36

Cloud Foundry をコンパイルおよび構築するためのソース コード

vCenter / vSphere

Cloud Foundry

ダウンロードコード

環境の セットアップ

ファイアウォールの内側に展開

スクリプトの セットアップ

Page 37: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

Micro Cloud Foundry

37

Micro

Page 38: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

マイクロ クラウドとは

38

1 台の仮想マシンでクラウド全体を運用

または

Page 39: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

Micro Cloud Foundry… (ベータ版) §  1 台の仮想マシンに事前構築されたマイクロ バージョンの Cloud Foundry

39

Signup @ http://cloudfoundry.com/micro

 Micro Cloud Foundry を利用するには、CloudFoundry.com のアカウントが必要

Micro

Page 40: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

Micro Cloud Foundry の内容

40

App インスタンス

サービス

10.04

DNS の動的なアップデート

.COM

Page 41: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

41

その他の Cloud Foundry 搭載の PaaS

プライベート PaaS Python および Perl を追加

パブリック PaaS PHP を追加

Tier3 と Uhuru には、最近 .NET サポートが追加された

Page 42: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

今すぐ登録を

devsumit

42

http://cloudfoundry.com/signup 承認待ち時間を短縮するには

プロモーション コード

を使用してください。

Page 43: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

43

開発者向けのクラウドPaaS 実現の道程

Page 44: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

Cloud Foundry のリソース

§ プライマリ サイト: cloudfoundry.com

§ オープン ソース サイト:   cloudfoundry.org

§  Twitter : @cloudfoundry , hash tag #cfoundry

§ ブログ: blog.cloudfoundry.com

§  FB : facebook.com/cloudfoundry

§ サポート support.cloudfoundry.com • ドキュメント

• ナレッジベース

• Q & A / フォーラム

§  Hiring: www.cloudfoundry.com/jobs

44

Page 45: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

Questions

45

?

Page 46: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

ありがとうございました

@CloudFoundry

@chanezon

Web サイト : www.cloudfoundry.com

ブログ (英語) : blog.cloudfoundry.com

フォーラム : support.cloudfoundry.com

t

t

46

Page 47: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

47

参考書籍 / 記事

§  Nick Carr, The Big Switch

§  Eric Raymond, The Art of Unix Programming

§ Weinberg, Psychology of Computer Programming

§ Wes python book

§ Mark html5 book

§  Kent Beck XP

§  Hunt, Thomas, The Pragmatic Programmer

§  Ade Oshineye, Apprenticeship Patterns

§ Matt Cutt's Ignite Talk IO 2011, Trying different things

§  Josh Bloch talk about api design

§  Larry and Sergey, Anatomy of a Search Engine

§  Rob Pike, The Practice of Programming

Page 48: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

48

参考資料 / 講演

§  Simon Wardley, Oscon 09 “Cloud - Why IT Matters”

§  Tim O’Reilly article on internet os

§  Peter Deutsch’s 8 Fallacies of Distributed Computing

§  Brewer’s CAP Theorem

§  Gregor Hohpe’s Starbucks Does Not Use Two-Phase Commit

§  Stuff I tag http://www.delicious.com/chanezon/

§ More specifically http://www.delicious.com/chanezon/cloudfoundry

§ My previous Talks http://www.slideshare.net/chanezon

§ My list of favorite books http://www.chanezon.com/pat/soft_books.html

Page 49: Japan Developer Summit (jp) - Cloud Foundry, the Open Platform As A Service

© 2012 VMware Inc. All rights reserved

49

謝辞

§ お絵かきをしてくれた娘の Eliette

§ スライドの作成を支援してくれた Dave McCrory、Derek Collison

§ 俳句を用意してくれた Stephen Addiss 氏、Yamamoto Fumiko 氏、Yamamoto Akira 氏 (2011-06-22)

§ 俳句: An Anthology of Japanese Poems (Shambhala Library)

§ 画: 広重、仙厓義梵


Top Related