SlideShare a Scribd company logo
The Past, Present, and Future of
Cloud Native API Gateways
Daniel Bryant


Head of DevRel @ Ambassador Labs
tl;dr
• API gateways have undergone a series of evolutions,


driven by architecture and technology


• Adopting microservices, Kubernetes, and cloud also changes the workflow


• Choose your Kubernetes API gateway (and platform) intentionally
2
@danielbryantuk
3
4
Edge: The boundary between your
data center and your user(s)
5
Thesis:


The evolution of the edge has been driven by


application architecture and technology
6
~1995
Application Architecture in the ‘90s
7
Hardware Load Balancer
8
User Systems administrators
Purpose High availability / scalability
Key Features
Load balancing


(round robin, sticky sessions)


Health checks
9
~2000
Similar application architecture (some SOA?)
10
11
2002
2001
So
ft
ware Load Balancer
12
User
Systems administrators


(“pre DevOps”)
Purpose High availability / scalability
Key Features
Load balancing


Health checks


Observability
13
~2005
14
15
Ecommerce
0
75
150
225
300
2000 2005 2010 2015 2019
Amazon Revenue,
Billions
16
The Application Delivery Controller (ADC)
17
Application Delivery Controllers (ADCs)
18
User Systems administrators
Purpose
High availability and


application acceleration
Key Features
SSL o
ff
load, caching,
compression + load balancing
19
~2010
The proliferation of APIs
20
2005: API launched 2008 2009
API Gateway (1st Gen)
21
User
Systems administrators &


API developers
Purpose
Expose business APIs to broader
ecosystem (“API management”)
Key Features
L7 routing (e.g., throttling),
Publishing, Dev Portal,


Analytics, Monetization
22
~2015
23
Mini-services
24
API Gateway (2nd Generation)
25
API Gateway (2nd Generation)
26
User
Systems administrators &


API developers
Purpose
Centralize cross-cutting app
concerns
Key Features
Authentication, rate limiting,
monitoring + routing
27
Cloud-native
applications
Cloud-Native Microservices
28
• Modularisation (“microservices”)


• Built, released, & operated by
independent application teams


• Scaled independently
App Architecture: A Spectrum of Services
• Di
ff
erent locations (K8s, VMs, FaaS)


• Di
ff
erent protocols (gRPC, HTTP, WebSockets, TCP)


• Di
ff
erent load balancing requirements


(sticky sessions, round robin)


• Di
ff
erent authentication requirements


29
Cloud Gateway
30
Real-time Service
Discovery
Need ADC-like traffic management
capabilities: timeouts, retries, rate
limiting, load balancing, caching, …
Need API Gateway-type
management capabilities:
authentication, developer
portal, metrics, …
1
2
3
Microservices lead to an even bigger change.
31
32
“You build it, you run it”


- Werner Vogels, CTO Amazon
i.e. you own what you code,
from idea to production
Workflow: Full Cycle Development
33
• App teams have full responsibility (and authority) for
delivering a service, and ultimately, value to users


• Increase agility by accelerating the feedback loop


• https://netflixtechblog.com/full-cycle-developers-at-netflix-a08c31f83249
34
This is a change in workflow.
35
Thesis:


The future evolution of the edge will be driven by


application architecture, technology, and workflow
36
Two Biggest
Challenges with


k8s & the Edge
Challenge #1: Scaling Edge Management
37
Development
Team
Operations / Platform Team
Challenge #1: Scaling Edge Management
Challenge #2: Supporting Diverse Edge Requirements
39
40
Three Strategies
Three Strategies for the Edge with Kubernetes
#1: Deploy an Additional Kubernetes API Gateway


#2: Extend Existing API Gateway


#3: Deploy an in-Cluster Edge Stack


41
https://www.getambassador.io/resources/strategies-managing-apis-edge-kubernetes/
#1 Deploy an Additional Kubernetes API Gateway
• Simply deploy an additional “in-cluster” gateway


