Logo Atlas
  • Home
  • About Me
  • Skills
  • Education
  • Recent Posts
  • Certifications
  • Posts
  • English
    Español English
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • Kong Gateway
    • Introduction Kong Gateway
    • Installing Kong with Docker (Hybrid Mode)
    • Installing Kong Ingress Controller (KIC)
    • Authentication plugins
      • Basic Auth
      • Key Auth
      • HMAC Auth
      • JWT
      • OAuth 2.0 Token introspection
      • OpenID Connect
      • SAML
      • Session
      • LDAP Auth
  • OpenStack
    • 01 - What is OpenStack?
    • 02 - Installation and Deployment Methods for OpenStack
    • Manual Installation
      • 03 - Manual OpenStack Installation Guide with Vagrant
      • 04 - Scenario Deployment and Preparation
      • 05 - Install and Configure Keystone on the Controller Node
      • 06 - Create Domains, Projects, Users, and Roles in OpenStack
      • 07 - Install and Configure Glance (Image Service)
      • 08 - Configure Placement in OpenStack
      • 09 - Install and Configure Nova on the Controller Node
      • 10 - Install and Configure Nova on Compute Nodes
      • 11 - Configure Neutron on the Controller Node
      • 12 - Configure Neutron on Compute Nodes
      • 13 - Verify the Minimum OpenStack Installation
      • 14 - Configure Cinder on the Controller Node
      • 15 - Install and Configure Cinder on Storage Nodes
      • 16 - Install and Configure Horizon on the Controller Node
    • Kolla-Ansible Installation
      • 17 - Install and Configure Horizon on the Controller Node
  • CI / CD Jenkins
    • CI / CD practice with Jenkins
    • Workshop 1 Ortho-rector of markdown documents (test)
    • Workshop 2 Valid HTML5 check and surge.sh deployment (test and deploy)
    • Workshop 3 Continuous integration of django application (Test)
  • Database
    • Install MariaDB in Debian
    • Interconnection of database servers
    • Oracle 19c installation under Debian 12
    • PostgreSQL installation in Debian 12
    • Remote access configuration in Oracle
    • Remote access in MariaDB
  • Docker
    • Docker Compose Installation on Ubuntu 24
    • Docker Installation on Ubuntu 24
    • Workshop 1 Storage and networks in Docker
    • Workshop 2 Multicontainer Scenarios in Docker
    • Workshop 3 Image creation Docker
  • Firewall
    • Fortinet CLI
    • Perimetral with Fortinet I
    • Perimetral with Fortinet II
    • Perimetral with Nftables I
    • Perimetral with Nftables II
  • Linux Drivers
    • Drivers Nvidia
    • How to choose which graph to use on my laptop with Linux
  • Networks
    • Android GNS3-KVM
    • Basic IPv6 scenario
    • GNS3 and Wireshark installation
    • GNS3 installation in Debian 12
    • GNS3 switch configuration
    • IPV6 Tunnels
    • NAT in Cisco and Linux
    • Network monitoring commands
    • OpenStack routing
    • Protocol ARP
    • Underworld
    • Underworld evolution
  • Observability
    • Metrics
      • Prometheus
        • Installation of Prometheus with Docker Compose and Node Exporter on Debian 12
  • Security
    • Forensic computer
    • HTTPS
  • Services
    • Apache
    • DHCP
      • Installation and Configuration of a DHCP Server on Linux
    • DNS
      • BIND9
        • Configuring a Slave DNS Server with BIND9
        • Installation and Configuration of BIND9 on Linux
      • DNSMASQ
        • Local Server with DNSMasq
    • FTP
    • NAT with iptables
    • SSH
  • Systems
    • Active Directory in Ubuntu
    • Centralized collection of logs journald
    • Compilations in LINUX
      • Compilation of a C-program using a Makefile
      • Compilation of a kernel
    • Creation of an automated installation system
    • Install and configure samba in Debian
    • Linux Command
      • Kernel parameter modification exercises
      • Linux processes
      • Module management exercises
      • Package management
      • Packaging and compressors
      • Paid management exercises
      • Task programming
    • Migration in Linnux
      • File system
      • Migtation from CentOS stream 8 to CentOS stream 9
      • Systemd elimination
      • Transformation instance cloud
    • NFS in Debian
    • SELinux activation configuration
    • Share resources in Windows
    • Ssh service in Windows
    • Storage Spaces in Windows Server
  • Virtualization (KVM on Linux)
    • Introduction to virtualization with KVM
      • Virtualization basics in Linux
      • Types of hypervisors
      • KVM architecture and operation
    • Installation and configuration
      • Install KVM and libvirt
      • Validate KVM host
    • Virtual machine management
      • Create VM with virt-install
      • VM components
      • Manage with virsh
      • Clone and rename VMs
      • Expand VM resources
      • Snapshots in KVM
      • Virtual machine templates
    • Networking in KVM
      • Network types in KVM
      • Create and configure private virtual networks
      • Create bridge interface
    • Storage in KVM
      • Introduction to storage
      • Managing pools
      • Volumes (virsh)
      • Resizing disks (VMs)
  • VPN
    • OpenVPN and Wireguard Comparative
    • OpenVPN remote access
    • Remote access Ipsec StrongSwan
    • Site-to-Site IPsec Cisco
    • Site-to-Site IPsec Fortinet
    • Site-to-Site OpenVPN
    • Site-to-Site Wireguard
    • Wireguard remote access
  • Web applications
    • LAMP stack installation
    • LEMP stack installation
    • WordPress LAMP
    • WordPress LEMP
