Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Routeサービスを使ったCloud FoundryアプリのAPI管理

1 763 vues

Publié le

Cloud Foundry Days in Tokyo 2016での発表資料です。#cfdtokyo

Publié dans : Technologie
  • Soyez le premier à commenter

Routeサービスを使ったCloud FoundryアプリのAPI管理

  1. 1. ©2015 Apigee Corp. All Rights Reserved. Routeサービスを使ったCloud FoundryアプリのAPI管理 Kazuchika Sekiya (Apigee) Gwenn Etourneau (Pivotal)
  2. 2. ©2015 Apigee Corp. All Rights Reserved. 自己紹介 2 買収 買収転職 関谷 和愛 Solution Architect, Apigee https://about.me/kazuchika #java #groovy #api
  3. 3. ©2015 Apigee Corp. All Rights Reserved. What is API? Why APIs? 3
  4. 4. ©2015 Apigee Corp. All Rights Reserved. What is API? 4
  5. 5. ©2015 Apigee Corp. All Rights Reserved. Why APIs? Open APIとAPIエコノミー 5
  7. 7. ©2015 Apigee Corp. All Rights Reserved. What is API Management ? 7
  8. 8. ©2015 Apigee Corp. All Rights Reserved. What is API Management? 8
  9. 9. ©2015 Apigee Corp. All Rights Reserved. Apigee: The API Company 9 API管理サービスのパイオニア&リーダー
  10. 10. What are CF Route Services? A new kind of marketplace service that can be injected in the application request path 10
  11. 11. Why Route Services Compliance, Security, Audit • Enable developers to automatically insert services into the request path for their applications and configure them for their specific needs • A new class of marketplace service (User-provided also supported). • Increasing developer velocity through automated, self- service integrations 11
  12. 12. What is Routing Compliance, Security, Audit • Routing in Cloud Foundry is the process by which requests to applications are forwarded to their intended destination • A dynamic routing tier is necessary because Cloud Foundry may move application instances between hosts for high availability • Developers manage the URLs their applications receive requests for • Requests to Cloud Foundry system components are managed this way, too 12
  13. 13. How are PCF Route Services used? Ensure Performance, Reliability Compliance, Security, Audit Real Time Analytics, Metering Compliance, Security, Audit 13
  14. 14. Operators Developers 14
  15. 15. Service broker Compliance, Security, Audit • Service Brokers provide an interface / API for native and external 3rd party services. • Some example like Database, Route Service, Persistent Storage, Container networking and so on. • Limit is your imagination… 15
  16. 16. Operators 1. Given a compatible service, simply register the service broker cf create-service-broker NAME USERNAME PASSWORD URL 2. Grant or revoke access to service plans per CF organization cf enable-service-access SERVICE -p PLAN -o ORG 3. Log and audit use of services cf curl /v2/events?q=type:audit.se rvice_instance.create 16
  17. 17. Developers 1.) Discover service in marketplace cf marketplace 2.) Create a CUPS or a Marketplace service cf create-user-provided- service SERVICE_INSTANCE - r ROUTE_SERVICE_URL or cf create-service SERVICE PLAN SERVICE_INSTANCE 3.) Bind Routing Service to the Route cf bind-route-service DOMAIN --hostname HOST SERVICE_INSTANCE 17
  18. 18. Simple Route Services Gorouter App Service Broker Client Gorouter App Servic e Broker Route Services Dynamic Client How Route Services work 18
  19. 19. ©2015 Apigee Corp. All Rights Reserved. デモ 19
  20. 20. ©2015 Apigee Corp. All Rights Reserved. Routeサービスを使ったシームレスなAPI管理の統合 20 App Clients or Partner Apps CF Router YOUR APP Apigee Service Broker Apigee Management API API Proxy (Route Service) 1 Install Apigee Tile from CF marketplace & create Apigee Edge service 2 Bind route service for your app to Apigee 3 Apigee automatically creates API proxy, policies are applied and APIs can be published to Developer portal 4 All requests automatically routed to Apigee for security, analytics and traffic management
  21. 21. ©2015 Apigee Corp. All Rights Reserved. デモ • APIアプリをプッシュ • ルートサービスを生成してアプリにバインド • API管理側でトラフィック制御や変換などの設定を試す 21
  22. 22. ©2015 Apigee Corp. All Rights Reserved. まとめ • Why APIs? – APIエコノミー、Microservices • API管理はAPIの効率的な開発・運用を強力にサポート – 認証・認可、トラフィック管理、アナリティクス – コア機能の開発に集中できる • CFではRouteサービスによりシームレスにAPI管理を統合可能 – Pivotal Cloud FoundryとApigee Edgeの統合例 22