Nginx Ingress and APIG Ingress have different features and are suitable for different application scenarios. This topic compares them across dimensions such as product positioning, service architecture, performance, and basic routing to help you choose the right Ingress gateway.
Nginx Ingress: A Kubernetes Ingress gateway built on open source Nginx. It is the default ingress gateway for Kubernetes and provides basic security, routing, and observability capabilities. It is suitable for scenarios with low service traffic, low requirements for security, extensibility, and stability, and where you can manually manage the gateway.
APIG Ingress: A high-performance, extensible, and integrated Ingress gateway built on API Gateway. It uses hardware acceleration, local WAF protection, and a WebAssembly (Wasm) plugin marketplace to help you build a managed gateway middleware that is low-cost, high-performance, extensible, and highly integrated. It supports multiple service discovery patterns and various grayscale release policies. For observability, it provides a full stack of capabilities, including access logs, tracing, metrics, and alerts. It is suitable for scenarios with high service traffic and high requirements for security, extensibility, and stability.
Type | Nginx Ingress | APIG Ingress |
Product positioning |
|
|
Service architecture |
|
|
Performance |
|
|
Basic routing |
|
|
O&M capabilities |
|
|
Cloud-native integration | A user-side component used with container services such as Alibaba Cloud ACK managed clusters, ACK Serverless clusters, or ACS clusters. | A user-side component used with Alibaba Cloud ACK managed cluster container service. It also supports seamless conversion of Nginx Ingress annotations. |
Typical application scenarios |
|
|
Supported mainstream protocols |
|
|
Protocol transformation | Not supported |
|
Ingress support | Supports Ingress |
|
Configuration changes |
|
|
Service administration |
|
|
Security |
|
|
Authentication and authorization |
|
|
Extensibility | Lua scripts |
|
Observability capabilities |
|
|
Ecosystem integration | Nginx Service Mesh | Istio Service Mesh (de facto standard) |