SlideShare a Scribd company logo
September 24-26, 2018
Music City Center
Nashville, Tennessee
#apistrat
Turning External Services
into Internal APIs -
Strategies to consider
Chris Phillips
1 10/2/2018
2 10/2/2018
Chris Phillips
• IBM Master Inventor
• 12 Patents (ish)
• IBM SWAT Integration
Architect
• Wife & Two Kids
https://medium.com/@cminion/
https://www.linkedin.com/in/chrisjphillips/
https://github.com/ChrisPhillips-cminion
3 10/2/2018
IBM Hursley, UK
Africa
© FreePowerPointMaps.com
South
America
Europe
North
America
Asia
Middle
East
Oceania
World by FreeVectorMaps.com
5 10/2/2018
Agenda
• What is an API Platform
• Case Study
• Security
• Performance
• Caching
• Migration
• Summary
• Questions / Discussion
6 10/2/2018
An API Platform
7 10/2/2018
An API Platform
Analytics
API
Gateway
(Runtime)
Portal
Management
8 10/2/2018
Scenario
📲
9 10/2/2018
Scenario
10 10/2/2018
Scenario
11 10/2/2018
Scenario
API
Gateway
12 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Security
13 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Security
14 10/2/2018
A N Other MicroService
Username: Fred
Password: *****
Pays For
Security
MicroService for Mobile
Username: Fred
Password: *****
15 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
A N Other MicroService
Username: Fred
Password: *****
Pays For
Security
Unauthorized
MicroService
Username: Fred
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
16 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
A N Other MicroService
Username: Fred
Password: *****
Security
Unauthorized
MicroService
Username: Fred
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
17 10/2/2018
MicroService for Mobile
Username: Mia
Password: *****
A N Other MicroService
Username: Fred
Password: *****
Security
Unauthorized
MicroService
Username: Fred
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
18 10/2/2018
MicroService for Mobile
Username: Mia
Password: *****
A N Other MicroService
Username: Mia
Password: *****
Security
Unauthorized
MicroService
Username: Fred
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
19 10/2/2018
MicroService for Mobile
Username: Mia
Password: *****
A N Other MicroService
Username: Mia
Password: *****
Security
Unauthorized
MicroService
Username: Mia
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
20 10/2/2018
MicroService for Mobile
Username: MS4Mob
Security Type: OIDC
A N Other MicroService
Username: ANOMS
SecurityType: User/Password
Security
Unauthorized
MicroService
Username:
ANOMS
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
API
Gateway
Contains the
Credentials for the
Weather Company
MicroService for Mobile
Username: MS4Mob
Security Type: OIDC
A N Other MicroService
Username: ANOMS
SecurityType: User/Password21 10/2/2018
Security
API Gateway
Manages Credentials
to the Weather
Company
Each MicroService can
consumption can be
tracked individually
Unauthorized
MicroService
Username:
ANOMS
Password: *****
https://www.freepik.com/free-vector/young-
anonymous-hacker-with-flat-design_2753360.htm
API
Gateway
Each MicroService has
its own credentials to
the API Gateway
22 10/2/2018
Security
By exposing External Services as APIs
• One username and password to change if it is
compromised
• Can block access to specific MicroServices if
credentials are compromised.
• Tracks usage to ensure everyone pays their
share
• Tracks where passwords may have been
exposed
• Allows for different security mechanisms then
those on offer
23 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Performance Test
24 10/2/2018
50 000 Calls free
Each additional 10 000 Calls $1000
MicroService for Mobile
Username: Fred
Password: *****
Performance
Test
25 10/2/2018
50 000 Calls free
Each additional 10 000 Calls $1000
MicroService for Mobile
Username: Fred
Password: *****
Performance
Test
STUB
STUB
26 10/2/2018
50 000 Calls free
Each additional 10 000 Calls $1000
MicroService for Mobile
Username: Fred
Password: *****
Performance
Test
Performance Test Started
8 Hour Soak Run, What does it cost?
𝑇𝑃𝑆 = 100
LoT = 8 hours
No of Transactions = 100 * 60 * 60 * 8
= 2 880 000
Cost = (2 880 000 – 50 000) / 10 000 * $1 000
= $283 000
28 10/2/2018
50 000 Calls free
Each additional 10 000 Calls $1000
MicroService for Mobile
Username: Fred
Password: *****
Performance
Test
STUB
29 10/2/2018
50 000 Calls free
Each additional 10 000 Calls $1000
MicroService for Mobile
Username: Fred
Password: *****
Performance
Test
Routing can be
controlled by the API
Gateway
API
Gateway
API Gateway Rate
Limits all traffic to the
Weather Company
STUB
30 10/2/2018
https://hackernoon.com/how-we-spent-30k-usd-
in-firebase-in-less-than-72-hours-307490bd24d
31 10/2/2018
Performance Test
By exposing External Services as APIs
• Reduce the risk of performance testing
against an expensive API
• Control the routing from outside the
MicroService
• Removes the responsibility form the
Developer for selecting which endpoint to use
32 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Caching Strategy
33 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Caching Strategy
34 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Caching Strategy Six months
Later
35 10/2/2018
MicroService for Mobile
Username: Fred
Password: *****
Caching Strategy
API
Gateway
Caching Is not a
responsibility of the
Micro Service developer
When it is enabled for
one API it is used by all
Consumers
36 10/2/2018
Caching Strategy
By exposing External Services as APIs
• Abstracts caching away from the microservice
• Allows all external calls to follow the same
caching strategy
37 10/2/2018
Migration
38 10/2/2018
Migration
MicroService
for Mobile
39 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
40 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
41 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
42 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
43 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
API
Gateway
44 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
API
Gateway
45 10/2/2018
Migration
MicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
API
Gateway
46 10/2/2018
Migration
In the event of a Major
Change interface can be
transposed in the API
GatewayMicroService
for Mobile
MicroService
for Desktop
MicroService
for Other
Interface do not need to
change at the API
Gateway until new
function is desired
API
Gateway
The API in the Gateway
can select which Version
to route to.
47 10/2/2018
Migration Summary
• MicroServices do not need to be upgraded
when the interface changes
• Version Change can be seemless to the
MicroService layer
• Reduces the evergreening risk
48 10/2/2018
Other Reasons
• Developer Portal for sharing documentation
• Controlling the interface to reduce complexity
of the microservice
• Many others….
49 10/2/2018
Summary – Take Away
Just about every reason to have an API Layer
for exposing internal services externally can
be applied to having an API Layer for
exposing external services
Treat All APIs Equally
50 10/2/2018
Come see me again
http://sched.co/FTQP
51 10/2/2018
Thank You
Email: Chris.Phillips@uk.ibm.com
Medium: https://medium.com/@cminion/
Linkedin: https://www.linkedin.com/in/chrisjphillips/
GitHub: https://github.com/ChrisPhillips-cminion
Twitter: @cminion
@teddyconsulting

