SlideShare a Scribd company logo
Deployment Patterns
for API Gateways
Jay Desai
September 2019
2
1. API management vs API gateway
2. API gateway deployment
patterns
3. Selecting the right deployment
pattern for my application
Agenda
Jay Desai
Technical Solutions
Architect
j.desai@f5.com
is now a part of
But first … brief History of APIs
Sales Force Automation
• February 7th, 2000 Salesforce.com
officially launched at the IDG Demo 2000
conference.
eBay API
• November 20, 2000, eBay launched the
eBay Application Program Interface (API),
along with the eBay Developers Program.
3
Three Common Patterns
4
Monolithic Hybrid Microservices
Application modernization
>60%
Core, legacy
business apps
~30%
Legacy with micro-
services add-ons
~10%
Modern apps
optimized for digital
Statistics from 2018 NGINX Brand Survey
Monolithic Application
Architecture
• Feature sets coded into the application.
• Adapters complicated to interact with.
• Rest API available but is an application
in itself.
• Complicated change management.
• Broken code = Broken Application.
Modernised Application
Architecture
6
• Reference the best in class of code.
• Feature Rich or Light Weight.
• Interchangeable vendors.
• Scalable.
• Flexible.
• Resilient
API App Development
7
api.shoppincart.com
api.shipping.com
api.inventory.com
api.recommendations.com
api.orders.com
api.reviews.com
api.catalog.com
api.myapplication.com
API Management
8
Dev & Product
Security
(App, Net & Ops)
Network /
DevOPS
Operations,
Support,
Networks,
DevOPS,
DEVops
Product, Billing
Marketing,
DevOps, Product.
Sales.
API Management
• Policy management
• Analytics & monitoring
• Developer documentation
API Gateway
• Authenticator
• Request router
• Rate limiter
• Exception handler
1 BILLION
Total sites running
83%of all hits are classified as
API traffic (JSON/XML)
API Gateway Deployment Patterns
API Gateway Deployment Patterns
API Gateway Deployment Patterns
API Gateway Deployment Patterns
Why care?
16
• Latency & response time
• Indiscriminate network hops
• Expensive layer 7 payload inspection
• Enforced scaling dimensions
API Gateway Deployment Patterns
API Gateway Essential
Functions
18
TLS termination
Client
authentication
Fine-grained
access control
Request routing
Rate limiting Load balancing
Service discovery
of backends
Request/response
manipulation
API
A
API
B
API
C
API
A
API
B
API
C
Edge Gateway
19
API
A
API
B
API
C
• TLS termination
• Client authentication
• Authorization
• Request routing
• Rate limiting
• Load balancing
• Request/response manipulation
Edge Gateway
20
API
A
API
B
API
C
D
E
F
G
H
• TLS termination
• Client authentication
• Authorization
• Request routing
• Rate limiting
• Load balancing
• Request/response manipulation
• Façade routing
Two-Tier Gateway
21
API
A
API
B
API
C
D
E
F G
HSecurity Gateway
• TLS termination
• Client authentication
• Centralized logging
• Tracing injection
Routing Gateway
• Authorization
• Service discovery
• Load balancing
• Rate Limiting
Microgateway
22
E
E
F
G
F
H
D
D
D
E
F
DevOps
Team-
owned
• Load balancing
• Service Discovery
• Authentication per API
• TLS Termination
• Routing
• Rate limiting
API Gateway Deployment Patterns
F
E
Microgateway
24
E
E
F
F
D
D
D
• Service discovery integration
• Obtain authentication credentials
• Everything else!
F
E
Sidecar Gateway
25
E
E
F
F
D
D
D
• Outbound load balancing
• Service discovery integration
• Authentication
• Authorization?
Edge / Security Gateway
• TLS termination
• Client authentication
• Centralized logging
• Tracing injection
Kubernetes Cluster
F
E
Service Mesh
26
E
E
F
F
D
D
D
Service Mesh Control Plane
Ingress / Edge Gateway
All DevOps teams
27
Data Plane
Control Plane
<scripts>
<API’s>
Request Response
Data Plane
Control
Plane
Request Response
Manages and
Monitors all of
your API’s
Routes
Incoming
API Calls
Traditional API Management Modern API Management
Manages and
Monitors all of
your API’s
Routes
Incoming
API Calls
A B C
Picking the Right Gateway Pattern for
my Application
Edge Gateway + Monoliths with centralized governance
- Frequent changes, DevOps team-owned microservices
Two-Tier
Gateway
+ Flexibility, independent scaling of functions
- Distributed control
Microgateway + DevOps teams, high-frequency updates
- Hard to achieve consistency, authorization minefield
Sidecar
Gateway
+ Policy-based E/W, strict authentication requirements
- Control plane complexity
j.desai@f5.comNGINX.com | @NGINX
Thank you!

More Related Content

