Upload
pivotal
View
218
Download
0
Embed Size (px)
Citation preview
©2015 Apigee Corp. All Rights Reserved.
Using CF Route Service to Publish, Secure, Monitor APIsEd Anuff @anuffCarlos Eberhardt @carloseberhardt
©2015 Apigee Corp. All Rights Reserved. 2
What is an APIA Contract
©2015 Apigee Corp. All Rights Reserved.
What is API
3
• HTTP• TLS• OAuth• JSON• Nothin
g elseHTTP://HTTPS://
©2015 Apigee Corp. All Rights Reserved.
Why APIs
4
• Simple• Universal• Every developer understands
them
©2015 Apigee Corp. All Rights Reserved.
The Gap : Scaling Adoption of software is HARD
5
Partners Internal Businesses
Total Cost = (Cost of Onboarding + Cost of Management) * # of consumers of your software * Churn
APP
APP
APP
©2015 Apigee Corp. All Rights Reserved.
Scale Adoption of Apps with APIs
6
Partners Open EcosystemInternal Businesses
APIs are the key enabler to building your digital
platformAPP
APP
APP
What are CF Route Services?
A new kind of marketplace service that can be injected in the application request path
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
How are PCF Route Services used?
Ensure Performance, Reliability
Compliance, Security, Audit
Real Time Analytics, Metering
Compliance, Security, Audit
Operators Developers
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 servicescf curl /v2/events?q=type:audit.service_instance.create
Developers
1.) Discover service in marketplacecf marketplace
2.) Create a CUPS or a Marketplace service
cf create-user-provided-service SERVICE_INSTANCE -r ROUTE_SERVICE_URLor
cf create-service SERVICE PLAN SERVICE_INSTANCE
3.) Bind Routing Service to the Routecf bind-route-service DOMAIN --hostname HOST SERVICE_INSTANCE
Simple
Route Service
s
Gorouter
App
ServiceBroker
Client
Gorouter
App
Service
Broker
Route Service
s
Dynamic
Client
How Route Services work
©2015 Apigee Corp. All Rights Reserved.
What is API Management ?
14
©2015 Apigee Corp. All Rights Reserved.
Scalable Adoption needs API Management
15
APP
APP
APP
Partner Apps Developers
Visibility / Analytics
Security
Developer Portal
©2015 Apigee Corp. All Rights Reserved.
Apigee enables hundred of companies
16
©2015 Apigee Corp. All Rights Reserved.
Route Services with Apigee Service Broker
17
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
2Bind route service for your app to Apigee
3Apigee automatically creates API proxy, policies are applied and APIs can be published to Developer portal
4All requests automatically
routed to Apigee for security, analytics and
traffic management
©2015 Apigee Corp. All Rights Reserved.
Route Services with Apigee Microgateway
18
YOUR APP
Apigee Service Broker
Apigee Management API
AuthenticationService
YOUR APP
YOUR APP
YOUR APP
Analytics Services
Async Communication
Legacy
App
©2015 Apigee Corp. All Rights Reserved.
Demo
©2015 Apigee Corp. All Rights Reserved.
Microgateway Buildpack Decorator
20
YOUR APP
Apigee Management API
AuthenticationService
YOUR APP
YOUR APP
YOUR APP
Analytics Services
Async Communication
©2015 Apigee Corp. All Rights Reserved. 21
2:00 PM Session:
Are Your MicroservicesVisit the
Apigee Booth
OR