Skip to content

AWS gives HyperPod models one gateway across clusters

News
Teal-lit optical patch panel with orange fiber cables fanning toward server cabinets.
The HyperPod gateway routes AI requests among registered clusters. AI-generated editorial illustration.
AWS has given Amazon SageMaker HyperPod users one address for reaching AI models in more than one cluster. The Global Inference Gateway sends a request to a cluster that can serve it. If a cluster fails, the gateway can move work to a healthy one, including one in a different AWS Region.
The November 20 launch is aimed at teams that run their own models across groups of machines. A cluster may reach its limit while another group still has space. Before this change, a team could need a routing layer of its own to send work to both.

How HyperPod sends a request to the right cluster

An app calls the address for its gateway. AWS checks the caller’s signed request and permissions before choosing a cluster. PrivateLink carries the request to the cluster over AWS’s network. Inside the cluster, the local gateway still chooses the process that will run the model.
The gateway scores healthy clusters using four signals. It looks at how much room is left in the memory used for ongoing requests, how long the queue is, how close the cluster is to the gateway’s Region and how many recent requests failed. AWS gives proximity the largest weight by default. Teams can change how much each signal counts.
Say a U.S. East cluster has a long queue while a cluster in the west has room. The system can send some work to the second cluster. That makes use of spare chips. It can also add time for the request to travel, so teams still have to measure the time a user waits.
The address belongs to the gateway’s own Region. The hardware that runs a given request can be in another one. An app can use the same address even as the team changes which clusters are behind it.

Which choices stay with the team running HyperPod

Teams choose which clusters to make available and group under the same address. AWS runs the part that watches those clusters and carries the traffic. A team that serves a model from one cluster can still use the address for that cluster. The extra routing layer matters most when it adds a second cluster.
The route can include more than one Region. If a team has to keep requests in one place, it needs to pick its clusters with that rule in mind. New routes should be checked against the way a team approves services and handles data. Our guide to Hugging Face model routing covers a related choice among outside providers.

What to check when a cluster goes down

AWS cites a beta test at game firm Bagelcode. It says a gateway kept serving its model when one cluster could no longer do the work. The case describes the company’s own setup and its test in two Regions.
The same design can behave differently when a model is busy. A backup cluster needs enough space to pick up the extra calls. A team can check that on a sample load, watch for slow requests and record where the work went. Our guide to AI chip and cloud suppliers maps how AWS fits into the wider market for that compute.
For teams with two clusters ready, a useful first measure is how much slower a call gets when the nearer cluster cannot serve it.
loading

Loading