SlideShare a Scribd company logo
7
Most read
8
Most read
9
Most read
Kong API Gateway
Chennai, May 6, 2023
Agenda
● API Gateway 101
● Introduction to Kong
● Kong terminologies
● Hands-on
○ Setup kong with docker compose
○ Create services, routes and consumers
○ Plugins
■ Key Auth
■ Rate limiting
■ Request/Response Transformer
○ Upstreams for load balancing
● Kong Deployment models
About Us
● Platform engineer @ platformatory.io
● Kong Champion
● Open source contributor to Cloud Native
projects (k8s, ArgoCD, Tekton, Litmus, etc)
● Kong, Grafana, Docker meetups in Bengaluru
● Principal Engineer @ platformatory.io
● Kong Gateway Certified
Avinash Upadhyaya Lakshmi Narasimhan P
APIs: Driving Business Innovation
APIs are everywhere
API Management
APIM
Standard
Practices
API lifecycle
Support
Observability
Control
Governance
API Management
API Portal
API
Lifecycle
Mgmt API
Security
API
Gateway
API
Analytics
APIM
API Policy
Mgmt
API Gateway
● Acts as an entry point for APIs
● Sits between one or more clients and
one or more backend service
● Reverse proxy and load balancer
● Provides management functionality -
authentication, routing, rate limiting,
billing, monitoring, analytics, policies,
alerts and security
● Common pattern in microservice based
architectures
Why API Gateway
● Reduced Complexity
○ Single point of entry that can be scaled
○ Reduced code redundancy for common features like auth, rate limiting, caching, etc
○ Decouple APIM logic from business logic
● Improved Performance
○ Cache request and response
○ Reduce load on backend services by filtering requests
● Security
○ Authentication and Authorization
○ Filter requests through policies such as IP restriction and other API security principles
Kong API Gateway
● Open source API Gateway
● Blazing fast API Gateway
○ Written in Lua
○ Sub-ms latency
● Flexible deployment options (Cloud Native)
○ Baremetal
○ VM
○ k8s
● Supports various protocols, including
HTTP, TCP, UDP, gRPC and WebSockets
● Can be easily extended through plugins
○ Polyglot extensibility - Plugins in Lua, Golang,
Python, Javascript
● Integrated Service Mesh with Kuma
Choosing an API Platform
1. Architecture Support
2. Deployment & Topology model
3. Programming model (including DevOps)
4. Developer Platform & Operations
5. Scale & Cost Economics
Kong API Gateway.pdf
Kong Terminology
Service - Upstream APIs and microservices that an API Gateway manages
Upstream - Target service that a Gateway routes requests to. An upstream object
represents a virtual hostname and can be used to load balance over multiple
services
Route - Defines rules to match client requests to upstream services. Entry Points
to upstream services
Plugin - Allows to extend API Gateway functionality with advanced features.
Kong Terminology
Consumer - Client making a request to the API Gateway. Can be a developer or a
machine using the API
Admin API - Used to manage the Kong Gateway configuration
Kong Manager - GUI for managing the Kong Gateway
Kong Vitals - Monitor Kong health and performance. Enterprise only
Dev Portal - Allows developers to locate, access, and consume services.
Enterprise only
Datastore - Stores Kong configuration. Typically Postgres, can be DBless
Kong API Gateway.pdf
Hands-On
Kong Deployment models
DB Less
Source of truth is a declarative YAML that
includes all Kong configuration and is parsed
in-memory when Kong starts
With Database
Source of truth is the shared Postgres database
Kong Deployment models
Traditional
Configuration and proxy components are in the
same Kong node
Hybrid
Separate configuration from proxy as Control
Plane and Data Plane
Kong API Gateway.pdf
Thank you

More Related Content

PPTX
KONG-APIGateway.pptx
Agusto Sipahutar
 
PDF
Introduction to Kong API Gateway
Yohann Ciurlik
 
PDF
Microservices & API Gateways
Kong Inc.
 
PDF
The Patterns of Distributed Logging and Containers
SATOSHI TAGOMORI
 
PDF
NGINX Ingress Controller for Kubernetes
NGINX, Inc.
 
PPTX
Service Discovery In Kubernetes
Knoldus Inc.
 
PDF
Kubernetes a comprehensive overview
Gabriel Carro
 
KONG-APIGateway.pptx
Agusto Sipahutar
 
Introduction to Kong API Gateway
Yohann Ciurlik
 
Microservices & API Gateways
Kong Inc.
 
The Patterns of Distributed Logging and Containers
SATOSHI TAGOMORI
 
NGINX Ingress Controller for Kubernetes
NGINX, Inc.
 
Service Discovery In Kubernetes
Knoldus Inc.
 
