Spreading the load: How Salesforce met Multi-AZ HA with SageMaker Inference Components
AWS•Customer story••by Rielah De Jesus, Anuja Pulijala, Qiyun Zhao, Ruchita Jadav, Sai Guruju, Srikanta Prasad S V and Xiaoguang Chen•AWS Artificial Intelligence Blog
Learn how Salesforce used Amazon SageMaker AI Inference Component placement (the SchedulingConfig parameter) to distribute model copies across multiple Availability Zones, meeting their Multi-AZ high availability compliance requirements without sacrificing the cost efficiency of multi-model co-hosting.
SageMaker Inference Components gain SchedulingConfig placement so model copies spread across Availability Zones, which Salesforce used to meet a 2-AZ requirement for its Agentforce models.
Who it is for
Teams running multiple models on shared SageMaker endpoints that need copies spread across Availability Zones for high availability.
Key points
SchedulingConfig is set in CreateInferenceComponent with PlacementStrategy (SPREAD or BINPACK) and AvailabilityZoneBalance (EnforcementMode, MaxImbalance).
EnforcementMode is PERMISSIVE and currently the only mode; balance is best-effort, and copies are placed on available instances if balance fails.
AWS recommends On-Demand Capacity Reservations in AZ-constrained Regions to help achieve balanced placement.
AWS says Salesforce reached an 8x infrastructure cost reduction by co-hosting models on shared GPUs.
AI:SageMaker AI training and processing jobs can take an ordered list of up to five instance types and start on the first one with available capacity, with optional retry bounded by a queue timeout.
AI:SageMaker AI training plans can now reserve p-family GPU capacity for inference endpoints, so an endpoint runs on fixed capacity for a set time window.