PPTX
02 api gateway
PDF
Api gateway
PDF
Kong Summit 2021 - Opening Keynote
PDF
AWS Api Gateway by Łukasz Marchewka Scalacc
PPTX
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
PDF
API Management Microservices beyond HIP
PPTX
API Management Platform Technical Evaluation Framework
PDF
APIStrat Keynote: Lessons in Transforming the Enterprise to an API Platform
02 api gateway
Api gateway
Kong Summit 2021 - Opening Keynote
AWS Api Gateway by Łukasz Marchewka Scalacc
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
API Management Microservices beyond HIP
API Management Platform Technical Evaluation Framework
APIStrat Keynote: Lessons in Transforming the Enterprise to an API Platform

What's hot (20)

PDF
apidays LIVE New York 2021 - Building Contextualized API Specifications by Bo...
PDF
Changing the game in hospitality integrations
PDF
API Management 101: The New API Experience with WSO2
PPTX
We Built This City - Apigee Edge Architecture
PDF
APIdays Singapore 2019 - API Gateway in a Nutshell, Allan Chua, Solution and ...
PDF
Achieving Microservices Maturity
PDF
Customer testimonal API Program Lessons learned
PDF
[WSO2Con EU 2018] Hybrid Cloud API Management - API Microgateways Anywhere
PPTX
How do async ap is survive in a rest world
PDF
Redefine Omni-Channel Retailing - Harness the Power of APIs
PDF
5 Pillars of Building Enterprise0grade APIs
PPTX
Api Strat 2018 Turning External Services into Internal APIs
PDF
Collecting and Analyzing API Statistics
PDF
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
PPTX
API Products: Who, What, Where, When, Why, and How?
PPTX
APIs in the Enterprise -Lessons Learned
PDF
Api Gateway
PPTX
API Management and Kubernetes
PDF
Journey to APIs and Microservices: Best Practices
PDF
Api Monitizer by T5 Systems
apidays LIVE New York 2021 - Building Contextualized API Specifications by Bo...
Changing the game in hospitality integrations
API Management 101: The New API Experience with WSO2
We Built This City - Apigee Edge Architecture
APIdays Singapore 2019 - API Gateway in a Nutshell, Allan Chua, Solution and ...
Achieving Microservices Maturity
Customer testimonal API Program Lessons learned
[WSO2Con EU 2018] Hybrid Cloud API Management - API Microgateways Anywhere
How do async ap is survive in a rest world
Redefine Omni-Channel Retailing - Harness the Power of APIs
5 Pillars of Building Enterprise0grade APIs
Api Strat 2018 Turning External Services into Internal APIs
Collecting and Analyzing API Statistics
apidays LIVE Jakarta - Better API DX with a CLI by Phil Nash, Twilio
API Products: Who, What, Where, When, Why, and How?
APIs in the Enterprise -Lessons Learned
Api Gateway
API Management and Kubernetes
Journey to APIs and Microservices: Best Practices
Api Monitizer by T5 Systems
Ad

Similar to API Gateway Deployment Patterns (20)

PPTX
Deployment Patterns for API gateways
PDF
What’s behind a high quality web API? Ensure your APIs are more than just a ...
PPTX
What is an API Gateway?
PDF
Api Management and Demo
PDF
API Economy, Realizing the Business Value of APIs
PPTX
Architecture for the API-enterprise
PDF
Core Dimensions of API Management
PPTX
API Gateway: Nginx way
PPTX
Practical Application of API-First in microservices development
PDF
A Hitchhikers Guide to Cloud Native API Gateways
PPTX
API Gateways are going through an identity crisis
PPTX
APIs: The Gateway to Digital Transformation
PDF
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat, Lombar...
PDF
API Management Building Blocks and Business value
PDF
Cyberlands Sales Deck
PDF
A Hitchhiker's Guide to Cloud Native API Gateways
PDF
API Trends & Use Cases
PDF
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
PDF
nginxcontrollerapimanagementwebinar-190123215258.pdf
PPTX
Achieve Full API Lifecycle Management Using NGINX Controller
Deployment Patterns for API gateways
What’s behind a high quality web API? Ensure your APIs are more than just a ...
What is an API Gateway?
Api Management and Demo
API Economy, Realizing the Business Value of APIs
Architecture for the API-enterprise
Core Dimensions of API Management
API Gateway: Nginx way
Practical Application of API-First in microservices development
A Hitchhikers Guide to Cloud Native API Gateways
API Gateways are going through an identity crisis
APIs: The Gateway to Digital Transformation
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat, Lombar...
API Management Building Blocks and Business value
Cyberlands Sales Deck
A Hitchhiker's Guide to Cloud Native API Gateways
API Trends & Use Cases
SFScon18 - Kurt Ranalter - Leonhard Holzer - API level regression testing: a ...
nginxcontrollerapimanagementwebinar-190123215258.pdf
Achieve Full API Lifecycle Management Using NGINX Controller
Ad

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
sap open course for s4hana steps from ECC to s4
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
Understanding_Digital_Forensics_Presentation.pptx
cuic standard and advanced reporting.pdf
Empathic Computing: Creating Shared Understanding
Spectral efficient network and resource selection model in 5G networks
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Diabetes mellitus diagnosis method based random forest with bat algorithm
MYSQL Presentation for SQL database connectivity
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
sap open course for s4hana steps from ECC to s4
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
“AI and Expert System Decision Support & Business Intelligence Systems”
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

API Gateway Deployment Patterns