Kubernetes a comprehensive overview
Gabriel Carro
 

What's hot (20)

PDF
Introduction to Kubernetes RBAC
Kublr
 
PDF
Kong Workshop.pdf
AvinashUpadhyaya3
 
PPTX
What is an API Gateway?
LunchBadger
 
PDF
Open Policy Agent
Torin Sandall
 
ODP
Kong API Gateway
Chris Mague
 
PDF
gRPC Overview
Varun Talwar
 
PDF
Kong API
Patrick Pierson
 
PPTX
Introduction to kubernetes
Rishabh Indoria
 
PDF
Prometheus Overview
Brian Brazil
 
PPTX
DevOps with Kubernetes
EastBanc Tachnologies
 
PDF
Repository Management with JFrog Artifactory
Stephen Chin
 
PPTX
Best Practices for API Security
MuleSoft
 
PDF
Getting Started with Kubernetes
VMware Tanzu
 
PDF
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
DevOps.com
 
PDF
Kubernetes Secrets Management on Production with Demo
Opsta
 
PDF
Kubernetes Networking
CJ Cullen
 
PPTX
Api gateway in microservices
Kunal Hire
 
PDF
Rego Deep Dive
Torin Sandall
 
PPTX
Kubernetes for Beginners: An Introductory Guide
Bytemark
 
PDF
Deploy Application on Kubernetes
Opsta
 
Introduction to Kubernetes RBAC
Kublr
 
Kong Workshop.pdf
AvinashUpadhyaya3
 
What is an API Gateway?
LunchBadger
 
Open Policy Agent
Torin Sandall
 
Kong API Gateway
Chris Mague
 
gRPC Overview
Varun Talwar
 
Kong API
Patrick Pierson
 
Introduction to kubernetes
Rishabh Indoria
 
Prometheus Overview
Brian Brazil
 
DevOps with Kubernetes
EastBanc Tachnologies
 
Repository Management with JFrog Artifactory
Stephen Chin
 
Best Practices for API Security
MuleSoft
 
Getting Started with Kubernetes
VMware Tanzu
 
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
DevOps.com
 
Kubernetes Secrets Management on Production with Demo
Opsta
 
Kubernetes Networking
CJ Cullen
 
Api gateway in microservices
Kunal Hire
 
Rego Deep Dive
Torin Sandall
 
Kubernetes for Beginners: An Introductory Guide
Bytemark
 
Deploy Application on Kubernetes
Opsta
 
Ad

Similar to Kong API Gateway.pdf (20)

PDF
Kong 101 - Jumpstart into the world of APIs
Sven Bernhardt
 
PDF
Mastering Microservices with Kong (DevoxxUK 2019)
Maarten Mulders
 
PDF
Manage your APIs and Microservices with an API Gateway
Thibault Charbonnier
 
PDF
Managing Multi-Platform and Multi-Region APIs with Kong Konnect and AWS
DeguiXu
 
PDF
Kong session, CloudNative Days Tokyo 2021
Junji Nishihara
 
PDF
Proxies, gateways, and meshes cloud connectivity patterns for developers
LibbySchulze
 
PDF
Kонструируем микросервисную архитектуру на Symfony и связываем с Kong
Alex Demchenko
 
PDF
AWS Api Gateway by Łukasz Marchewka Scalacc
Scalac
 
PDF
Flexible, hybrid API-led software architectures with Kong
Sven Bernhardt
 
PPTX
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Vadim Zendejas
 
PDF
Deploying Kong with Mesosphere DC/OS
Mesosphere Inc.
 
PDF
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
NGINX, Inc.
 
PDF
Aws Technical Day 2015 - Amazon API Gateway
aws-marketing-il
 
PDF
API Gateway study
Rafael Gonzaga
 
PDF
apidays LIVE Paris 2021 - Synchronous Communication Patterns by Sébastien Ber...
apidays
 
PPTX
Introduction to AWS API Gateway Presentation
Knoldus Inc.
 
PDF
API Gateway report
Gleicon Moraes
 
PDF
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
apidays
 
PDF
[Workshop] API-driven Integration
WSO2
 
PDF
Api gateway-security
Kali860857
 
Kong 101 - Jumpstart into the world of APIs
Sven Bernhardt
 
Mastering Microservices with Kong (DevoxxUK 2019)
Maarten Mulders
 
Manage your APIs and Microservices with an API Gateway
Thibault Charbonnier
 
Managing Multi-Platform and Multi-Region APIs with Kong Konnect and AWS
DeguiXu
 
Kong session, CloudNative Days Tokyo 2021
Junji Nishihara
 
Proxies, gateways, and meshes cloud connectivity patterns for developers
LibbySchulze
 