Hero Image
Introduction to Kong Gateway

Kong Gateway is an API Gateway built on NGINX and developed in Lua. It acts as the entry point between API consumers and backend services, playing the role of an advanced reverse proxy with powerful capabilities for managing, securing, and observing traffic. Its purpose goes far beyond forwarding requests. Some of the native capabilities it provides are: Authentication and authorization through mechanisms such as API Keys, JWT, Basic Auth, or OIDC. Traffic control through rate limiting policies, quotas, and allow lists. Request and response transformations without changing the applications. Event, metric, and trace logging to improve observability. Centralized exposure of multiple services through a single entry point. Thanks to this approach, APIs can focus exclusively on business logic while Kong Gateway takes care of common concerns such as security, traffic control, observability, and communication handling.

  • Kong
  • API Gateway
  • Architecture
  • Planning
  • Topologies
Sunday, July 26, 2026 | 5 minutes Read
Hero Image
Installing Kong with Docker (Hybrid Mode)

Introduction In this article we will deploy Kong Gateway 3.10 open source in Hybrid mode using Docker Compose. This architecture, based on the separation between the Control Plane (CP) and the Data Plane (DP), is one of the deployment models recommended by Kong for API Gateway environments because of its flexibility, scalability, and high availability. In a Hybrid deployment, only the Control Plane maintains a direct connection to the database and is responsible for managing the full gateway configuration through the Admin API and Kong Manager. The Data Planes, on the other hand, run in DB-less mode and automatically receive configuration from the Control Plane through a secure channel protected by mTLS. This allows the Data Planes to keep processing traffic even if the Control Plane or the database becomes temporarily unavailable.

  • Kong
  • Docker
  • Docker Compose
  • Installation
  • API Key
Sunday, July 26, 2026 | 22 minutes Read
Hero Image
Installing Kong Ingress Controller (KIC)

In this article, we will move from theory to a real deployment. The goal is to install Kong Ingress Controller (KIC) in a Kubernetes cluster, verify that Kong Gateway is working properly, and prepare the external exposure of the proxy so that we can publish applications from the cluster itself. To keep the lab simple, I will use a single virtual machine created with Vagrant on which I will run a k3s cluster. This choice does not change the way Kong works, but it allows us to focus on what really matters: what KIC installs, why the proxy service initially appears in Pending, and how to solve that with MetalLB.

  • Kong
  • Testing
  • Validation
  • API Gateway
Sunday, July 26, 2026 | 9 minutes Read
Hero Image
Basic Auth in Kong

Basic Authentication may seem like a trivial mechanism because it only uses a username and a password. However, using it correctly means separating three ideas: the HTTP standard, the validation performed by Kong Gateway, and the identity that Kong associates with valid credentials. In this article we will look at those three layers and build a reproducible lab with Kong Ingress Controller. The goal is not simply to copy files and blindly apply them. First we will understand what each resource represents, then we will apply it, and finally we will check what happens inside Kong.

  • Kong
  • Authentication
  • Basic Auth
  • KIC
  • Gateway API
Sunday, July 26, 2026 | 8 minutes Read
Hero Image
Key Auth in Kong

An API key may look like little more than a random string that a client adds to every request. To use it correctly, however, it helps to separate three ideas: the credential presented by the client, the validation performed by Kong Gateway, and the identity of the Consumer associated with that credential. This article covers those three layers and builds a reproducible lab with Kong Ingress Controller. We will first understand each resource, then apply it, and finally verify what happens inside Kong.

  • Kong
  • Authentication
  • API Key
  • Key Auth
  • KIC
Sunday, July 26, 2026 | 8 minutes Read
Hero Image
HMAC Auth in Kong

