SlideShare a Scribd company logo
1 of 19
Download to read offline
© OPITZ CONSULTING 2023 / Öffentlich
Kong 101 – Jumpstart into the world of APIs 1
Brühl, 2023-06-21
Sven Bernhardt
KONG 101 - JUMPSTART
INTO THE WORLD OF APIS
© OPITZ CONSULTING 2023 / Öffentlich
WORKSHOP-MATERIAL DOWNLOAD
Kong 101 – Jumpstart into the world of APIs 2
https://bit.ly/449Zggm
© OPITZ CONSULTING 2023 / Öffentlich
THAT‘S ME
Kong 101 – Jumpstart into the world of APIs 3
Sven Bernhardt
Cloud-Native enthusiast, API & integration geek. Always curious how new
technologies and concepts can help to make things more valuable and efficient.
@sbernhardt
https://svenbernhardt.wordpress.com/
Chief Architect / Integration Evangelist
OPITZ CONSULTING Deutschland
GmbH
© OPITZ CONSULTING 2023 / Öffentlich
API GATEWAY
Kong 101 – Jumpstart into the world of APIs 4
¢ Single entry point for clients to access
Services
¢ No matter the implementation technology
¢ No matter the deployment model (Monolithic
or µService)
¢ Provides a consistent governance model
¢ Decouples Client and Service implementation
¢ Is deployed separately in its own instance
¢ Deployment models:
¢ Bundled data and control plane
¢ Independent data and control plane
Source: https://tinyurl.com/yxbds3cd
© OPITZ CONSULTING 2023 / Öffentlich
Business
Logic (B)
Policy (P)
SHARED POLICY LAYER
Kong 101 – Jumpstart into the world of APIs 5
OTHER
MONOLITH
MICROSERVICES 3RD-PARTY
Routing
Load Balancing
Authentication
Authorization
Logs & Metrics
Rate Limiting
Caching
Validation
Transformation
MULTI-CLOUD & KUBERNETES
ON-PREMISE
HOSTING
B
Shared Policy Layer (Kong Gateway)
B B B B B B
B B B
Serverless
(e.g. AWS
Lambda)
More applications and services
More languages and protocols
REST}
{
More deployment types
© OPITZ CONSULTING 2023 / Öffentlich
KONG API GATEWAY
Kong 101 – Jumpstart into the world of APIs 6
¢ Build on Open Source, driven by the community
¢ 35.1K GitHub Stars
¢ 338 Contributors
¢ 130 Releases (since 2015, current Version: 3.3.0)
¢ Optimized for speed
¢ Flexible deployment options
¢ Unlimited extensibility
¢ Itself based on APIs (Everything is an API!)
Graphic and more details: https://konghq.com/blog/why-kong-is-the-best-api-gateway
© OPITZ CONSULTING 2023 / Öffentlich
FLEXIBILITY TO FIT IN ANY ENVIRONMENT
Kong 101 – Jumpstart into the world of APIs 7
¢ Kong Gateway is Kubernetes-native
¢ Not everyone is on Kubernetes
¢ IT architectures are usually heterogeneous
¢ Flexibility with respect to the environment
¢ Configuration flexibility depending on
deployment
¢ Supports any database as backend store that
provides a postgres-compatible interface
Graphic source: https://konghq.com/blog/why-kong-is-the-best-api-gateway
© OPITZ CONSULTING 2023 / Öffentlich
MODULAR, EXTENSIBLE PLUGIN ARCHITECTURE
Kong 101 – Jumpstart into the world of APIs 8
¢ Plugins deliver API Management capabilities
¢ AuthN/AuthZ
¢ Traffic control
¢ Security
¢ Observability
¢ … more see PluginHub or GitHub
¢ Keeps Kong Gateway Core lightweight and
fast
¢ Extensibility through Plugin Development Kit
Graphic source: https://docs.konghq.com/gateway/latest/
© OPITZ CONSULTING 2023 / Öffentlich
EASY TO INTEGRATE IN CI/CD PIPELINES
Kong 101 – Jumpstart into the world of APIs 9
¢ In Kong Gateway, everything is an API
¢ Resources can be managed using:
¢ Kubernetes CRDs
¢ YAML configuration (via decK)
¢ RESTful Admin API
¢ Possiblity to establish an APIOps approach
that allows for rapid API delivery
© OPITZ CONSULTING 2023 / Öffentlich
BASIC CONCEPTS – ROUTES & SERVICES
Kong 101 – Jumpstart into the world of APIs 10
µService
2
µService
1
Client 1
Client 2
Client 3 COTS
GET
POST, PUT, DELETE
GET, POST,
PUT, DELETE
GET, POST,
PUT, DELETE
Clients
Services
Routes
Backend
apps
Kong
Gateway
© OPITZ CONSULTING 2023 / Öffentlich
BASIC CONCEPTS – UPSTREAMS, CONSUMERS, PLUGINS
Kong 101 – Jumpstart into the world of APIs 11
µService
2a
µService
1
Route Service
Client 1
GET, POST, PUT, DELETE
P P P P
µService
2b
Route
Client 2
GET, POST, PUT, DELETE
P
P P
Plugins
Kong
Gateway
Consum
er
Upstream
P
© OPITZ CONSULTING 2023 / Öffentlich
FLEXIBLE DEPLOYMENT OPTIONS – STANDALONE MODE
Kong 101 – Jumpstart into the world of APIs 12
¢ Kong Gateway Nodes deployed on VM, Bare
Metal or Dockerized
¢ Simple Deployment architecture
¢ Configuration using:
¢ RESTful Admin API
¢ decK
¢ Availability of Gateway Nodes is depending
on the database availability
Postgres-compatible
Database
Gateway
Node
Gateway
Node
Gateway Cluster
© OPITZ CONSULTING 2023 / Öffentlich
FLEXIBLE DEPLOYMENT OPTIONS – HYBRID MODE
Kong 101 – Jumpstart into the world of APIs 13
¢ Data Plane (DP) Node only has connection to
Control Plane Node
¢ Control Plane (CP) Node Has connection to
Database and manages all DP Nodes
¢ Configuration: Depends on CP Deployment
¢ Benefits:
¢ Deployment flexibility
¢ Increased reliability
¢ Traffic reduction
¢ Increased security
¢ Ease of management
Postgres-compatible
Database
Data Plane
Node
Data Plane
Node
Gateway Cluster
Control Plane
Node
Data Pane
Node
On-Premises Cloud Provider 1
© OPITZ CONSULTING 2023 / Öffentlich
FLEXIBLE DEPLOYMENT OPTIONS – KUBERNETES (K8S)
Kong 101 – Jumpstart into the world of APIs 14
¢ Kong K8s Ingress Controller translates K8s
resources into Kong Gateway configuration
¢ Deployment
¢ With or without database
¢ Possibility to run in hybrid mode
¢ Configuration using K8s CRDs
¢ Kubernetes can take care about:
¢ High availability
¢ Load Balancing
¢ Auto-scaling …
¢ Attention: there are restrictions, when deployed
without database
Kong Ingress
Controller Kong Proxy
© OPITZ CONSULTING 2023 / Öffentlich
Kong 101 – Jumpstart into the world of APIs 15
LABS
https://opitzcloud.canto.global/b/GRBHD
© OPITZ CONSULTING 2023 / Öffentlich
KONG IS KING
Kong 101 – Jumpstart into the world of APIs 16
¢ Getting started with API Management using
Kong is easy!
¢ Ease-of-use with respect to implementation
and deployment
¢ Kong Gateway provides lightweight, flexible
architecture
¢ Kong Gateway is developed efficiency in
mind:
¢ Efficient API delivery though automation with
CI/CD
¢ Efficient provisioning using IaC (Ansible,
Terraform)
© OPITZ CONSULTING 2023 / Öffentlich
Kong 101 – Jumpstart into the world of APIs 17
Q & A
© OPITZ CONSULTING 2023 / Öffentlich
IN CASE OF ANY QUESTIONS…
Kong 101 – Jumpstart into the world of APIs 18
Sven Bernhardt
Chief Architect / Integration Evangelist |
Oracle ACE Director
OPITZ CONSULTING Deutschland GmbH
Kirchstrasse 6, 51647 Gummersbach, Germany
Phone: +49 172 2193529
Mail: sven.bernhardt@opitz-consulting.com
Twitter: @sbernhardt
Blog: https://svenbernhardt.wordpress.com
© OPITZ CONSULTING 2023 / Öffentlich
LINKS & REFERENCES
Kong 101 – Jumpstart into the world of APIs 19
¢ Kong Blog: https://konghq.com/blog/why-kong-is-the-best-api-gateway
¢ Kong PluginHub: https://docs.konghq.com/hub/
¢ Kong Gateway Documentation: https://docs.konghq.com/gateway/latest/
¢ Tutorial CI/CD: https://konghq.com/blog/api-gateway-ci-cd-pipeline
¢ Kong deck Documentation: https://docs.konghq.com/deck/latest/
¢ Kong Documentation Plugin compatibility: https://docs.konghq.com/kubernetes-ingress-
controller/latest/references/plugin-compatibility/
¢ Kong Documentation Admin API: https://docs.konghq.com/gateway/latest/admin-api/#route-
object

More Related Content

Similar to Kong 101 - Jumpstart into the world of APIs

Cloud-native Application Development - The new normal
Cloud-native Application Development - The new normalCloud-native Application Development - The new normal
Cloud-native Application Development - The new normalSven Bernhardt
 
Implementing Cloud-native apps on OCI
Implementing Cloud-native apps on OCIImplementing Cloud-native apps on OCI
Implementing Cloud-native apps on OCISven Bernhardt
 
Cloud-native is just part of the game
Cloud-native is just part of the gameCloud-native is just part of the game
Cloud-native is just part of the gameSven Bernhardt
 
Implementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCIImplementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCISven Bernhardt
 
Implementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCIImplementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCISven Bernhardt
 
API Gateway or Service mesh - Complementary or excluding concepts
API Gateway or Service mesh - Complementary or excluding conceptsAPI Gateway or Service mesh - Complementary or excluding concepts
API Gateway or Service mesh - Complementary or excluding conceptsSven Bernhardt
 
Implementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCIImplementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCISven Bernhardt
 
Integration architectures based on Microservices, APIs and events
Integration architectures based on Microservices,  APIs and eventsIntegration architectures based on Microservices,  APIs and events
Integration architectures based on Microservices, APIs and eventsSven Bernhardt
 
Declarative observability management for Microservice architectures
Declarative observability management for Microservice architecturesDeclarative observability management for Microservice architectures
Declarative observability management for Microservice architecturesSven Bernhardt
 
Service Mesh Advanced Use Cases
Service Mesh Advanced Use CasesService Mesh Advanced Use Cases
Service Mesh Advanced Use CasesFabian Hardt
 
One Gateway to Rule them All: Building a Federated API Management Platform
One Gateway to Rule them All: Building a Federated API Management PlatformOne Gateway to Rule them All: Building a Federated API Management Platform
One Gateway to Rule them All: Building a Federated API Management PlatformSven Bernhardt
 
Service Mesh Advanced Use Cases
Service Mesh Advanced Use CasesService Mesh Advanced Use Cases
Service Mesh Advanced Use CasesSven Bernhardt
 
API Gateway or Service Mesh - Complementary or excluding concepts
API Gateway or Service Mesh - Complementary or excluding conceptsAPI Gateway or Service Mesh - Complementary or excluding concepts
API Gateway or Service Mesh - Complementary or excluding conceptsSven Bernhardt
 
Build and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using KumaBuild and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using KumaSven Bernhardt
 
Kong Mesh入門編
Kong Mesh入門編Kong Mesh入門編
Kong Mesh入門編WenhanShi1
 
Evolution of API-driven architectures
Evolution of API-driven architecturesEvolution of API-driven architectures
Evolution of API-driven architecturesSven Bernhardt
 
Cloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle CloudCloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle CloudSven Bernhardt
 
Modern Integration based on OCI Cloud-native Services
Modern Integration based on OCI Cloud-native ServicesModern Integration based on OCI Cloud-native Services
Modern Integration based on OCI Cloud-native ServicesSven Bernhardt
 
Analytics meets Integration – Modern Development mit Data APIs
Analytics meets Integration – Modern Development mit Data APIsAnalytics meets Integration – Modern Development mit Data APIs
Analytics meets Integration – Modern Development mit Data APIsFabian Hardt
 

Similar to Kong 101 - Jumpstart into the world of APIs (20)

Cloud-native Application Development - The new normal
Cloud-native Application Development - The new normalCloud-native Application Development - The new normal
Cloud-native Application Development - The new normal
 
Implementing Cloud-native apps on OCI
Implementing Cloud-native apps on OCIImplementing Cloud-native apps on OCI
Implementing Cloud-native apps on OCI
 
Cloud-native is just part of the game
Cloud-native is just part of the gameCloud-native is just part of the game
Cloud-native is just part of the game
 
Implementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCIImplementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCI
 
Implementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCIImplementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCI
 
API Gateway or Service mesh - Complementary or excluding concepts
API Gateway or Service mesh - Complementary or excluding conceptsAPI Gateway or Service mesh - Complementary or excluding concepts
API Gateway or Service mesh - Complementary or excluding concepts
 
Implementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCIImplementing API-led Cloud-native apps on OCI
Implementing API-led Cloud-native apps on OCI
 
Integration architectures based on Microservices, APIs and events
Integration architectures based on Microservices,  APIs and eventsIntegration architectures based on Microservices,  APIs and events
Integration architectures based on Microservices, APIs and events
 
Declarative observability management for Microservice architectures
Declarative observability management for Microservice architecturesDeclarative observability management for Microservice architectures
Declarative observability management for Microservice architectures
 
Service Mesh Advanced Use Cases
Service Mesh Advanced Use CasesService Mesh Advanced Use Cases
Service Mesh Advanced Use Cases
 
One Gateway to Rule them All: Building a Federated API Management Platform
One Gateway to Rule them All: Building a Federated API Management PlatformOne Gateway to Rule them All: Building a Federated API Management Platform
One Gateway to Rule them All: Building a Federated API Management Platform
 
Service Mesh Advanced Use Cases
Service Mesh Advanced Use CasesService Mesh Advanced Use Cases
Service Mesh Advanced Use Cases
 
API Gateway or Service Mesh - Complementary or excluding concepts
API Gateway or Service Mesh - Complementary or excluding conceptsAPI Gateway or Service Mesh - Complementary or excluding concepts
API Gateway or Service Mesh - Complementary or excluding concepts
 
Build and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using KumaBuild and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using Kuma
 
Kong Mesh入門編
Kong Mesh入門編Kong Mesh入門編
Kong Mesh入門編
 
Evolution of API-driven architectures
Evolution of API-driven architecturesEvolution of API-driven architectures
Evolution of API-driven architectures
 
Evolution of API-driven Architectures
Evolution of API-driven ArchitecturesEvolution of API-driven Architectures
Evolution of API-driven Architectures
 
Cloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle CloudCloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle Cloud
 
Modern Integration based on OCI Cloud-native Services
Modern Integration based on OCI Cloud-native ServicesModern Integration based on OCI Cloud-native Services
Modern Integration based on OCI Cloud-native Services
 
Analytics meets Integration – Modern Development mit Data APIs
Analytics meets Integration – Modern Development mit Data APIsAnalytics meets Integration – Modern Development mit Data APIs
Analytics meets Integration – Modern Development mit Data APIs
 

More from Sven Bernhardt

Modernization options for Oracle Forms applications
Modernization options for Oracle Forms applicationsModernization options for Oracle Forms applications
Modernization options for Oracle Forms applicationsSven Bernhardt
 
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
Elevating Development: Embracing APIOps for Enhanced Developer ProductivityElevating Development: Embracing APIOps for Enhanced Developer Productivity
Elevating Development: Embracing APIOps for Enhanced Developer ProductivitySven Bernhardt
 
Build and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using KumaBuild and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using KumaSven Bernhardt
 
Torch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice ArchitecturesTorch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice ArchitecturesSven Bernhardt
 
Analytics meets Integration - Modern Development with Data APIs
Analytics meets Integration - Modern Development with Data APIsAnalytics meets Integration - Modern Development with Data APIs
Analytics meets Integration - Modern Development with Data APIsSven Bernhardt
 
Cloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle CloudCloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle CloudSven Bernhardt
 
Next Gen Big Data Plattform mit Hadoop, APIs und Kubernetes
Next Gen Big Data Plattform mit Hadoop, APIs und KubernetesNext Gen Big Data Plattform mit Hadoop, APIs und Kubernetes
Next Gen Big Data Plattform mit Hadoop, APIs und KubernetesSven Bernhardt
 
Cloud-Native Microservices using Helidon
Cloud-Native Microservices using HelidonCloud-Native Microservices using Helidon
Cloud-Native Microservices using HelidonSven Bernhardt
 

More from Sven Bernhardt (8)

Modernization options for Oracle Forms applications
Modernization options for Oracle Forms applicationsModernization options for Oracle Forms applications
Modernization options for Oracle Forms applications
 
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
Elevating Development: Embracing APIOps for Enhanced Developer ProductivityElevating Development: Embracing APIOps for Enhanced Developer Productivity
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
 
Build and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using KumaBuild and Manage Multi-Cloud Applications Using Kuma
Build and Manage Multi-Cloud Applications Using Kuma
 
Torch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice ArchitecturesTorch the light - Implementing Observability for Microservice Architectures
Torch the light - Implementing Observability for Microservice Architectures
 
Analytics meets Integration - Modern Development with Data APIs
Analytics meets Integration - Modern Development with Data APIsAnalytics meets Integration - Modern Development with Data APIs
Analytics meets Integration - Modern Development with Data APIs
 
Cloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle CloudCloud-native Integration in the Oracle Cloud
Cloud-native Integration in the Oracle Cloud
 
Next Gen Big Data Plattform mit Hadoop, APIs und Kubernetes
Next Gen Big Data Plattform mit Hadoop, APIs und KubernetesNext Gen Big Data Plattform mit Hadoop, APIs und Kubernetes
Next Gen Big Data Plattform mit Hadoop, APIs und Kubernetes
 
Cloud-Native Microservices using Helidon
Cloud-Native Microservices using HelidonCloud-Native Microservices using Helidon
Cloud-Native Microservices using Helidon
 

Recently uploaded

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Kong 101 - Jumpstart into the world of APIs

  • 1. © OPITZ CONSULTING 2023 / Öffentlich Kong 101 – Jumpstart into the world of APIs 1 Brühl, 2023-06-21 Sven Bernhardt KONG 101 - JUMPSTART INTO THE WORLD OF APIS
  • 2. © OPITZ CONSULTING 2023 / Öffentlich WORKSHOP-MATERIAL DOWNLOAD Kong 101 – Jumpstart into the world of APIs 2 https://bit.ly/449Zggm
  • 3. © OPITZ CONSULTING 2023 / Öffentlich THAT‘S ME Kong 101 – Jumpstart into the world of APIs 3 Sven Bernhardt Cloud-Native enthusiast, API & integration geek. Always curious how new technologies and concepts can help to make things more valuable and efficient. @sbernhardt https://svenbernhardt.wordpress.com/ Chief Architect / Integration Evangelist OPITZ CONSULTING Deutschland GmbH
  • 4. © OPITZ CONSULTING 2023 / Öffentlich API GATEWAY Kong 101 – Jumpstart into the world of APIs 4 ¢ Single entry point for clients to access Services ¢ No matter the implementation technology ¢ No matter the deployment model (Monolithic or µService) ¢ Provides a consistent governance model ¢ Decouples Client and Service implementation ¢ Is deployed separately in its own instance ¢ Deployment models: ¢ Bundled data and control plane ¢ Independent data and control plane Source: https://tinyurl.com/yxbds3cd
  • 5. © OPITZ CONSULTING 2023 / Öffentlich Business Logic (B) Policy (P) SHARED POLICY LAYER Kong 101 – Jumpstart into the world of APIs 5 OTHER MONOLITH MICROSERVICES 3RD-PARTY Routing Load Balancing Authentication Authorization Logs & Metrics Rate Limiting Caching Validation Transformation MULTI-CLOUD & KUBERNETES ON-PREMISE HOSTING B Shared Policy Layer (Kong Gateway) B B B B B B B B B Serverless (e.g. AWS Lambda) More applications and services More languages and protocols REST} { More deployment types
  • 6. © OPITZ CONSULTING 2023 / Öffentlich KONG API GATEWAY Kong 101 – Jumpstart into the world of APIs 6 ¢ Build on Open Source, driven by the community ¢ 35.1K GitHub Stars ¢ 338 Contributors ¢ 130 Releases (since 2015, current Version: 3.3.0) ¢ Optimized for speed ¢ Flexible deployment options ¢ Unlimited extensibility ¢ Itself based on APIs (Everything is an API!) Graphic and more details: https://konghq.com/blog/why-kong-is-the-best-api-gateway
  • 7. © OPITZ CONSULTING 2023 / Öffentlich FLEXIBILITY TO FIT IN ANY ENVIRONMENT Kong 101 – Jumpstart into the world of APIs 7 ¢ Kong Gateway is Kubernetes-native ¢ Not everyone is on Kubernetes ¢ IT architectures are usually heterogeneous ¢ Flexibility with respect to the environment ¢ Configuration flexibility depending on deployment ¢ Supports any database as backend store that provides a postgres-compatible interface Graphic source: https://konghq.com/blog/why-kong-is-the-best-api-gateway
  • 8. © OPITZ CONSULTING 2023 / Öffentlich MODULAR, EXTENSIBLE PLUGIN ARCHITECTURE Kong 101 – Jumpstart into the world of APIs 8 ¢ Plugins deliver API Management capabilities ¢ AuthN/AuthZ ¢ Traffic control ¢ Security ¢ Observability ¢ … more see PluginHub or GitHub ¢ Keeps Kong Gateway Core lightweight and fast ¢ Extensibility through Plugin Development Kit Graphic source: https://docs.konghq.com/gateway/latest/
  • 9. © OPITZ CONSULTING 2023 / Öffentlich EASY TO INTEGRATE IN CI/CD PIPELINES Kong 101 – Jumpstart into the world of APIs 9 ¢ In Kong Gateway, everything is an API ¢ Resources can be managed using: ¢ Kubernetes CRDs ¢ YAML configuration (via decK) ¢ RESTful Admin API ¢ Possiblity to establish an APIOps approach that allows for rapid API delivery
  • 10. © OPITZ CONSULTING 2023 / Öffentlich BASIC CONCEPTS – ROUTES & SERVICES Kong 101 – Jumpstart into the world of APIs 10 µService 2 µService 1 Client 1 Client 2 Client 3 COTS GET POST, PUT, DELETE GET, POST, PUT, DELETE GET, POST, PUT, DELETE Clients Services Routes Backend apps Kong Gateway
  • 11. © OPITZ CONSULTING 2023 / Öffentlich BASIC CONCEPTS – UPSTREAMS, CONSUMERS, PLUGINS Kong 101 – Jumpstart into the world of APIs 11 µService 2a µService 1 Route Service Client 1 GET, POST, PUT, DELETE P P P P µService 2b Route Client 2 GET, POST, PUT, DELETE P P P Plugins Kong Gateway Consum er Upstream P
  • 12. © OPITZ CONSULTING 2023 / Öffentlich FLEXIBLE DEPLOYMENT OPTIONS – STANDALONE MODE Kong 101 – Jumpstart into the world of APIs 12 ¢ Kong Gateway Nodes deployed on VM, Bare Metal or Dockerized ¢ Simple Deployment architecture ¢ Configuration using: ¢ RESTful Admin API ¢ decK ¢ Availability of Gateway Nodes is depending on the database availability Postgres-compatible Database Gateway Node Gateway Node Gateway Cluster
  • 13. © OPITZ CONSULTING 2023 / Öffentlich FLEXIBLE DEPLOYMENT OPTIONS – HYBRID MODE Kong 101 – Jumpstart into the world of APIs 13 ¢ Data Plane (DP) Node only has connection to Control Plane Node ¢ Control Plane (CP) Node Has connection to Database and manages all DP Nodes ¢ Configuration: Depends on CP Deployment ¢ Benefits: ¢ Deployment flexibility ¢ Increased reliability ¢ Traffic reduction ¢ Increased security ¢ Ease of management Postgres-compatible Database Data Plane Node Data Plane Node Gateway Cluster Control Plane Node Data Pane Node On-Premises Cloud Provider 1
  • 14. © OPITZ CONSULTING 2023 / Öffentlich FLEXIBLE DEPLOYMENT OPTIONS – KUBERNETES (K8S) Kong 101 – Jumpstart into the world of APIs 14 ¢ Kong K8s Ingress Controller translates K8s resources into Kong Gateway configuration ¢ Deployment ¢ With or without database ¢ Possibility to run in hybrid mode ¢ Configuration using K8s CRDs ¢ Kubernetes can take care about: ¢ High availability ¢ Load Balancing ¢ Auto-scaling … ¢ Attention: there are restrictions, when deployed without database Kong Ingress Controller Kong Proxy
  • 15. © OPITZ CONSULTING 2023 / Öffentlich Kong 101 – Jumpstart into the world of APIs 15 LABS https://opitzcloud.canto.global/b/GRBHD
  • 16. © OPITZ CONSULTING 2023 / Öffentlich KONG IS KING Kong 101 – Jumpstart into the world of APIs 16 ¢ Getting started with API Management using Kong is easy! ¢ Ease-of-use with respect to implementation and deployment ¢ Kong Gateway provides lightweight, flexible architecture ¢ Kong Gateway is developed efficiency in mind: ¢ Efficient API delivery though automation with CI/CD ¢ Efficient provisioning using IaC (Ansible, Terraform)
  • 17. © OPITZ CONSULTING 2023 / Öffentlich Kong 101 – Jumpstart into the world of APIs 17 Q & A
  • 18. © OPITZ CONSULTING 2023 / Öffentlich IN CASE OF ANY QUESTIONS… Kong 101 – Jumpstart into the world of APIs 18 Sven Bernhardt Chief Architect / Integration Evangelist | Oracle ACE Director OPITZ CONSULTING Deutschland GmbH Kirchstrasse 6, 51647 Gummersbach, Germany Phone: +49 172 2193529 Mail: sven.bernhardt@opitz-consulting.com Twitter: @sbernhardt Blog: https://svenbernhardt.wordpress.com
  • 19. © OPITZ CONSULTING 2023 / Öffentlich LINKS & REFERENCES Kong 101 – Jumpstart into the world of APIs 19 ¢ Kong Blog: https://konghq.com/blog/why-kong-is-the-best-api-gateway ¢ Kong PluginHub: https://docs.konghq.com/hub/ ¢ Kong Gateway Documentation: https://docs.konghq.com/gateway/latest/ ¢ Tutorial CI/CD: https://konghq.com/blog/api-gateway-ci-cd-pipeline ¢ Kong deck Documentation: https://docs.konghq.com/deck/latest/ ¢ Kong Documentation Plugin compatibility: https://docs.konghq.com/kubernetes-ingress- controller/latest/references/plugin-compatibility/ ¢ Kong Documentation Admin API: https://docs.konghq.com/gateway/latest/admin-api/#route- object