SlideShare a Scribd company logo
1 of 32
Download to read offline
Cloud  FoundryではじめるPaaSアプリケーション
               開発⼊入⾨門講座
                                 2012年年12⽉月16⽇日
                               ヴイエムウェア株式会社
      クラウドアプリケーションプラットフォーム  テクニカル・エバンジェリスト
                                       池⽥田  俊彦




                                     © 2011 VMware Inc. All rights reserved
⾃自⼰己紹介
            池⽥田俊彦
        twitter:tikeda123
VMware  Cloud  Foundry,Spring関連の
    エバンジェリストとして活動
Ø PaaSクラウドサービス
        Ø Open  PaaSクラウド(Cloud  Foundry)
        Ø Demo
        Ø まとめ




    3
Copyright © 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 .
新しいITに対応する為に必要な環境


             ワークスタイルの変⾰革

            いつでも、どこでも、あらゆ
             る端末で上で全てのアプリ
             ケーションを安全に実⾏行行




                   クラウド時代の
                  アプリケーション

            最新アプリケーションの市場
              投⼊入までの時間を短縮




                        クラウド基盤
                         災害対策

           柔軟性、拡張性、効率率率性に優れ                                                                                                                                                                     可視化
           た、全てのアプリケーションの
                                                                         プライベートクラウド                                                                                      DR
            ためのインフラストラクチャ




    4
Copyright © 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 .
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
  4
Copyright © 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 .
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
  4
Copyright © 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 .
Webアプリケーション構築に要する期間


            Webアプリケーション構築に要する期間として約3ヶ⽉月程度度が必要




                                                                                                                                                                       tomcat




サーバ調達                        ネットワーク      OSインストール&
(1カ⽉月)                       /ストレージ                  DBインストール&   JVM/Web/Appサーバ  アプリケーション
                                        パラメータ設定(4⽇日) パラメータ設定/                   運⽤用監視設定(7⽇日)
                          /サーバの構築(1ヶ⽉月)                             インストール/
                                                   チューニング作業(7⽇日)
                                                               アプリケーションデプロイ
                                                                   パラメータ設定/
                                                               チューニング作業(10⽇日)




  インフラ調達・構築(2ヶ⽉月) ミドルウェア構築&アプリケションの配布(1ヶ⽉月)



    7
Copyright © 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 .
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分以内)	

    8
Copyright © 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 .
PaaSクラウドのあるべき姿
        クラウドへのアプリケーション実装を迅速かつ容易易に展開
                     •               ⾃自動設定(Auto-‐‑‒configuration)
                     •               ⾃自動プロビジョニング(Auto-‐‑‒Provisioning)
                     •               スケールアウト・イン(Scale  [out,in])


                                                                                                                                                                                             開発ツールと開発・
                                                                                                                                                                                             実行環境提供
      アプリケーション                                                                                           アプリケーション                                          開発者
      ユーザ                                                                                                開発	


          負荷に応じてス
          ケールアウト	




                                                                                                                                        Eclipse  PlugIn            Deployツール




                                                                                                                                                                     フレーム
                                                                                                                                         データベース                      ワーク                     APサーバ                        JVM



    9
Copyright © 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 .
Ø PaaSクラウドサービス
       Ø Open  PaaSクラウド(Cloud  Foundry)
       Ø Demo
       Ø まとめ




    10
Copyright © 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 .
Open  PaaS  Cloud  Foundry



                                                          VMwareのイニシアティブよる業界初のオープンPaaSプロジェクト

                                                                                                                                                                                                                       Beta
                                                                        開発者向けのPaaSサービス提供(www.cloudfoundry.com)	

                                                         オープンソースコミュニティを設⽴立立、PaaS基盤をオープンソースと
                                                                 して提供(www.cloudfoundry.org)	



                        ロックインされたクラウド	
                                                                                                         オープンなクラウド	

                    q  独⾃自⾔言語                                                                                                            q  豊富な選択肢  
                    q  独⾃自技術                                                                                                             q  標準的な技術
                    q  ブラックボックス                                                                                                          q  オープンソース


                                                                                                                                                                                プライベート	

                                                                                                                                                                                          Other	


    11
