Service Protection

Enterprise only
Related Documentation
Made by
Kong Inc.
Supported Gateway Topologies
hybrid db-less traditional
Supported Konnect Deployments
hybrid cloud-gateways serverless
Compatible Protocols
grpc grpcs http https
Minimum Version
Kong Gateway - 3.9

Set absolute maximum rate limits for Gateway Services using the Service Protection plugin. You can use this plugin together with other rate limiting plugins to apply granular rate limits based on different entities.

If you want to apply global rate limits or apply rate limits to Routes and Consumers, see the Rate Limiting with Kong Gateway page for additional rate limiting plugins.

Using cloud authentication with Redis v3.13+

Starting in Kong Gateway 3.13, you can authenticate with a cloud Redis provider for your Redis strategy. This allows you to seamlessly rotate credentials without relying on static passwords.

The following providers are supported:

  • AWS ElastiCache
  • Azure Managed Redis
  • Google Cloud Memorystore (with or without Valkey)

Each provider also supports an instance and cluster configuration.

Important: Kong Gateway open source plugins do not support any Redis cloud provider cluster configurations.

To configure cloud authentication with Redis, add the following parameters to your plugin configuration:

FAQs

No. The Service Protection plugin only rate limits Gateway Services. You can still use the Rate Limiting and Rate Limiting Advanced plugins to rate limit other entities, like Consumers and Routes.

Yes. You can rate limit a Gateway Service with the Service Protection plugin, then rate limit Routes, Consumers, or Consumer Groups with the other rate limiting plugins. We don’t recommend using multiple rate limiting plugins on the same Service only. We recommend applying Service Protection on the Service, and Rate Limiting (or Rate Limiting Advanced) on the Service/Consumer pair, for more granular rate limits.

You should use the Service Protection plugin to rate limit your Services and use the other rate limiting plugins to limit other entities, like Consumers or Routes, or to apply global rate limits.

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!