The system registers a service with the API gateway during service deployment if the service has requested the API gateway service. When a registered service is accessed by other services, the API gateway routes API calls to the registered service based on the routes specified in service registration.
The service list contains both pre-defined and user-defined services. You can configure health check, IP filter, and access control rules for the services.
Configure health check—Enable the system to call the port of a service periodically to monitor the service state. The system does not direct traffic to unhealthy services. If the state of a service changes from unhealthy to healthy, the system can detect the state change and continues to direct traffic to the service.
Create a service route—Configure a route that contains an HTTP method and a path for matching API calls.
Configure authentication for a route—Enable key authentication or basic authentication on API requests.
Create an access control rule—Limit API requests by second, minute, hour, and day.
Create an IP filter—Filter API requests by source IP address for services.