Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

Amazon SageMaker HyperPod Introduces Global Inference Gateway

Amazon SageMaker HyperPod now introduces the Global Inference Gateway, which optimizes resource utilization by routing inference requests across regions and clusters to improve efficiency and reduce latency.

Share
AI-generated conceptual illustration accompanying: Amazon SageMaker HyperPod Introduces Global Inference Gateway
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Overview of the Global Inference Gateway

Amazon SageMaker HyperPod now introduces the Global Inference Gateway, a new tier in its architecture designed to optimize resource utilization across regions and clusters. During traffic peaks, requests may queue on a saturated HyperPod cluster while GPUs in other clusters—sometimes in different AWS Regions—remain idle. The Global Inference Gateway addresses this by enabling a single endpoint to route inference requests to the most appropriate cluster, improving efficiency and reducing latency. This second tier of the architecture, as described in part 1, allows for dynamic load balancing and better utilization of available compute resources. The feature is part of Amazon’s ongoing efforts to enhance the scalability and performance of machine learning workloads on its platform.

Routing and Load Balancing Across Regions

Amazon SageMaker HyperPod Global Inference Gateway enables routing and load balancing across multiple regions and clusters through a single endpoint. According to beta test results, the system successfully routed requests across two AWS Regions while maintaining service continuity when one cluster became unavailable. The Global Inference Gateway receives each request at a regional endpoint and forwards it over AWS PrivateLink to the most suitable HyperPod cluster, where the cluster’s Inference Gateway directs the request to a model pod. This architecture allows teams to manage multiple models across several HyperPod clusters in different regions without requiring separate endpoints for each region or cluster. As noted in beta testing, this capability helps ensure high availability and efficient resource utilization across distributed infrastructure.

Implementation and Management of the Gateway

The implementation of Amazon SageMaker HyperPod Global Inference Gateway involves creating a single endpoint that routes across multiple clusters and regions. To begin, users call CreateGlobalInferenceGateway with the clusters they wish to route across, and SageMaker returns a single endpoint (AWS Machine Learning). Additional clusters can be added using AddInferenceGateway, even if they are located in different regions. For example, the command aws sagemaker add-inference-gateway allows users to specify the cluster ARN and region, and the gateway validates the cluster before starting to route traffic to it once it is healthy (AWS Machine Learning). To detach a cluster, users call RemoveInferenceGateway in the gateway’s region, which stops sending new requests to the cluster, allows in-flight requests to complete, and removes the private endpoint (AWS Machine Learning). This process ensures seamless management of distributed inference workloads.

Security and Access Control

Security and access control for Amazon SageMaker HyperPod Global Inference Gateway are enforced through SigV4 and IAM authentication, ensuring that every request is verified before reaching the clusters (AWS Machine Learning). Access is further restricted by requiring callers to have explicit permissions to invoke the gateway, with specific actions defined in an IAM policy (AWS Machine Learning). This policy includes actions such as sagemaker:InvokeGlobalInferenceGateway and sagemaker:InvokeGlobalInferenceGatewayWithResponseStream, and must be attached to each IAM identity that sends requests. Additionally, all traffic to the clusters is routed exclusively through AWS PrivateLink, as illustrated in Figure 1 (AWS Machine Learning), reinforcing the security of the communication channel.

Availability and Deployment

The Amazon SageMaker HyperPod Global Inference Gateway is now available in 13 AWS Regions, including US East (N. Virginia), US West (N. California), and others, as noted in the documentation. This feature allows users to deploy a single SageMaker-managed endpoint across multiple HyperPod clusters, whether they are located in one Region or several. Deployment is streamlined through the SageMaker console or API, enabling seamless integration with existing workflows. When the gateway is deleted using the DeleteGlobalInferenceGateway command, the main endpoint stops serving traffic, but individual cluster endpoints continue to operate without disruption. This capability ensures continuous inference performance even during gateway maintenance or reconfiguration. The availability of this feature in multiple Regions supports global deployment strategies, enhancing scalability and reliability for machine learning workloads.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more