Copyright © 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 .
Open  PaaS  Cloud  Foundry

Choice 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	
  


    12
Copyright © 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 .
Cloud  Foundry  アーキテクチャ




                                                                                                                    Client 	


                                                                                                            CF Kernel 	


                                                                                                       Orchestrator 	


                                                                                                                       IaaS	




    13
Copyright © 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 .
Cloud  Foundry  アーキテクチャ




                                                                                                                    Client 	


                                                                                                            CF Kernel 	


                                                                                                       Orchestrator 	


                                                                                                                       IaaS	




    14
Copyright © 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 .
Cloud  Foundry  Clients  (vmcツール、eclipse⽤用プラグイン)




                                                                        Eclipse⽤用
                                                                        プラグインi




                                                                         vmcツールi




    15
Copyright © 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 .
Cloud Foundry アーキテクチャ
                                                                                 	



                                                                                                                    Client 	


                                                                                                            CF Kernel 	


                                                                                                       Orchestrator 	


                                                                                                                       IaaS	




    16
Copyright © 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 .
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




    17
Copyright © 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 .
CF Kernel
                                                                                                              	
各モジュールを負荷に応じて分散構成でき、スケールアウト可能なアークテクチャ


                                     VM

                       Health Manager
                                                                                                  VM                                                                                                                VM
                             Messaging                                                        Router                                                                                                             Router


                       Cloud Controller                                                          DEA                                                                                                               DEA

                         uBuntu OS                                                    uBuntu OS                                                                                                         uBuntu OS

                             vSphere                                                      vSphere                                                                                                           vSphere




    18
Copyright © 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 .
Cloud  Foundry  アーキテクチャ




                                                                                                                    Client 	


                                                                                                            CF Kernel 	


                                                                                                       Orchestrator 	


                                                                                                                       IaaS	




    19
Copyright © 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 .
Cloud  Foundry  本番稼働における課題




    20
Copyright © 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 .
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


    21
Copyright © 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 .
Orchestrator  BOSHによるIaaSの選択

                           https://github.com/piston/
                           openstack-bosh-cpi




                                                                                             Cloud Foundry BOSH


                                                                                   Cloud Provider Interface(CPI)




                                                                                                                  vSphere	



    22
Copyright © 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 .
Ø PaaSクラウドサービス
       Ø Open  PaaSクラウド(Cloud  Foundry)
       Ø Demo
       Ø まとめ




    23
Copyright © 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 .
Cloud  Foundryのアカウント取得




    24
Copyright © 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 .
サインアップ登録画面へ
                  ①https://my.cloudfoundry.com/signup	




                                                    Emailアカウント⼊入⼒力力




                                                                                                 同意選択



                                                                                          コード⼊入⼒力力




    25
Copyright © 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 .
②emailを受信	




    26
Copyright © 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 .
vmcインストール




    27
Copyright © 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 .
①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”




    28
Copyright © 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 .
Cloud  Foundryアプリケーション作成&デプロイ




    29
Copyright © 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 .
Ø PaaSクラウドサービス
       Ø Open  PaaSクラウド(Cloud  Foundry)
       Ø Demo
       Ø まとめ




    30
Copyright © 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 .
まとめ


Ø  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
Cloud FoundryではじめるPaaSアプリケーション 開発入門講座

More Related Content

What's hot

NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...VirtualTech Japan Inc.
 
Practical Operation Automation with StackStorm
Practical Operation Automation with StackStormPractical Operation Automation with StackStorm
Practical Operation Automation with StackStormShu Sugimoto
 
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...VirtualTech Japan Inc.
 
Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01
Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01
Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01Accenture
 
Camel on Cloud by Christina Lin
Camel on Cloud by Christina LinCamel on Cloud by Christina Lin
Camel on Cloud by Christina LinTadayoshi Sato
 
DevOps Practices: Configuration as Code
DevOps Practices:Configuration as CodeDevOps Practices:Configuration as Code
DevOps Practices: Configuration as CodeDoug Seven
 
