Kong Workshop

Training for Kong API Gateway

  1. 01PrerequisitionThai onlyCreate the Kong network and a compose file for the React, Hono and Next.js services of the workshop.2 min read
  2. 02InstallationThai onlyInstall Kong API Gateway with Docker Compose and a Postgres database.3 min read
  3. 03Gateway serviceThai onlyWhat a Kong gateway service is, and how to create one that points to your app.1 min read
  4. 04RouteThai onlyCreate a Route in Kong so that clients reach your service by path.1 min read
  5. 05Coffee breakThai onlyExercise: create the React and Next.js services in Kong yourself, with the answer folded below.2 min read
  6. 06Kong pluginsThai onlyOverview of Kong plugins and their three scopes: global, route and service.1 min read
  7. 07Basic AuthThai onlyProtect a route with the Basic Auth plugin.1 min read
  8. 08ConsumerThai onlyCreate Kong consumers, the users inside Kong.1 min read
  9. 09Key AuthThai onlyProtect an API with the Key Auth plugin and send the key in a header or in the query string.2 min read
  10. 10JwtThai onlyProtect an API with the JWT plugin: create a JWT consumer and test with a token from jwt.io.2 min read
  11. 11OAuth2Thai onlyKong can validate tokens from an OAuth2 server; this page is a placeholder until the Keycloak session.1 min read
  12. 12Access control levelThai onlyLimit access by group with the ACL plugin: Admin and User groups for the /admin, /api and / routes.3 min read
  13. 13CORSThai onlyEnable CORS in Kong instead of a CORS library in your framework.1 min read
  14. 14Proxy CacheThai onlyCache API responses in Kong with the Proxy Cache plugin.2 min read
  15. 15Rate limitThai onlyLimit how often an API can be called, and read the ratelimit response headers.1 min read
  16. 16Response transformationThai onlyChange API responses, for example remove a header, with the Response Transformer plugin.1 min read
  17. 17Upstream (Load balancer)Thai onlyUse Kong Upstreams as a load balancer, with active and passive health checks.2 min read
  18. 18ACMEThai onlyGet free TLS certificates from Let's Encrypt with the ACME plugin.3 min read
  19. 19Protect Kong ManagerThai onlyPut Kong Manager behind Kong itself, on subdomains or on a sub-path.5 min read
  20. 20SummaryThai onlyTL;DR: shell aliases and the final Kong compose file.2 min read