• Below the existing gateway


• Below the load balancer


• Management


• Development teams responsible


• OR existing ops team manages this
42
#1 Deploy an Additional Kubernetes API Gateway
• Pros


• There is minimal change to the core edge infrastructure.


• Incremental migration easily


• Cons


• Increased management overhead of working with
di
ff
erent components


• Challenging to expose the functionality to each
independent microservice teams
43
#2 Extend Existing API Gateway
• Implemented by modifying or augmenting the existing API
gateway solution


• Enable synchronization between the API endpoints and
location of k8s services


• Custom ingress controller for the existing API Gateway or
load balancer


44
#2 Extend Existing API Gateway
• Pros


• Reuse the existing tried and trusted API gateway


• Leverage existing integrations with on-premises
infrastructure and services


• Cons


• Workflows must change to preserve a single source of
truth for the API gateway configuration.


• Limited amount of configuration parameters via
Kubernetes CRDs/annotations
45
#3 Deploy an In-Cluster Edge Stack
• Deploy Kubernetes-native API gateway with
integrated supporting edge components


• Installed in each of the new Kubernetes clusters,
replacing existing edge


• Ops team own, and provide sane defaults


• Dev teams responsible for configuring the edge
stack as part of their normal workflow
46
#3 Deploy an In-Cluster Edge Stack
• Pros


• Edge management is simplified into a single stack


• Supports cloud native best practices: “single
source of truth”, GitOps etc


• Cons


• Potentially a large architectural/responsibility shi
ft


• Platform team must learn about new proxy
technologies and edge components
47
48
Wrapping Up
In Conclusion
• Edge/API gateways have undergone a series of evolutions, driven by architecture and tech


• Hardware -> so
ft
ware


• Networking Layer 4 -> Layer 7


• Centralized management -> decentralised


• Adopting microservices/Kubernetes changes workflow


• Scale edge management


• Support multi-protocol and cross-functional requirements


• Choose your cloud API gateway intentionally (and also your platform components in general)
49
Many thanks!
• Learn more:


• www.getambassador.io/kubernetes-learning-center/


• www.getambassador.io/resources/accelerating-
kubernetes-for-cloud-native-organizations/


• www.infoq.com/profile/Daniel-Bryant


• Find me in:


• Ambassador OSS Slack: d6e.co/slack


• Twitter @danielbryantuk
50

More Related Content

PDF
GOTOpia 2020: "The Past, Present, and Future of Cloud Native API Gateways"
PDF
AllTheTalks 2020: "The Past, Present, and Future of Cloud Native API Gateways"
PDF
SoftwareCircus 2020 "The Past, Present, and Future of Cloud Native API Gateways"
PDF
DevOpsCon 2020: The Past, Present, and Future of Cloud Native API Gateways
PDF
Webinar: Effective Management of APIs and the Edge when Adopting Kubernetes
PDF
ADDO 2020: "The past, present, and future of cloud native API gateways"
PDF
[DW Webinar] Effective Management of APIs and the Edge when Adopting Kubernetes
PDF
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
GOTOpia 2020: "The Past, Present, and Future of Cloud Native API Gateways"
AllTheTalks 2020: "The Past, Present, and Future of Cloud Native API Gateways"
SoftwareCircus 2020 "The Past, Present, and Future of Cloud Native API Gateways"
DevOpsCon 2020: The Past, Present, and Future of Cloud Native API Gateways
Webinar: Effective Management of APIs and the Edge when Adopting Kubernetes
ADDO 2020: "The past, present, and future of cloud native API gateways"
[DW Webinar] Effective Management of APIs and the Edge when Adopting Kubernetes
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li

Similar to CloudBuilders 2022: "The Past, Present, and Future of Cloud Native API Gateways" (20)