More Related Content

PPTX
Flavours of APIs
PPTX
IBM API Connect Deployment `Good Practices - IBM Think 2018
PPTX
What's New in API Connect & DataPower Gateway in 1H 2018
PPTX
Migrating from IBM API Connect v5 to v2018
PPTX
Migrating DataPower to IBM's API Connect Using Custom Policies//DataPower Wee...
PDF
APIConnect Security Best Practice
PPTX
ConnectorsForIntegration
PPT
HAM 1032 Combining the Power of IBM API Management and IBM Integration Bus
Flavours of APIs
IBM API Connect Deployment `Good Practices - IBM Think 2018
What's New in API Connect & DataPower Gateway in 1H 2018
Migrating from IBM API Connect v5 to v2018
Migrating DataPower to IBM's API Connect Using Custom Policies//DataPower Wee...
APIConnect Security Best Practice
ConnectorsForIntegration
HAM 1032 Combining the Power of IBM API Management and IBM Integration Bus

What's hot (20)

PDF
INTERFACE, by apidays - Building contextualized API specifications by Boris ...
PPTX
Gateway/APIC security
PPTX
Taming the FHIR of Healthcare with IBM's API Connect
PPT
MQ Messaging
PDF
[WSO2Con EU 2018] Hybrid Cloud API Management - API Microgateways Anywhere
PPTX
Overview of API Management Architectures
PDF
How Secure Are Your APIs?
PPT
HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bu...
PPT
Cloud Foundry Summit 2014: Introducing Cloud Foundry Integration for Eclipse
PDF
apidays LIVE New York 2021 - Building Contextualized API Specifications by Bo...
PPTX
How Cisco is Leveraging MuleSoft to Drive Continuous Innovation​ at Enterpris...
PDF
Stream Processing in Action
PDF
Api Gateway
PDF
apidays LIVE JAKARTA - 10 commandments for scalable microservices by Archanaa...
PDF
INTERFACE, by apidays - The future of API Management in a hybrid, multi-clou...
PPTX
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
PDF
Proving API Value Through Monetization
PDF
How to migrate an application in IBM APIc, and preserve its client credential
PDF
apidays LIVE Australia 2020 - Building a scalable API platform for an IoT eco...
PPTX
Best Practices: The Role of API Management
INTERFACE, by apidays - Building contextualized API specifications by Boris ...
Gateway/APIC security
Taming the FHIR of Healthcare with IBM's API Connect
MQ Messaging
[WSO2Con EU 2018] Hybrid Cloud API Management - API Microgateways Anywhere
Overview of API Management Architectures
How Secure Are Your APIs?
HIA 1015 Speed the Development of Robust Integrations with IBM Integration Bu...
Cloud Foundry Summit 2014: Introducing Cloud Foundry Integration for Eclipse
apidays LIVE New York 2021 - Building Contextualized API Specifications by Bo...
How Cisco is Leveraging MuleSoft to Drive Continuous Innovation​ at Enterpris...
Stream Processing in Action
Api Gateway
apidays LIVE JAKARTA - 10 commandments for scalable microservices by Archanaa...
INTERFACE, by apidays - The future of API Management in a hybrid, multi-clou...
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
Proving API Value Through Monetization
How to migrate an application in IBM APIc, and preserve its client credential
apidays LIVE Australia 2020 - Building a scalable API platform for an IoT eco...
Best Practices: The Role of API Management
Ad