kubernetes-meetup-tokyo-20210624-kubevirt
kubernetes-meetup-tokyo-20210624-kubevirtkubernetes-meetup-tokyo-20210624-kubevirt
kubernetes-meetup-tokyo-20210624-kubevirtYukinori Sagara
 
Building and Customizing CoreOS
Building and Customizing CoreOSBuilding and Customizing CoreOS
Building and Customizing CoreOS雄也 日下部
 
Jcconf 2015 Taipei -- Bluemix java liberty -auto-configration
Jcconf 2015 Taipei -- Bluemix java liberty -auto-configrationJcconf 2015 Taipei -- Bluemix java liberty -auto-configration
Jcconf 2015 Taipei -- Bluemix java liberty -auto-configrationJoseph Chang
 
Drupal Efficiency using open source technologies from Sun
Drupal Efficiency using open source technologies from SunDrupal Efficiency using open source technologies from Sun
Drupal Efficiency using open source technologies from Sunsmattoon
 
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke KawaguchiTap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke KawaguchiZeroTurnaround
 
Robert collins openstack on openstack 201304162
Robert collins   openstack on openstack 201304162Robert collins   openstack on openstack 201304162
Robert collins openstack on openstack 201304162OpenStack Foundation
 
Expert Day 2019 - CaaSP et CAP
Expert Day 2019 - CaaSP et CAPExpert Day 2019 - CaaSP et CAP
Expert Day 2019 - CaaSP et CAPSUSE
 
[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes
[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes
[OpenStack Day in Korea] OpenStack Provisioning in 30 minutesSungjin Kang
 
Expert Day 2019 - Introduction
Expert Day 2019 - IntroductionExpert Day 2019 - Introduction
Expert Day 2019 - IntroductionSUSE
 
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...Patrick Chanezon
 
Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Patrick Chanezon
 
Expert Day 2019 - SUSE OpenStack Cloud
Expert Day 2019 - SUSE OpenStack CloudExpert Day 2019 - SUSE OpenStack Cloud
Expert Day 2019 - SUSE OpenStack CloudSUSE
 
TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)
TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)
TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)TOAST_NHNent
 

What's hot (20)

NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
NTTドコモ様 導入事例 OpenStack Summit 2015 Tokyo 講演「After One year of OpenStack Cloud...
 
Practical Operation Automation with StackStorm
Practical Operation Automation with StackStormPractical Operation Automation with StackStorm
Practical Operation Automation with StackStorm
 
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
GMOインターネット様 発表「OpenStackのモデルの最適化とConoHa, Z.comとGMOアプリクラウドへの適用」 - OpenStack最新情...
 
Rakuten openstack
Rakuten openstackRakuten openstack
Rakuten openstack
 
Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01
Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01
Mueller bacdjuly2012privatepaaswithstackato-120712154134-phpapp01
 
Camel on Cloud by Christina Lin
Camel on Cloud by Christina LinCamel on Cloud by Christina Lin
Camel on Cloud by Christina Lin
 
DevOps Practices: Configuration as Code
DevOps Practices:Configuration as CodeDevOps Practices:Configuration as Code
DevOps Practices: Configuration as Code
 
kubernetes-meetup-tokyo-20210624-kubevirt
kubernetes-meetup-tokyo-20210624-kubevirtkubernetes-meetup-tokyo-20210624-kubevirt
kubernetes-meetup-tokyo-20210624-kubevirt
 
Building and Customizing CoreOS
Building and Customizing CoreOSBuilding and Customizing CoreOS
Building and Customizing CoreOS
 
Jcconf 2015 Taipei -- Bluemix java liberty -auto-configration
Jcconf 2015 Taipei -- Bluemix java liberty -auto-configrationJcconf 2015 Taipei -- Bluemix java liberty -auto-configration
Jcconf 2015 Taipei -- Bluemix java liberty -auto-configration
 
Drupal Efficiency using open source technologies from Sun
Drupal Efficiency using open source technologies from SunDrupal Efficiency using open source technologies from Sun
Drupal Efficiency using open source technologies from Sun
 
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke KawaguchiTap into the power of slaves with Jenkins by Kohsuke Kawaguchi
Tap into the power of slaves with Jenkins by Kohsuke Kawaguchi
 
