39
API Management Rise of the planet of the Apps Sandro Pereira Microsoft Azure MVP XXIII EVENTO PORTO.DATA

API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Embed Size (px)

Citation preview

Page 1: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

API ManagementRise of the planet of the Apps

Sandro PereiraMicrosoft Azure MVP

XXIII EVENTO PORTO.DATA

Page 2: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

[email protected]/in/sandropereira@sandro_asp sandroaspbiztalkblog.wordpress.com

Good afternoon….

+351 223 751 350www.devscope.net

Sandro PereiraMicrosoft Azure MVP

Page 3: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Sorry my sport look today…

But is good to be back helping the community after I been in surgery 7 days ago

Page 4: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Introduction to Azure API Management Explain API Management and its valueShow API Management in action

Agenda

Page 5: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

What is an API?•“In the simplest terms, an application programming interface, or API, is a set of requirements that enables one application to talk to another application.” *

* http://readwrite.com/2013/04/24/api-gold-rush

Page 6: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Source Idea from Kent Weare slides http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 7: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

What is a Web API?•Similar in nature but have a prescribed implementation:•HTTP(s)• RESTful• JSON (preferred), XML (supported)• Spec Driven (Swagger, RAML, WADL, API Blueprint)

(ish)

Page 8: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Business of APIs

API Econom

y

ISVs

New Channel

s

Marketing & Customer Relationshi

ps

API Security

Internal Agility

Page 9: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

The rise of APIs• “In the age of the customer,

every business is a digital business. This means software is central for today’s enterprises, and APIs are central for today’s software.”

• ”... APIs play on the frontlines of business opportunity, creating new sources of revenue and market presence; they play behind the scenes, unlocking data and transactions buried in back-office systems; and they play anywhere in between.”

• “Sizing The Market For API Management Solutions”

• Randy Heffner and Michael Yamnitsky• Forrester Research Inc.

• April 2, 2015

Page 10: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

2006 2007 2008 2009 2010 2011 2012 20130

5000

10000

15000

20000

25000

Number of Public APIs

Managed Total APIs

Continued robust growth in APIsFueled by mobile, cloud, open & big data, IoTPublic APIs are just the “tip of the iceberg”APIs are a core component for many startupsAPIs are drivers of innovation in the enterprises

The Rise of APIs

Page 11: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

The Power of APIsThe power of APIs - In 2015 • Uber, the world's largest taxi company owns no

vehicles• Facebook, the world's most popular media

owner creates no content• Alibaba, the most valuable retailer has no

inventory • Airbnb, the world's largest accommodation

provider owns no real estateSource: LinkedIn

Page 12: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Who uses APIs in their Business?

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 13: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

But…•How do you engage with developers?•How do you reduce TTFSC?•How do you enforce your business policies?•How do you make your legacy API modern?•How do you understand their behavior?•How do you protect your core business systems?

API Management

Page 14: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

…with help from Vince Vaughn

Extending a platformnew channels, more

customers

empl

oyee

s partn

ers

deve

lope

rs

API

let’s talk about apis and how they can boost your business

Page 15: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Intern IT Manager

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 16: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

16

I need to ‘mobilize’

our existing systems

We need more

channels!

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 17: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

17

6 weeks? Try 6

months.

When we go live with this in 6 weeks. We will leapfrog the competition and I will get a huge bonus!!!

Security?Enrollment?Governanc

e?Visibility?

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 18: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

• #$%&#^% IT is too slow!!!• Amateurs• I should just outsource everything

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 19: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

I have no idea how we are going to do

this. It takes 6 weeks just for

change management.

What is API Management?

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 20: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

This might actually work since I don’t

need to get the whole IT Department

involved.

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 21: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

…and we didn’t

need to re-write backend services

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 22: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

No Firewall Ports need to be openedOut of Box AuthenticationThrottling and Rate LimitingCaching

Self Service Enrollment

Leverage existing investments

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 23: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

…and we now have analytics so

we can track where requests are coming from and drive future

investment

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 24: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

I knew we could do it!

Drinks on me.

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 25: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

What is API Management?

