9
Most read
21
Most read
22
Most read
KONG
An API Gateway
Yohann Ciurlik
Date : October 17th 2017
Version : 1.1
Introduction
3
Introduction
Quick overview
• Open-source cloud-native, fast, scalable, and distributed Microservice
Abstraction Layer
• Backed by the battle-tested NGINX with a focus on high performance, Kong was
made available as an open-source platform in 2015 by Mashape.
• Under active development, Kong is used in production at thousands of
organizations from startups, Global 5000 and Government organizations.
• Licensing model :
– Enterprise Edition (EE)
– Community Edition (CE)
4
Introduction
What is Kong ?
• Kong is an API gateway : it’s a form of middleware between computing clients
and your API-based applications.
• Kong easily and consistently extends the features of your APIs. Some of the
popular features deployed through Kong include :
– authentication,
– security,
– traffic control,
– serverless,
– analytics & monitoring,
– request/response transformations
– and logging.
5
Introduction
Why use Kong ?
• Kong is :
– Radically Extensible
– Blazingly Fast
– Open Source
– Platform Agnostic
– Cloud Native
– RESTful
Community Edition (CE)
7
Community Edition (CE)
Focus on Community Edition (CE)
• Available on Github
– Actual version : 0.11.0
– Apache v2 licensing
– 3500 commits, 12,5 k*, 1400 forks
• No UI & Analytics on CE (!!!)
– OS community UI :
• Konga
• Kongdash,
• Kong Dashboard (desktop)
– Analytics :
• ELK
• Runscope, Datadog, …
8
Community Edition (CE)
A lot of open source plugins
• Authentication
– Basic
– Key
– HMAC
– OAUth 2
– LDAP
– JWT
• Security
– ACL
– CORS
– Dynamics SSL
– IP Restriction
– Bot Detection
• Traffic control
– Rate Limiting
– Response Rate Limiting
– Request Size Limiting
– Request termination
• Analytics & Monitoring
– Galileo
– Datadog
– Runscope
• Transformations
– Request Transformer
– Response Transformer
– Correlation ID
• Serverless
– AWS Lambda
– OpenWhisk
• Logging
– TCP
– UDP
– HTTP
– File
– Syslog
– StatsD
– Loggly
Enterprise Edition (EE)
10
Enterprise Edition (EE)
Benefits
• Admin GUI
• Dev Portal
• API Analytics
• More scalability
• More security
• 24/7 support
• More information on https://konghq.com/kong-enterprise-edition/
11
Enterprise Edition (EE)
Dev portal & admin GUI in EE
https://gelato.io/
Markdown explorer
Automatic API Explorer
Import OpenAPI/Swaggr
Developer Registration
12
Enterprise Edition (EE)
Kong Analytics platform in EE
https://getgalileo.io/
Realtime Logging
Diff comparaison
Architecture overview
14
Architecture overview
Based on OpenResty (Nginx & LUA scripting)
15
Architecture overview
Native scalability
16
Architecture overview
How to install and start Kong …
• Distributions
– Docker, Vargrant, Pre-built packages
– Homebrew, AWS, Azure, Heroku, CloudFormation
• Start in 1 min :
17
Architecture overview
How to administrate and configure Kong ?
• Postman is your best friend for all configuration tasks
– Information routes
– API
– Consumer
– Plugin
– Certificate
– SNI
– Upstream
– Targets
• Also a CLI Tool that allows you to start, stop, and manage your Kong instances.
18
Architecture overview
Extend it with your own plugin
• Using LUA Scripting
– simple-plugin
– ├── handler.lua
– └── schema.lua
• Build the plugin and install it on the server
• More information on https://getkong.org/docs/0.11.x/plugin-development/
• Then configure it on your API :
Going further with Kong
20
Going further with Kong
Proof of Concept
• Expose end-user API with an access :
http://docker:8000/person/2016-4987649-53
• Add JWT and upstream Basic Auth plugin
• Add JWT authentication :
• Check personId correlation between JWT and URI parameter (see
plugin code)
• Which consumes EIS Thalys API with Basic Authentication
https://api.spawnrider.net/api/Person/2016-4987649-
53?personIdType=user&levelOfDetails=full
• My demo docker is available on Docker Hub
21
Going further with Kong
Benefits and concerns
• Benefits
– Easy to install, configure and use
– Based on reliable products (Nginx, Cassandra, …)
– Not an ESB-based technical stack
– Well documented
• Concerns
– No OOTB Administration UI, Developer portal and Analytics platform
– Too technical for “non-tech” end-user / administrator
22
Going further with Kong
Online materials
• Documentation
– https://getkong.org/
– https://getkong.org/plugins/
– https://getkong.org/docs/
• Videos & Webinars :
– Mashap Youtube Channel
– API & Microservices Management with Kong (Webinar)
– Microservices Orchestration with Kong, Galileo & Gelato
(Webinar)
23
Contact
Yohann Ciurlik
Managing Solution Architect
Digital Customer eXperience (DCX)
Capgemini France
yohann.ciurlik@Capgemini.com
Also on Twitter or LinkedIn
Introduction to Kong API Gateway