HMAC Authentication proves that a request was created by a client that knows a shared secret without sending that secret in the request. In addition to authenticating the client, the signature detects changes to the signed elements while they are in transit. This article explains how an HMAC signature is built and validated by Kong Gateway, and how the Consumer relates to its credential. We then build a reproducible Kong Ingress Controller lab and protect /hmac-auth.

  • Kong
  • Authentication
  • HMAC
  • Signatures
  • KIC
Sunday, July 26, 2026 | 7 minutes Read
Hero Image
JWT Auth in Kong

A JSON Web Token carries claims about an identity inside a signed token. Kong can verify its signature and time constraints before the request reaches the backend. This article separates the token structure, the cryptographic credential stored in Kong, and the Consumer representing the client. We then build a reproducible Kong Ingress Controller lab with an HS256-signed JWT and a /jwt route. This lab continues directly from Installing KIC. It reuses the kong Gateway, the echo Service, and the 192.168.121.200 address assigned by MetalLB to kong-gateway-proxy.

  • Kong
  • Authentication
  • JWT
  • JSON Web Token
  • KIC
Sunday, July 26, 2026 | 7 minutes Read
Hero Image
OAuth 2.0 Token Introspection in Kong

Kong Enterprise includes an official OAuth 2.0 Introspection plugin, but it requires a license. In this lab, we will overcome that limitation by installing an open community or free-software plugin on Kong Gateway 3.10. In addition to the plugin, we will deploy Keycloak in Kubernetes. Keycloak will issue access tokens through client_credentials and expose the introspection endpoint defined by RFC 7662. Every response shown in this article comes from this real scenario.

  • Kong
  • OAuth 2.0
  • Token Introspection
  • Keycloak
  • KIC
Sunday, July 26, 2026 | 9 minutes Read
Hero Image
OpenID Connect in Kong

Kong’s official OpenID Connect plugin requires an Enterprise license. In this lab, we use the open community or free-software cuongntr/kong-openid-connect-plugin adapter on top of lua-resty-openidc to complete an Authorization Code flow without a license. We will deploy a separate Keycloak instance in Kubernetes, log in with a real user, and verify both the callback and cookie reuse. Every response in this article comes from the lab VM. This lab continues from Installing KIC. It reuses the kong Gateway, the echo Service, KIC 3.5, and 192.168.121.200 as the kong-gateway-proxy address.

  • Kong
  • OpenID Connect
  • OAuth 2.0
  • Keycloak
  • KIC
Sunday, July 26, 2026 | 5 minutes Read
Hero Image
SAML in Kong through Keycloak

Kong’s official saml plugin requires an Enterprise license. After reviewing the open community and free-software alternatives, I could not find a direct, maintained SAML plugin compatible with Kong 3.x that would be responsible to recommend. This lab therefore uses a different, fully open architecture: Keycloak acts as the SAML Service Provider and identity broker, while Kong uses the open community or free-software kong-openid-connect plugin installed in the previous article. User authentication still performs a real SAML request and response. Keycloak validates the signed XML and returns an OpenID Connect Authorization Code to Kong.

  • Kong
  • SAML
  • OpenID Connect
  • Keycloak
  • KIC
Sunday, July 26, 2026 | 5 minutes Read
Hero Image
Session in Kong

The Session plugin lets an authenticated client reuse its identity through a cookie. It does not authenticate clients on its own and must work alongside another mechanism that validates the first request. This lab combines Session with Key Auth. The first request presents an API key, Kong creates a session, and later requests use only the cookie. We also configure an explicit anonymous branch to prevent requests without either credential from reaching the backend.

  • Kong
  • Authentication
  • Sessions
  • Cookies
  • KIC
Sunday, July 26, 2026 | 7 minutes Read
Hero Image
LDAP Auth in Kong

LDAP Authentication lets Kong validate a username and password directly against a corporate directory. The backend does not receive those credentials and does not need to implement LDAP. This article explains how the authentication header is built, how Kong locates the user in the directory, and how to protect /ldap-auth through Kong Ingress Controller. This lab continues from Installing KIC. It reuses the kong Gateway, the echo Service, and the 192.168.121.200 address assigned by MetalLB to kong-gateway-proxy.

  • Kong
  • Authentication
  • LDAP
  • Directory Services
  • KIC
Sunday, July 26, 2026 | 5 minutes Read
Navigation
  • About Me
  • Skills
  • Education
  • Recent Posts
  • Certifications
Contact me:
  • contacto@javiercd.es
  • javierasping
  • Francisco Javier Cruces Doval

Liability Notice: This theme is under MIT license. So, you can use it for non-commercial, commercial, or private uses. You can modify or distribute the theme without requiring any permission from the theme author. However, the theme author does not provide any warranty or takes any liability for any issue with the theme.


Toha Theme Logo Toha
© 2023 Copyright.
Powered by Hugo Logo