Kонструируем микросервисную архитектуру на Symfony и связываем с Kong
Alex Demchenko
 
AWS Api Gateway by Łukasz Marchewka Scalacc
Scalac
 
Flexible, hybrid API-led software architectures with Kong
Sven Bernhardt
 
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Vadim Zendejas
 
Deploying Kong with Mesosphere DC/OS
Mesosphere Inc.
 
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
NGINX, Inc.
 
Aws Technical Day 2015 - Amazon API Gateway
aws-marketing-il
 
API Gateway study
Rafael Gonzaga
 
apidays LIVE Paris 2021 - Synchronous Communication Patterns by Sébastien Ber...
apidays
 
Introduction to AWS API Gateway Presentation
Knoldus Inc.
 
API Gateway report
Gleicon Moraes
 
Apidays Paris 2023 - Kubernetes Gateways, Pubudu Gunatilaka, WSO2
apidays
 
[Workshop] API-driven Integration
WSO2
 
Api gateway-security
Kali860857
 
Ad

Recently uploaded (20)

PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
PDF
Beyond Automation: The Role of IoT Sensor Integration in Next-Gen Industries
Rejig Digital
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
Beyond Automation: The Role of IoT Sensor Integration in Next-Gen Industries
Rejig Digital
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Doc9.....................................
SofiaCollazos
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 

Kong API Gateway.pdf

  • 2. Agenda ● API Gateway 101 ● Introduction to Kong ● Kong terminologies ● Hands-on ○ Setup kong with docker compose ○ Create services, routes and consumers ○ Plugins ■ Key Auth ■ Rate limiting ■ Request/Response Transformer ○ Upstreams for load balancing ● Kong Deployment models
  • 3. About Us ● Platform engineer @ platformatory.io ● Kong Champion ● Open source contributor to Cloud Native projects (k8s, ArgoCD, Tekton, Litmus, etc) ● Kong, Grafana, Docker meetups in Bengaluru ● Principal Engineer @ platformatory.io ● Kong Gateway Certified Avinash Upadhyaya Lakshmi Narasimhan P
  • 4. APIs: Driving Business Innovation APIs are everywhere
  • 6. API Management API Portal API Lifecycle Mgmt API Security API Gateway API Analytics APIM API Policy Mgmt
  • 7. API Gateway ● Acts as an entry point for APIs ● Sits between one or more clients and one or more backend service ● Reverse proxy and load balancer ● Provides management functionality - authentication, routing, rate limiting, billing, monitoring, analytics, policies, alerts and security ● Common pattern in microservice based architectures
  • 8. Why API Gateway ● Reduced Complexity ○ Single point of entry that can be scaled ○ Reduced code redundancy for common features like auth, rate limiting, caching, etc ○ Decouple APIM logic from business logic ● Improved Performance ○ Cache request and response ○ Reduce load on backend services by filtering requests ● Security ○ Authentication and Authorization ○ Filter requests through policies such as IP restriction and other API security principles
  • 9. Kong API Gateway ● Open source API Gateway ● Blazing fast API Gateway ○ Written in Lua ○ Sub-ms latency ● Flexible deployment options (Cloud Native) ○ Baremetal ○ VM ○ k8s ● Supports various protocols, including HTTP, TCP, UDP, gRPC and WebSockets ● Can be easily extended through plugins ○ Polyglot extensibility - Plugins in Lua, Golang, Python, Javascript ● Integrated Service Mesh with Kuma
  • 10. Choosing an API Platform 1. Architecture Support 2. Deployment & Topology model 3. Programming model (including DevOps) 4. Developer Platform & Operations 5. Scale & Cost Economics
  • 12. Kong Terminology Service - Upstream APIs and microservices that an API Gateway manages Upstream - Target service that a Gateway routes requests to. An upstream object represents a virtual hostname and can be used to load balance over multiple services Route - Defines rules to match client requests to upstream services. Entry Points to upstream services Plugin - Allows to extend API Gateway functionality with advanced features.
  • 13. Kong Terminology Consumer - Client making a request to the API Gateway. Can be a developer or a machine using the API Admin API - Used to manage the Kong Gateway configuration Kong Manager - GUI for managing the Kong Gateway Kong Vitals - Monitor Kong health and performance. Enterprise only Dev Portal - Allows developers to locate, access, and consume services. Enterprise only Datastore - Stores Kong configuration. Typically Postgres, can be DBless
  • 16. Kong Deployment models DB Less Source of truth is a declarative YAML that includes all Kong configuration and is parsed in-memory when Kong starts With Database Source of truth is the shared Postgres database
  • 17. Kong Deployment models Traditional Configuration and proxy components are in the same Kong node Hybrid Separate configuration from proxy as Control Plane and Data Plane