More Related Content

PPTX
What is an API Gateway?
PPTX
KONG-APIGateway.pptx
PDF
Digital Banking
PDF
Kong API Gateway.pdf
PDF
Introduction to OpenID Connect
PPTX
Microsoft Azure Technical Overview
PDF
Return On Investment Powerpoint Presentation Slides
What is an API Gateway?
KONG-APIGateway.pptx
Digital Banking
Kong API Gateway.pdf
Introduction to OpenID Connect
Microsoft Azure Technical Overview
Return On Investment Powerpoint Presentation Slides

What's hot (20)

ODP
Kong API Gateway
PDF
Kong API
PDF
Microservices & API Gateways
PDF
OpenID Connect Explained
PDF
Apigee Demo: API Platform Overview
PPTX
Intro to OAuth2 and OpenID Connect
PDF
The Architecture of an API Platform
PPTX
OpenID Connect: An Overview
PPTX
API Management in Azure
PPTX
OpenId Connect Protocol
PDF
OAuth 2.0 and OpenID Connect
PPTX
API Management
PPTX
An Introduction to OAuth 2
PDF
Flexible, hybrid API-led software architectures with Kong
PDF
How to create a User Defined Policy with IBM APIc (v10)
PDF
Getting Started with Kubernetes
PDF
API Security Best Practices & Guidelines
PDF
Architecting an Enterprise API Management Strategy
PDF
Kuberntes Ingress with Kong
ODP
OAuth2 - Introduction
Kong API Gateway
Kong API
Microservices & API Gateways
OpenID Connect Explained
Apigee Demo: API Platform Overview
Intro to OAuth2 and OpenID Connect
The Architecture of an API Platform
OpenID Connect: An Overview
API Management in Azure
OpenId Connect Protocol
OAuth 2.0 and OpenID Connect
API Management
An Introduction to OAuth 2
Flexible, hybrid API-led software architectures with Kong
How to create a User Defined Policy with IBM APIc (v10)
Getting Started with Kubernetes
API Security Best Practices & Guidelines
Architecting an Enterprise API Management Strategy
Kuberntes Ingress with Kong
OAuth2 - Introduction
Ad

Similar to Introduction to Kong API Gateway (20)

