API Gateways Are Plenty

A survey of the API gateway landscape — what they do, when you need one, and which options are available.

When you build microservices, every service has its own API. An API gateway sits in front of them all, providing a single entry point for clients. The good news: there are plenty of options. The challenge: choosing the right one.

What Does an API Gateway Do?

An API gateway handles cross-cutting concerns so individual services don’t have to:

The Landscape

Kong

Kong is an open-source gateway built on Nginx, with a plugin-based architecture.

Key features:

When to pick Kong: You want a mature, widely-deployed gateway with a rich plugin ecosystem and don’t mind running Nginx + Lua.

Envoy

Envoy is a high-performance L4/L7 proxy originally built by Lyft. It’s not a full API gateway out of the box — it’s the proxy that gateways are built on.

Key features:

When to pick Envoy: You’re building your own gateway layer, or you’re using a service mesh (Istio uses Envoy as its sidecar proxy).

AWS API Gateway

AWS API Gateway is a fully managed service that integrates directly with AWS Lambda and other AWS services.

Key features:

When to pick AWS API Gateway: You’re all-in on AWS and want zero-ops infrastructure.

Tyk

Tyk is an open-source gateway written in Go with a focus on developer experience.

Key features:

When to pick Tyk: You want a Go-based gateway with a developer-friendly dashboard.

Traefik

Traefik is a modern reverse proxy and load balancer with automatic service discovery.

Key features:

When to pick Traefik: You’re running containers and want automatic routing with zero config.

Do You Even Need One?

Not every architecture needs a dedicated API gateway. Consider these questions:

Quick Comparison

Gateway Language License Best For
Kong Lua (Nginx) Apache 2.0 Plugin-heavy gateway
Envoy C++ Apache 2.0 Service mesh / custom gateway
AWS API Gateway Managed Proprietary Serverless / AWS-native
Tyk Go MPL 2.0 Developer-friendly gateway
Traefik Go MIT Container-native routing

Bottom Line

Start simple. If you’re running containers, Traefik is hard to beat for automatic routing. If you need a full-featured gateway with auth, rate limiting, and plugins, Kong or Tyk are solid choices. If you’re building a service mesh, Envoy is the foundation. And if you want zero infrastructure management, AWS API Gateway handles it all for you.