PPTX
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
PPTX
Episode 1: Building Kubernetes-as-a-Service
PDF
oci-container-engine-oke-100.pdf
PPTX
Simplify Your Way To Expert Kubernetes Management
PPTX
Why kubernetes matters
PDF
Integration in the Cloud, by Rob Davies
PPTX
Docker & aPaaS: Enterprise Innovation and Trends for 2015
PDF
API Tips & Tricks - Policy Management and Elastic Deployment
PPTX
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
PDF
Modernizing Testing as Apps Re-Architect
PDF
From Containerized Application to Secure and Scaling With Kubernetes
PPTX
Docker EE 2.0 Choice, Security & Agility
PPTX
Disruptive Trends in Application Development
PPTX
Supply chain security with Kubeclarity.pptx
PDF
Containers, microservices and serverless for realists
PPTX
Business and IT agility through DevOps and microservice architecture powered ...
PPSX
Elastic-Engineering
PDF
8 - OpenShift - A look at a container platform: what's in the box
PPTX
JCON_15FactorWorkshop.pptx
PDF
Using Containers to More Effectively Manage DevOps Continuous Integration
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Episode 1: Building Kubernetes-as-a-Service
oci-container-engine-oke-100.pdf
Simplify Your Way To Expert Kubernetes Management
Why kubernetes matters
Integration in the Cloud, by Rob Davies
Docker & aPaaS: Enterprise Innovation and Trends for 2015
API Tips & Tricks - Policy Management and Elastic Deployment
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Modernizing Testing as Apps Re-Architect
From Containerized Application to Secure and Scaling With Kubernetes
Docker EE 2.0 Choice, Security & Agility
Disruptive Trends in Application Development
Supply chain security with Kubeclarity.pptx
Containers, microservices and serverless for realists
Business and IT agility through DevOps and microservice architecture powered ...
Elastic-Engineering
8 - OpenShift - A look at a container platform: what's in the box
JCON_15FactorWorkshop.pptx
Using Containers to More Effectively Manage DevOps Continuous Integration
Ad

More from Daniel Bryant (20)

PDF
ITKonekt 2023: The Busy Platform Engineers Guide to API Gateways
PDF
CraftConf 2023 "Microservice Testing Techniques: Mocks vs Service Virtualizat...
PDF
PlatformCon 23: "The Busy Platform Engineers Guide to API Gateways"
PDF
Java Meetup 23: 'Debugging Microservices "Remocally" in Kubernetes with Telep...
PPTX
DevRelCon 2022: "Is Product Led Growth (PLG) the “DevOps” of the DevRel World"
PDF
Fall 22: "From Kubernetes to PaaS to... err, what's next"
PDF
Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” wi...
PDF
KubeCrash 22: Debugging Microservices "Remocally" in Kubernetes with Telepres...
PDF
JAX London 22: Debugging Microservices "Remocally" in Kubernetes with Telepre...
PDF
KubeCon EU 2022: From Kubernetes to PaaS to Err What's Next
PDF
Devoxx UK 22: Debugging Java Microservices "Remocally" in Kubernetes with Tel...
PDF
DevXDay KubeCon NA 2021: "From Kubernetes to PaaS to Developer Control Planes"
PDF
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
PDF
Container Days: Easy Debugging of Microservices Running on Kubernetes with Te...
PDF
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
PDF
MJC 2021: "Debugging Java Microservices Running on Kubernetes with Telepresence"
PDF
LJC 4/21"Easy Debugging of Java Microservices Running on Kubernetes with Tele...
PDF
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
PPTX
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
PDF
Ambassador Fest: "Kubernetes Workflow 101: The Big Picture of Idea to an API ...
ITKonekt 2023: The Busy Platform Engineers Guide to API Gateways
CraftConf 2023 "Microservice Testing Techniques: Mocks vs Service Virtualizat...
PlatformCon 23: "The Busy Platform Engineers Guide to API Gateways"
Java Meetup 23: 'Debugging Microservices "Remocally" in Kubernetes with Telep...
DevRelCon 2022: "Is Product Led Growth (PLG) the “DevOps” of the DevRel World"
Fall 22: "From Kubernetes to PaaS to... err, what's next"
Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” wi...
KubeCrash 22: Debugging Microservices "Remocally" in Kubernetes with Telepres...
JAX London 22: Debugging Microservices "Remocally" in Kubernetes with Telepre...
KubeCon EU 2022: From Kubernetes to PaaS to Err What's Next
Devoxx UK 22: Debugging Java Microservices "Remocally" in Kubernetes with Tel...
DevXDay KubeCon NA 2021: "From Kubernetes to PaaS to Developer Control Planes"
JAX London 2021: Jumpstart Your Cloud Native Development: An Overview of Prac...
Container Days: Easy Debugging of Microservices Running on Kubernetes with Te...
Canadian CNCF: "Emissary-ingress 101: An introduction to the CNCF incubation-...
MJC 2021: "Debugging Java Microservices Running on Kubernetes with Telepresence"
LJC 4/21"Easy Debugging of Java Microservices Running on Kubernetes with Tele...
GOTOpia 2/2021 "Cloud Native Development Without the Toil: An Overview of Pra...
HashiCorp Webinar: "Getting started with Ambassador and Consul on Kubernetes ...
Ambassador Fest: "Kubernetes Workflow 101: The Big Picture of Idea to an API ...
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Cloud computing and distributed systems.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
KodekX | Application Modernization Development
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
Cloud computing and distributed systems.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Diabetes mellitus diagnosis method based random forest with bat algorithm
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
“AI and Expert System Decision Support & Business Intelligence Systems”
KodekX | Application Modernization Development
Per capita expenditure prediction using model stacking based on satellite ima...
Reach Out and Touch Someone: Haptics and Empathic Computing
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

