Your SlideShare is downloading. ×
Cloud FoundryではじめるPaaSアプリケーション 開発入門講座
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Cloud FoundryではじめるPaaSアプリケーション 開発入門講座

1,876
views

Published on

Cloud FoundryではじめるPaaSアプリケーション …

Cloud FoundryではじめるPaaSアプリケーション
開発入門講座


0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,876
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
34
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Cloud  FoundryではじめるPaaSアプリケーション 開発⼊入⾨門講座 2012年年12⽉月16⽇日 ヴイエムウェア株式会社 クラウドアプリケーションプラットフォーム  テクニカル・エバンジェリスト 池⽥田  俊彦 © 2011 VMware Inc. All rights reserved
  • 2. ⾃自⼰己紹介 池⽥田俊彦 twitter:tikeda123VMware  Cloud  Foundry,Spring関連の エバンジェリストとして活動
  • 3. Ø PaaSクラウドサービス Ø Open  PaaSクラウド(Cloud  Foundry) Ø Demo Ø まとめ 3Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 4. 新しいITに対応する為に必要な環境 ワークスタイルの変⾰革 いつでも、どこでも、あらゆ る端末で上で全てのアプリ ケーションを安全に実⾏行行 クラウド時代の アプリケーション 最新アプリケーションの市場 投⼊入までの時間を短縮 クラウド基盤 災害対策 柔軟性、拡張性、効率率率性に優れ 可視化 た、全てのアプリケーションの プライベートクラウド DR ためのインフラストラクチャ 4Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 5. The complexity IT and developers face today IT運⽤用者及び開発者の直⾯面している複雑性の課題 * アプリケーションのプロビジョニング、アップデートするまでの運⽤用⼿手順の⼀一例例 reasons An actual application provisioning/update flow in a large enterprise. Image is blurred for privacy 5 4Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 6. The complexity IT and developers face today PaaS(Platform  as  a  Service)の価値 target <any cloud> push <my app> bind <my serivces> instances <my app> + 100 * An actual application provisioning/update flow in a large enterprise. Image is blurred for privacy reasons 6 4Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 7. Webアプリケーション構築に要する期間 Webアプリケーション構築に要する期間として約3ヶ⽉月程度度が必要 tomcatサーバ調達 ネットワーク OSインストール&(1カ⽉月) /ストレージ DBインストール& JVM/Web/Appサーバ アプリケーション パラメータ設定(4⽇日) パラメータ設定/ 運⽤用監視設定(7⽇日) /サーバの構築(1ヶ⽉月) インストール/ チューニング作業(7⽇日) アプリケーションデプロイ パラメータ設定/ チューニング作業(10⽇日) インフラ調達・構築(2ヶ⽉月) ミドルウェア構築&アプリケションの配布(1ヶ⽉月) 7Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 8. PaaS(Platform  as  a  Service)の価値 Webアプリケーション構築に要する時間は、数分以内(約5分程度)で完了 アプリケション コード vmc target <any cloud> push <m app> bind <my services> instances <my app> + 100 vmcコマンド 開発者 Cloud Foundry展開用コマンド アプリケションコード展開時間 約数分以内(5分以内) 8Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 9. PaaSクラウドのあるべき姿 クラウドへのアプリケーション実装を迅速かつ容易易に展開 •  ⾃自動設定(Auto-‐‑‒configuration) •  ⾃自動プロビジョニング(Auto-‐‑‒Provisioning) •  スケールアウト・イン(Scale  [out,in]) 開発ツールと開発・ 実行環境提供 アプリケーション アプリケーション 開発者 ユーザ 開発 負荷に応じてス ケールアウト Eclipse  PlugIn Deployツール フレーム データベース ワーク APサーバ JVM 9Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 10. Ø PaaSクラウドサービス Ø Open  PaaSクラウド(Cloud  Foundry) Ø Demo Ø まとめ 10Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 11. Open  PaaS  Cloud  Foundry VMwareのイニシアティブよる業界初のオープンPaaSプロジェクト Beta 開発者向けのPaaSサービス提供(www.cloudfoundry.com) オープンソースコミュニティを設⽴立立、PaaS基盤をオープンソースと して提供(www.cloudfoundry.org) ロックインされたクラウド オープンなクラウド q  独⾃自⾔言語   q  豊富な選択肢   q  独⾃自技術 q  標準的な技術 q  ブラックボックス q  オープンソース プライベート Other 11Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 12. Open  PaaS  Cloud  FoundryChoice of Clouds, Choice of Frameworks, Choice of Application Services. OSS community vFabric Postgres Data Private     Services Clouds     vFabric Msg Public   Partners   RabbitMQTM Services Clouds   .COM Other Micro   Services Clouds   12Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 13. Cloud  Foundry  アーキテクチャ Client CF Kernel Orchestrator IaaS 13Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 14. Cloud  Foundry  アーキテクチャ Client CF Kernel Orchestrator IaaS 14Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 15. Cloud  Foundry  Clients  (vmcツール、eclipse⽤用プラグイン) Eclipse⽤用 プラグインi vmcツールi 15Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 16. Cloud Foundry アーキテクチャ Client CF Kernel Orchestrator IaaS 16Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 17. CF Kernel 各モジュール(Rouers,DEA..など)をシンプルなRubyアプリケーションで実装 Cloud Foundry Inner Shell and Up Developers Users Routers CloudControllers Stagers App App HealthManager Execution Agents Services (DEA) Pool Messaging 17Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 18. CF Kernel 各モジュールを負荷に応じて分散構成でき、スケールアウト可能なアークテクチャ VM Health Manager VM VM Messaging Router Router Cloud Controller DEA DEA uBuntu OS uBuntu OS uBuntu OS vSphere vSphere vSphere 18Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 19. Cloud  Foundry  アーキテクチャ Client CF Kernel Orchestrator IaaS 19Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 20. Cloud  Foundry  本番稼働における課題 20Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 21. Orchestrator Deploy PaaS with BOSH Sends droplet heart beats and exit messages Router Router Registers and Registers and unregisters unregisters CLI Routes REST API Routes droplet requests requests Droplet change notifications Droplet Cloud Controller Orchestrates Health Manager start/stop Cloud Controller (Start, Stop, Find) Droplet Execution requests Agent (DEA) Periodically scans Persists droplets for consistency and provisioned Guest applications Advertise services consume Cloud Service Controller Provision and Database unprovision Service "A" Provision Service and "A" Provisioning Agent unprovision BOSH IaaS 21Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 22. Orchestrator  BOSHによるIaaSの選択 https://github.com/piston/ openstack-bosh-cpi Cloud Foundry BOSH Cloud Provider Interface(CPI) vSphere 22Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 23. Ø PaaSクラウドサービス Ø Open  PaaSクラウド(Cloud  Foundry) Ø Demo Ø まとめ 23Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 24. Cloud  Foundryのアカウント取得 24Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 25. サインアップ登録画面へ ①https://my.cloudfoundry.com/signup Emailアカウント⼊入⼒力力 同意選択 コード⼊入⼒力力 25Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 26. ②emailを受信 26Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 27. vmcインストール 27Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 28. ①Rubyインストール(1.9.2  or  1.8.7)http://pub.cozmixng.org/~∼the-‐‑‒rwiki/rw-‐‑‒cgi.rb?cmd=view;name=Ruby+Install+Guide②RubyGemsインストールhttp://docs.rubygems.org/read/chapter/3③bundlerインストール    “gem  install  bundle”④vmcインストール      “gem  install  vmc” 28Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 29. Cloud  Foundryアプリケーション作成&デプロイ 29Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 30. Ø PaaSクラウドサービス Ø Open  PaaSクラウド(Cloud  Foundry) Ø Demo Ø まとめ 30Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents .
  • 31. まとめØ  Open  PaaS  Cloud  Foundry(ロックインからオープンへ) •  VMwareのイニシアティブよる業界初のオープンPaaSプロジェク •  開発者向けのPaaSサービス提供(www.cloudfoundry.com) •  オープンソースコミュニティを設⽴立立、PaaS基盤をオープンソースとして提供 (www.cloudfoundry.org)Ø Cloud  Foundryアーキテクチャ •  スケーラビリティを持ったRubyベースのアプリケーション •  IaaSマルチクラウド対応  (Deploy  PaaS  with  BOSH  )Ø  Cloud  Foundryアプリケーション作成&デプロイ 31