21
©2015 Apigee Corp. All Rights Reserved. Using CF Route Service to Publish, Secure, Monitor APIs Ed Anuff @anuff Carlos Eberhardt @carloseberhardt

Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

  • Upload
    pivotal

  • View
    218

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

Using CF Route Service to Publish, Secure, Monitor APIsEd Anuff @anuffCarlos Eberhardt @carloseberhardt

Page 2: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved. 2

What is an APIA Contract

Page 3: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

What is API

3

• HTTP• TLS• OAuth• JSON• Nothin

g elseHTTP://HTTPS://

Page 4: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

Why APIs

4

• Simple• Universal• Every developer understands

them

Page 5: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©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

Page 6: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©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

Page 7: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

What are CF Route Services?

A new kind of marketplace service that can be injected in the application request path

Page 8: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

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

Page 9: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

How are PCF Route Services used?

Ensure Performance, Reliability

Compliance, Security, Audit

Real Time Analytics, Metering

Compliance, Security, Audit

Page 10: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

Operators Developers

Page 11: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

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

Page 12: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

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

Page 13: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

Simple

Route Service

s

Gorouter

App

ServiceBroker

Client

Gorouter

App

Service

Broker

Route Service

s

Dynamic

Client

How Route Services work

Page 14: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

What is API Management ?

14

Page 15: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

Scalable Adoption needs API Management

15

APP

APP

APP

Partner Apps Developers

Visibility / Analytics

Security

Developer Portal

Page 16: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

Apigee enables hundred of companies

16

Page 17: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©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

Page 18: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©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

Page 19: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved.

Demo

Page 20: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©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

Page 21: Publish, Secure, and Monitor APIs with Cloud Foundry Route Services

©2015 Apigee Corp. All Rights Reserved. 21

2:00 PM Session:

Are Your MicroservicesVisit the

Apigee Booth

OR