API Gateway connects to and manages different types of backend applications and services for flexible API calls and data processing.
Internal domain name resolution for backend services (dedicated instances only)
API Gateway resolves internal domain names for backend service endpoints at the instance level:
-
Process overview for VPC-integrated instances with weight-based domain name resolution.
-
Steps to configure internal domain name resolution for backend endpoints.
-
Configuration notes and common pitfalls.
-
Feature limits.
Internal domain name resolution for backend services (dedicated instances only).
Resources in a VPC
Use VPC resources such as ECS and CLB as backend services. You can also test VPC authorization connectivity.
-
Use resources in a VPC as the backend service of an API
-
Authorize and attach a VPC: Grant API Gateway access to specific resources and ports in your VPC.
-
Build a high-availability (HA) API architecture for reliability and performance.
-
FAQ on common configuration issues.
-
-
VPC authorization connectivity test
Verifies network connectivity between an API Gateway instance and your authorized VPC instances to identify and resolve call failures during API debugging.
Function Compute
Use Function Compute as a backend service:
-
Feature overview
Before you begin, you must create an API Gateway instance. To select an instance type, see Instance types and selection guide.
-
Integrate an HTTP-triggered function with API Gateway.
-
Integrate an event-triggered function with API Gateway.
-
FAQ
Mock
Mock mode can simulate a predefined response, reducing misunderstandings and improving developer efficiency:
-
Configure mock mode
-
Disable mock mode
Mock.
Data services
Data services help enterprises build a unified data service bus to increase the value of data assets while ensuring reliability, security, and validity.
-
Scenarios:
-
Fine-grained data output.
-
Data visualization.
-
Processed data output for applications.
-
-
Alibaba Cloud products that provide data services
-
Big data products: DataService Studio and Dataphin.
-
Database products: DataService Studio overview.
-
Object Storage Service
Publish APIs backed by Object Storage Service (OSS) to access your OSS resources. Object Storage Service.
PAI
PAI EAS can publish models as REST APIs to API Gateway. Business systems call these APIs over HTTP. You can make public or internal network calls (default) through the gateway. PAI.
EventBridge
Use EventBridge as a backend service:
-
Publish an API backed by EventBridge.
-
Call APIs using an AppCode from the "Alibaba Cloud APP" authentication method.
Microservice registries
Use a microservice registry as a backend service. Supported registries:
-
-
Integrate with Nacos to access a microservice backend.
-
Create a VPC-integrated dedicated instance.
-
Deploy a Nacos service and register a microservice application.
-
-
-
Integrate with Zookeeper to access a microservice backend.
-
Create a VPC-integrated dedicated instance.
-
Deploy a Zookeeper service and register a microservice application.
-
Multi-level API gateways
API Gateway supports self-invocation: an API can be called by a client or by API Gateway itself, enabling flexible calls across regions and accounts:
-
Cross-region calls. Same-region calls can use the internal network.
-
Cross-account calls.
Configure the Host header for a backend service
Configure the Host header for a backend service:
-
Configure the Host header.
-
Host header priority rules.