Robert collins openstack on openstack 201304162
Robert collins   openstack on openstack 201304162Robert collins   openstack on openstack 201304162
Robert collins openstack on openstack 201304162
 
Expert Day 2019 - CaaSP et CAP
Expert Day 2019 - CaaSP et CAPExpert Day 2019 - CaaSP et CAP
Expert Day 2019 - CaaSP et CAP
 
[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes
[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes
[OpenStack Day in Korea] OpenStack Provisioning in 30 minutes
 
Expert Day 2019 - Introduction
Expert Day 2019 - IntroductionExpert Day 2019 - Introduction
Expert Day 2019 - Introduction
 
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
Docker San Francisco Meetup April 2015 - The Docker Orchestration Ecosystem o...
 
Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012Cloud Foundry Introduction - Canada - October 2012
Cloud Foundry Introduction - Canada - October 2012
 
Expert Day 2019 - SUSE OpenStack Cloud
Expert Day 2019 - SUSE OpenStack CloudExpert Day 2019 - SUSE OpenStack Cloud
Expert Day 2019 - SUSE OpenStack Cloud
 
TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)
TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)
TOAST Meetup2015 - TOAST Cloud XaaS framework architecture (문지응)
 

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

Tanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - EnglishTanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - EnglishVMware Tanzu
 
Virtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - EnglishVirtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - EnglishVMware Tanzu
 
XebiaLabs Overview Slides
XebiaLabs Overview SlidesXebiaLabs Overview Slides
XebiaLabs Overview SlidesXebiaLabs
 
Cloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveCloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveDave McCrory
 
Devops lifecycle with Kabanero Appsody, Codewind, Tekton
Devops lifecycle with Kabanero Appsody, Codewind, TektonDevops lifecycle with Kabanero Appsody, Codewind, Tekton
Devops lifecycle with Kabanero Appsody, Codewind, TektonWinton Winton
 
V c loudapi_coffeetalk__pimplaskar_may2010
V c loudapi_coffeetalk__pimplaskar_may2010V c loudapi_coffeetalk__pimplaskar_may2010
V c loudapi_coffeetalk__pimplaskar_may2010Pablo Roesch
 
PHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixPHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixIBM
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developersDaniel Krook
 
What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6dektlong
 
tanzu_developer_connect.pptx
tanzu_developer_connect.pptxtanzu_developer_connect.pptx
tanzu_developer_connect.pptxVMware Tanzu
 
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCode
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCodeContinuous Application Delivery to WebSphere - Featuring IBM UrbanCode
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCodeIBM UrbanCode Products
 
VMware TechTues - Veeam Availability Suite
VMware TechTues - Veeam Availability SuiteVMware TechTues - Veeam Availability Suite
VMware TechTues - Veeam Availability SuiteTeck Sze Tay
 
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware CloudTudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware CloudITSpark Community
 
Flash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in AzureFlash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in AzureYoong Seng Lai
 
20171024 文化大學 1 azure big data ai
20171024 文化大學 1 azure big data ai20171024 文化大學 1 azure big data ai
20171024 文化大學 1 azure big data aiMeng-Ru (Raymond) Tsai
 
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs
 
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
PCF: Platform for a New Era - Kubernetes for the Enterprise - LondonPCF: Platform for a New Era - Kubernetes for the Enterprise - London
PCF: Platform for a New Era - Kubernetes for the Enterprise - LondonVMware Tanzu
 
Continuous delivery with azure app service
Continuous delivery with azure app serviceContinuous delivery with azure app service
Continuous delivery with azure app serviceNabeel Khan
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023VMware Tanzu
 

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

Tanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - EnglishTanzu Developer Connect Workshop - English
Tanzu Developer Connect Workshop - English
 
Virtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - EnglishVirtual Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
 
XebiaLabs Overview Slides
XebiaLabs Overview SlidesXebiaLabs Overview Slides
XebiaLabs Overview Slides
 