PPTX
Azure app service to create web and mobile apps
PPT
IBM Open Cloud Update XCITE Fall 2014
PPTX
What's New in Docker - February 2017
PPTX
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
PDF
APIs: Intelligent Routing, Security, & Management
PPTX
Oow2016 review--paas-microservices-
PPTX
API Gateways are going through an identity crisis
PPTX
Building Content-Rich Java Apps in the Cloud with the Alfresco API
PDF
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
PDF
What's new in App Engine and intro to App Engine for Business
PPTX
Kube con china_2019_7 missing factors for your production-quality 12-factor apps
PDF
M meijer api management - tech-days 2015
PDF
Practical Data Mesh: Building Decentralized Data Architectures with Event Str...
PDF
Practical Data Mesh: Building Decentralized Data Architectures with Event Stream
PDF
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
PDF
OSGi on Google Android using Apache Felix
PPTX
OCP Datacomm RedHat - Kubernetes Launch
PDF
2016 06 - design your api management strategy - axway - Api Management
PDF
Structure and Opinions - Software Deployments with Cloud Foundry
PDF
DevOps and BigData Analytics
Azure app service to create web and mobile apps
IBM Open Cloud Update XCITE Fall 2014
What's New in Docker - February 2017
IBM BP Session - Multiple CLoud Paks and Cloud Paks Foundational Services.pptx
APIs: Intelligent Routing, Security, & Management
Oow2016 review--paas-microservices-
API Gateways are going through an identity crisis
Building Content-Rich Java Apps in the Cloud with the Alfresco API
Deploy and Access WebSphere Liberty and StrongLoop REST Endpoints on IBM Bluemix
What's new in App Engine and intro to App Engine for Business
Kube con china_2019_7 missing factors for your production-quality 12-factor apps
M meijer api management - tech-days 2015
Practical Data Mesh: Building Decentralized Data Architectures with Event Str...
Practical Data Mesh: Building Decentralized Data Architectures with Event Stream
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
OSGi on Google Android using Apache Felix
OCP Datacomm RedHat - Kubernetes Launch
2016 06 - design your api management strategy - axway - Api Management
Structure and Opinions - Software Deployments with Cloud Foundry
DevOps and BigData Analytics
Ad

Recently uploaded (20)

PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
Streamline Vulnerability Management From Minimal Images to SBOMs
PPTX
Blending method and technology for hydrogen.pptx
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PPTX
How to use fields_get method in Odoo 18
PPTX
Information-Technology-in-Human-Society (2).pptx
PPTX
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
PPTX
Information-Technology-in-Human-Society.pptx
PDF
Human Computer Interaction Miterm Lesson
PDF
Optimizing bioinformatics applications: a novel approach with human protein d...
PDF
Ebook - The Future of AI A Comprehensive Guide.pdf
PDF
Advancements in abstractive text summarization: a deep learning approach
PPTX
Digital Convergence: How GIS, BIM, and CAD Revolutionize Asset Management
PDF
Fitaura: AI & Machine Learning Powered Fitness Tracker
PPTX
How to Convert Tickets Into Sales Opportunity in Odoo 18
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PDF
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
PDF
CEH Module 2 Footprinting CEH V13, concepts
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
Internet of Things (IoT) – Definition, Types, and Uses
Connector Corner: Transform Unstructured Documents with Agentic Automation
Streamline Vulnerability Management From Minimal Images to SBOMs
Blending method and technology for hydrogen.pptx
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
How to use fields_get method in Odoo 18
Information-Technology-in-Human-Society (2).pptx
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
Information-Technology-in-Human-Society.pptx
Human Computer Interaction Miterm Lesson
Optimizing bioinformatics applications: a novel approach with human protein d...
Ebook - The Future of AI A Comprehensive Guide.pdf
Advancements in abstractive text summarization: a deep learning approach
Digital Convergence: How GIS, BIM, and CAD Revolutionize Asset Management
Fitaura: AI & Machine Learning Powered Fitness Tracker
How to Convert Tickets Into Sales Opportunity in Odoo 18
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
CEH Module 2 Footprinting CEH V13, concepts
EIS-Webinar-Regulated-Industries-2025-08.pdf
Internet of Things (IoT) – Definition, Types, and Uses