CloudBuilders 2022: "The Past, Present, and Future of Cloud Native API Gateways"

  • 1. The Past, Present, and Future of Cloud Native API Gateways Daniel Bryant Head of DevRel @ Ambassador Labs
  • 2. tl;dr • API gateways have undergone a series of evolutions, 
 driven by architecture and technology • Adopting microservices, Kubernetes, and cloud also changes the workflow • Choose your Kubernetes API gateway (and platform) intentionally 2
  • 4. 4 Edge: The boundary between your data center and your user(s)
  • 5. 5 Thesis: The evolution of the edge has been driven by application architecture and technology
  • 8. Hardware Load Balancer 8 User Systems administrators Purpose High availability / scalability Key Features Load balancing (round robin, sticky sessions) Health checks
  • 12. So ft ware Load Balancer 12 User Systems administrators (“pre DevOps”) Purpose High availability / scalability Key Features Load balancing Health checks Observability
  • 14. 14
  • 15. 15 Ecommerce 0 75 150 225 300 2000 2005 2010 2015 2019 Amazon Revenue, Billions
  • 16. 16
  • 17. The Application Delivery Controller (ADC) 17
  • 18. Application Delivery Controllers (ADCs) 18 User Systems administrators Purpose High availability and application acceleration Key Features SSL o ff load, caching, compression + load balancing
  • 20. The proliferation of APIs 20 2005: API launched 2008 2009
  • 21. API Gateway (1st Gen) 21 User Systems administrators & API developers Purpose Expose business APIs to broader ecosystem (“API management”) Key Features L7 routing (e.g., throttling), Publishing, Dev Portal, Analytics, Monetization
  • 23. 23
  • 25. API Gateway (2nd Generation) 25
  • 26. API Gateway (2nd Generation) 26 User Systems administrators & API developers Purpose Centralize cross-cutting app concerns Key Features Authentication, rate limiting, monitoring + routing
  • 28. Cloud-Native Microservices 28 • Modularisation (“microservices”) • Built, released, & operated by independent application teams • Scaled independently
  • 29. App Architecture: A Spectrum of Services • Di ff erent locations (K8s, VMs, FaaS) • Di ff erent protocols (gRPC, HTTP, WebSockets, TCP) • Di ff erent load balancing requirements 
 (sticky sessions, round robin) • Di ff erent authentication requirements 29
  • 30. Cloud Gateway 30 Real-time Service Discovery Need ADC-like traffic management capabilities: timeouts, retries, rate limiting, load balancing, caching, … Need API Gateway-type management capabilities: authentication, developer portal, metrics, … 1 2 3
  • 31. Microservices lead to an even bigger change. 31
  • 32. 32 “You build it, you run it” - Werner Vogels, CTO Amazon i.e. you own what you code, from idea to production
  • 33. Workflow: Full Cycle Development 33 • App teams have full responsibility (and authority) for delivering a service, and ultimately, value to users • Increase agility by accelerating the feedback loop • https://netflixtechblog.com/full-cycle-developers-at-netflix-a08c31f83249
  • 34. 34 This is a change in workflow.
  • 35. 35 Thesis: The future evolution of the edge will be driven by application architecture, technology, and workflow
  • 37. Challenge #1: Scaling Edge Management 37 Development Team Operations / Platform Team
  • 38. Challenge #1: Scaling Edge Management
  • 39. Challenge #2: Supporting Diverse Edge Requirements 39
  • 41. Three Strategies for the Edge with Kubernetes #1: Deploy an Additional Kubernetes API Gateway #2: Extend Existing API Gateway #3: Deploy an in-Cluster Edge Stack 41 https://www.getambassador.io/resources/strategies-managing-apis-edge-kubernetes/
  • 42. #1 Deploy an Additional Kubernetes API Gateway • Simply deploy an additional “in-cluster” gateway • Below the existing gateway • Below the load balancer • Management • Development teams responsible • OR existing ops team manages this 42
  • 43. #1 Deploy an Additional Kubernetes API Gateway • Pros • There is minimal change to the core edge infrastructure. • Incremental migration easily • Cons • Increased management overhead of working with di ff erent components • Challenging to expose the functionality to each independent microservice teams 43
  • 44. #2 Extend Existing API Gateway • Implemented by modifying or augmenting the existing API gateway solution • Enable synchronization between the API endpoints and location of k8s services • Custom ingress controller for the existing API Gateway or load balancer 44
  • 45. #2 Extend Existing API Gateway • Pros • Reuse the existing tried and trusted API gateway • Leverage existing integrations with on-premises infrastructure and services • Cons • Workflows must change to preserve a single source of truth for the API gateway configuration. • Limited amount of configuration parameters via Kubernetes CRDs/annotations 45
  • 46. #3 Deploy an In-Cluster Edge Stack • Deploy Kubernetes-native API gateway with integrated supporting edge components • Installed in each of the new Kubernetes clusters, replacing existing edge • Ops team own, and provide sane defaults • Dev teams responsible for configuring the edge stack as part of their normal workflow 46
  • 47. #3 Deploy an In-Cluster Edge Stack • Pros • Edge management is simplified into a single stack • Supports cloud native best practices: “single source of truth”, GitOps etc • Cons • Potentially a large architectural/responsibility shi ft • Platform team must learn about new proxy technologies and edge components 47
  • 49. In Conclusion • Edge/API gateways have undergone a series of evolutions, driven by architecture and tech • Hardware -> so ft ware • Networking Layer 4 -> Layer 7 • Centralized management -> decentralised • Adopting microservices/Kubernetes changes workflow • Scale edge management • Support multi-protocol and cross-functional requirements • Choose your cloud API gateway intentionally (and also your platform components in general) 49
  • 50. Many thanks! • Learn more: • www.getambassador.io/kubernetes-learning-center/ • www.getambassador.io/resources/accelerating- kubernetes-for-cloud-native-organizations/ • www.infoq.com/profile/Daniel-Bryant • Find me in: • Ambassador OSS Slack: d6e.co/slack • Twitter @danielbryantuk 50