Cloud Foundry a Developer's Perspective
Cloud Foundry a Developer's PerspectiveCloud Foundry a Developer's Perspective
Cloud Foundry a Developer's Perspective
 
Devops lifecycle with Kabanero Appsody, Codewind, Tekton
Devops lifecycle with Kabanero Appsody, Codewind, TektonDevops lifecycle with Kabanero Appsody, Codewind, Tekton
Devops lifecycle with Kabanero Appsody, Codewind, Tekton
 
V c loudapi_coffeetalk__pimplaskar_may2010
V c loudapi_coffeetalk__pimplaskar_may2010V c loudapi_coffeetalk__pimplaskar_may2010
V c loudapi_coffeetalk__pimplaskar_may2010
 
V fabric overview
V fabric overviewV fabric overview
V fabric overview
 
PHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixPHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on Bluemix
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developers
 
What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6What's new in Pivotal Cloud Foundry 1.6
What's new in Pivotal Cloud Foundry 1.6
 
tanzu_developer_connect.pptx
tanzu_developer_connect.pptxtanzu_developer_connect.pptx
tanzu_developer_connect.pptx
 
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCode
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCodeContinuous Application Delivery to WebSphere - Featuring IBM UrbanCode
Continuous Application Delivery to WebSphere - Featuring IBM UrbanCode
 
VMware TechTues - Veeam Availability Suite
VMware TechTues - Veeam Availability SuiteVMware TechTues - Veeam Availability Suite
VMware TechTues - Veeam Availability Suite
 
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware CloudTudor Damian - Comparing Microsoft Cloud with VMware Cloud
Tudor Damian - Comparing Microsoft Cloud with VMware Cloud
 
Flash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in AzureFlash Card-Architect Compute Infrastructure in Azure
Flash Card-Architect Compute Infrastructure in Azure
 
20171024 文化大學 1 azure big data ai
20171024 文化大學 1 azure big data ai20171024 文化大學 1 azure big data ai
20171024 文化大學 1 azure big data ai
 
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
XebiaLabs, CloudBees, Puppet Labs Webinar Slides - IT Automation for the Mode...
 
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
PCF: Platform for a New Era - Kubernetes for the Enterprise - LondonPCF: Platform for a New Era - Kubernetes for the Enterprise - London
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
 
Continuous delivery with azure app service
Continuous delivery with azure app serviceContinuous delivery with azure app service
Continuous delivery with azure app service
 
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
 

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

  • 1. Cloud  FoundryではじめるPaaSアプリケーション 開発⼊入⾨門講座 2012年年12⽉月16⽇日 ヴイエムウェア株式会社 クラウドアプリケーションプラットフォーム  テクニカル・エバンジェリスト 池⽥田  俊彦 © 2011 VMware Inc. All rights reserved
  • 2. ⾃自⼰己紹介 池⽥田俊彦 twitter:tikeda123 VMware  Cloud  Foundry,Spring関連の エバンジェリストとして活動
  • 3. Ø PaaSクラウドサービス Ø Open  PaaSクラウド(Cloud  Foundry) Ø Demo Ø まとめ 3 Copyright © 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 ためのインフラストラクチャ 4 Copyright © 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 4 Copyright © 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 4 Copyright © 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ヶ⽉月) 7 Copyright © 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分以内) 8 Copyright © 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 9 Copyright © 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 Ø まとめ 10 Copyright © 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 11 Copyright © 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  Foundry Choice 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   12 Copyright © 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 13 Copyright © 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 14 Copyright © 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 15 Copyright © 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 16 Copyright © 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 17 Copyright © 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 18 Copyright © 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 19 Copyright © 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  本番稼働における課題 20 Copyright © 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 21 Copyright © 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 22 Copyright © 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 Ø まとめ 23 Copyright © 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のアカウント取得 24 Copyright © 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アカウント⼊入⼒力力 同意選択 コード⼊入⼒力力 25 Copyright © 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を受信 26 Copyright © 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インストール 27 Copyright © 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” 28 Copyright © 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アプリケーション作成&デプロイ 29 Copyright © 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 Ø まとめ 30 Copyright © 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