Introduction to Kong API Gateway

  • 1. KONG An API Gateway Yohann Ciurlik Date : October 17th 2017 Version : 1.1
  • 3. 3 Introduction Quick overview • Open-source cloud-native, fast, scalable, and distributed Microservice Abstraction Layer • Backed by the battle-tested NGINX with a focus on high performance, Kong was made available as an open-source platform in 2015 by Mashape. • Under active development, Kong is used in production at thousands of organizations from startups, Global 5000 and Government organizations. • Licensing model : – Enterprise Edition (EE) – Community Edition (CE)
  • 4. 4 Introduction What is Kong ? • Kong is an API gateway : it’s a form of middleware between computing clients and your API-based applications. • Kong easily and consistently extends the features of your APIs. Some of the popular features deployed through Kong include : – authentication, – security, – traffic control, – serverless, – analytics & monitoring, – request/response transformations – and logging.
  • 5. 5 Introduction Why use Kong ? • Kong is : – Radically Extensible – Blazingly Fast – Open Source – Platform Agnostic – Cloud Native – RESTful
  • 7. 7 Community Edition (CE) Focus on Community Edition (CE) • Available on Github – Actual version : 0.11.0 – Apache v2 licensing – 3500 commits, 12,5 k*, 1400 forks • No UI & Analytics on CE (!!!) – OS community UI : • Konga • Kongdash, • Kong Dashboard (desktop) – Analytics : • ELK • Runscope, Datadog, …
  • 8. 8 Community Edition (CE) A lot of open source plugins • Authentication – Basic – Key – HMAC – OAUth 2 – LDAP – JWT • Security – ACL – CORS – Dynamics SSL – IP Restriction – Bot Detection • Traffic control – Rate Limiting – Response Rate Limiting – Request Size Limiting – Request termination • Analytics & Monitoring – Galileo – Datadog – Runscope • Transformations – Request Transformer – Response Transformer – Correlation ID • Serverless – AWS Lambda – OpenWhisk • Logging – TCP – UDP – HTTP – File – Syslog – StatsD – Loggly
  • 10. 10 Enterprise Edition (EE) Benefits • Admin GUI • Dev Portal • API Analytics • More scalability • More security • 24/7 support • More information on https://konghq.com/kong-enterprise-edition/
  • 11. 11 Enterprise Edition (EE) Dev portal & admin GUI in EE https://gelato.io/ Markdown explorer Automatic API Explorer Import OpenAPI/Swaggr Developer Registration
  • 12. 12 Enterprise Edition (EE) Kong Analytics platform in EE https://getgalileo.io/ Realtime Logging Diff comparaison
  • 14. 14 Architecture overview Based on OpenResty (Nginx & LUA scripting)
  • 16. 16 Architecture overview How to install and start Kong … • Distributions – Docker, Vargrant, Pre-built packages – Homebrew, AWS, Azure, Heroku, CloudFormation • Start in 1 min :
  • 17. 17 Architecture overview How to administrate and configure Kong ? • Postman is your best friend for all configuration tasks – Information routes – API – Consumer – Plugin – Certificate – SNI – Upstream – Targets • Also a CLI Tool that allows you to start, stop, and manage your Kong instances.
  • 18. 18 Architecture overview Extend it with your own plugin • Using LUA Scripting – simple-plugin – ├── handler.lua – └── schema.lua • Build the plugin and install it on the server • More information on https://getkong.org/docs/0.11.x/plugin-development/ • Then configure it on your API :
  • 20. 20 Going further with Kong Proof of Concept • Expose end-user API with an access : http://docker:8000/person/2016-4987649-53 • Add JWT and upstream Basic Auth plugin • Add JWT authentication : • Check personId correlation between JWT and URI parameter (see plugin code) • Which consumes EIS Thalys API with Basic Authentication https://api.spawnrider.net/api/Person/2016-4987649- 53?personIdType=user&levelOfDetails=full • My demo docker is available on Docker Hub
  • 21. 21 Going further with Kong Benefits and concerns • Benefits – Easy to install, configure and use – Based on reliable products (Nginx, Cassandra, …) – Not an ESB-based technical stack – Well documented • Concerns – No OOTB Administration UI, Developer portal and Analytics platform – Too technical for “non-tech” end-user / administrator
  • 22. 22 Going further with Kong Online materials • Documentation – https://getkong.org/ – https://getkong.org/plugins/ – https://getkong.org/docs/ • Videos & Webinars : – Mashap Youtube Channel – API & Microservices Management with Kong (Webinar) – Microservices Orchestration with Kong, Galileo & Gelato (Webinar)
  • 23. 23 Contact Yohann Ciurlik Managing Solution Architect Digital Customer eXperience (DCX) Capgemini France [email protected] Also on Twitter or LinkedIn