Similar to Api Strat 2018 Turning External Services into Internal APIs (20)

PPTX
API Strategy Introduction
PDF
Managing the Complexity of Microservices Deployments
PDF
API’s and Micro Services 0.5
PDF
3298 microservices and how they relate to esb api and messaging - inter con...
PDF
Building microservices on azure
PDF
APIs and Microservices - What Are They?
PDF
Api management customer
PPTX
Take Control of your APIs in a Microservice Architecture
PDF
The Journey from Monolith to Microservices: a Guided Adventure
PPTX
API Best Practices
PPT
Iag api management architect presentation
PDF
MuCon 2015 - Microservices in Integration Architecture
PDF
Backend for Frontend in Microservices
PDF
#ATAGTR2020 Presentation - Microservices – Explored
PDF
APIs +Micro services technology for Computing
PPTX
Microservices
PDF
APIdays Paris 2018 - Creating an API economy business strategy Alan Glickenho...
PDF
Microservices Interview Questions and Answers PDF By ScholarHat
PDF
AWS STARTUP DAY 2018 I If, how and when to adopt microservices
PPTX
Vancouver Microservices Meetup - Kickoff Session
API Strategy Introduction
Managing the Complexity of Microservices Deployments
API’s and Micro Services 0.5
3298 microservices and how they relate to esb api and messaging - inter con...
Building microservices on azure
APIs and Microservices - What Are They?
Api management customer
Take Control of your APIs in a Microservice Architecture
The Journey from Monolith to Microservices: a Guided Adventure
API Best Practices
Iag api management architect presentation
MuCon 2015 - Microservices in Integration Architecture
Backend for Frontend in Microservices
#ATAGTR2020 Presentation - Microservices – Explored
APIs +Micro services technology for Computing
Microservices
APIdays Paris 2018 - Creating an API economy business strategy Alan Glickenho...
Microservices Interview Questions and Answers PDF By ScholarHat
AWS STARTUP DAY 2018 I If, how and when to adopt microservices
Vancouver Microservices Meetup - Kickoff Session
Ad

Recently uploaded (20)

PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
Exploring VPS Hosting Trends for SMBs in 2025
PPTX
artificial intelligence overview of it and more
PPTX
Funds Management Learning Material for Beg
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPT
tcp ip networks nd ip layering assotred slides
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
Digital Literacy And Online Safety on internet
PPTX
innovation process that make everything different.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PPTX
E -tech empowerment technologies PowerPoint
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Internet___Basics___Styled_ presentation
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Sims 4 Historia para lo sims 4 para jugar
Exploring VPS Hosting Trends for SMBs in 2025
artificial intelligence overview of it and more
Funds Management Learning Material for Beg
SASE Traffic Flow - ZTNA Connector-1.pdf
Module 1 - Cyber Law and Ethics 101.pptx
522797556-Unit-2-Temperature-measurement-1-1.pptx
tcp ip networks nd ip layering assotred slides
Unit-1 introduction to cyber security discuss about how to secure a system
Digital Literacy And Online Safety on internet
innovation process that make everything different.pptx
Paper PDF World Game (s) Great Redesign.pdf
The New Creative Director: How AI Tools for Social Media Content Creation Are...
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
E -tech empowerment technologies PowerPoint
presentation_pfe-universite-molay-seltan.pptx
Job_Card_System_Styled_lorem_ipsum_.pptx
international classification of diseases ICD-10 review PPT.pptx
Internet___Basics___Styled_ presentation
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION

Api Strat 2018 Turning External Services into Internal APIs

Editor's Notes

  • #5: World by FreeVectorMaps.com
  • #6: Flow of security
  • #16: <a href="https://www.freepik.com/free-vector/young-anonymous-hacker-with-flat-design_2753360.htm">Designed by Freepik</a>
  • #21: Tracking Individually Billing Indivvidually … ..
  • #22: Tracking Individually Billing Indivvidually … ..
  • #32: Cache Developer Portal