Source from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 26: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Development Engagement

Analytics

Authentication and Authorization

Policy Enforcement

API Management provide similar services

Page 27: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

AgilitySource idea from Kent Weare slides: http://www.slideshare.net/biztalk360/api-management-part-1-an-introduction-to-azure-api-management

Page 28: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Microsoft Azure API Management life cycle

Azure API

MGMT

Project existing or

new services as APIs

Publish APIs to developers, partners and

citizens

View Operational

and Business insights through

Analytics

Developer Engagement

Page 29: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Azure API Management

Facadedecouple

modernizeoptimize

...

Middlewaresecureprotectcache

...

Monitoringusagehealth

monetization...

Developerdiscover

documenton-board

...

AZURE API MANAGEMENT

Page 30: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Azure API Management

Facadedecouple

modernizeoptimize

...

Middlewaresecureprotectcache

...

Monitoringusagehealth

monetization...

Developerdiscover

documenton-board

...

On-prem APIs 3rd party APIs

AZURE API MANAGEMENT

APIs on Azure Azure APIs

Page 31: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Facadedecouple

modernizeoptimize

...

Middlewaresecureprotectcache

...

Monitoringusagehealth

monetization...

Developerdiscover

documenton-board

...

Azure API Management

On-prem APIs 3rd party APIs

AZURE API MANAGEMENT

APIs on Azure Azure APIs

API consumers

Page 32: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

APP DEVELOPERS

APPS

API PUBLISHERS

Hosted anywhere.

Developed using any technology.

BACKENDAPIs

DIRECT ORVPN

AZURE API MANAGEMENT

Publisher portal

Gateway

Developer Portal

DEVELOPER PORTALREGISTRATIONDOCUMENTATIONINTERACTIVE API CONSOLEDEVELOPER ANALYTICSAPP GALLERYFORUMSNEWSISSUESWIKI

API PROXYSCALINGCACHINGMONITORINGTRAFFIC MANAGEMENT

ADMIN PORTALAPI PUBLISHINGSUBSCRIPTION MANAGEMENTSECURITYMEDIATIONCONTENT PUBLISHINGSITE CUSTOMIZATIONISSUE MANAGEMENTANALYTICSREPORTS

Page 33: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

• Establish a single API “front door” • Build an API façade for existing backend services• Add new capabilities to the APIs, such as response

caching • Reliably protect published APIs from misuse and abuse• Package and publish APIs to developers and partners• On-board developers via a self-service portal• Ramp-up developers with docs, samples, and API

console• Gain insights into API usage and health from analytics

reports

Why API Management?

Page 34: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

PoliciesEncapsulate common API management capabilitiesMutate request context or change API behavior Can be set in the inbound and outbound directionsHave global, product, API or operation scope

ExpressionsC# “snippets” embedded in policiesHave read-only access to the request contextCan use whitelisted .NET types onlyAre used to dynamically configure policies

Briefly about policies and expressions

Page 35: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

• Modernize legacy backends

• Package APIs into tiers• Enforce usage limits• Provide support and

receive feedback

Mobile enablement

Partner ecosystem

• Optimize and secure backend

• Authorize and throttle requests

• Get visibility into usage and health

• Drive developer adoption

Business agility

• Normalize legacy backends

• Build the catalog of APIs

• Accept organizational ID

• Respect org structure

Common scenarios

Page 36: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

APPS

BACKENDSERVICESAZURE API

MANAGEMENT

<log-to-eventhub logger-id=“id” partition-key=“@(expression)”> @{expression}</log-to-eventhub>

Stream Analytics Power BIEvent Hub

JSON, XML, CSV...

SQL DatabaseMachine Learning Function

Data Late ClusterData Lake StorageStream Analytics

Logic App

Page 37: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

What is API Management?

API ManagementDemo

Page 38: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

Questions?

Page 39: API Management: Rise of the Planet of the Apps (2016 09-26 - Porto.Data)

[email protected]/in/sandropereira@sandro_asp sandroaspbiztalkblog.wordpress.com

Thanks

+351 223 751 350www.devscope.net