---
title: "SkyPilot at Shopify: Multi-cloud GPUs without the pain"
description: "Shopify runs all ML training through SkyPilot as a launcher onto persistent Kubernetes clusters on Nebius and GCP, with a custom policy plugin that intercepts every request to validate labels, route jobs and inject configuration."
url: "https://swe.quest/articles/skypilot-at-shopify-multi-cloud-gpus-without-the-pain-4e974636618c8521"
canonical: "https://shopify.engineering/skypilot"
source: "Shopify Engineering"
published: "2026-01-26"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["ml-platform","kubernetes","scheduling","cloud","cost-optimization"]
---

# SkyPilot at Shopify: Multi-cloud GPUs without the pain

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2026-01-26, 6 min read, Case study. Original: [https://shopify.engineering/skypilot](https://shopify.engineering/skypilot)

## Summary

Shopify runs all ML training through SkyPilot as a launcher onto persistent Kubernetes clusters on Nebius and GCP, with a custom policy plugin that intercepts every request to validate labels, route jobs and inject configuration. H200 requests go to Nebius with InfiniBand setup (/dev/infiniband mount, IPC\_LOCK, libibverbs1) added automatically, while L4 and CPU-only work goes to GCP. Required labels drive showback cost attribution, Kueue fair-share quota queues and a four-level preemption hierarchy. Single-GPU dev environments get interactive priority and are exempt from a reaper that kills jobs under 20% GPU utilization. The team argues that a YAML-plus-policy-hook design keeps engineers close to the hardware while hiding cloud choice, unlike opaque platform UIs.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Scheduling](https://swe.quest/tags/scheduling.md) (Distributed systems)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- Kubernetes pods and scheduling ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- GPU training workloads ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))
- YAML job configs

## Keywords

SkyPilot, Kueue, Nebius, GCP, InfiniBand, H200, Shopify

## Related posts

- [Run AI workloads on any cloud, store on Hugging Face: zero-egress storage with SkyPilot](https://swe.quest/articles/run-ai-workloads-on-any-cloud-store-on-hugging-face-zero-egress-storage-with-595c5291113e315b.md): Hugging Face · 2026-07-07 · Medium · 8 min read · Storage systems, Cloud platforms, Model training, Cost optimization, ML platforms
  SkyPilot now supports Hugging Face Storage as a first-class backend (\`store: hf\`), so jobs on any of 20+ clouds, Kubernetes or on-prem can mount Hub buckets (read-write) or model/dataset repos (read-only) via an \`hf://\` URL and an existing \`HF\_TOKEN\`.
- [Introducing preemptible compute: the same compute, half the price](https://swe.quest/articles/introducing-preemptible-compute-the-same-compute-half-the-price-8c66db34ac82eb9a.md): Together AI · 2026-11-24 · Medium · 4 min read · Cloud platforms, Kubernetes, Cost optimization, Model training, Inference & serving
  Together GPU Clusters now offer preemptible nodes on Kubernetes and Slurm at a flat 50% of on-demand price, billed sub-hourly, drawing from unused capacity and joining existing clusters with a \`together.ai/compute-class=preemptible\` label.
- [Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams](https://swe.quest/articles/capacity-without-conflict-a-guide-to-multi-tenant-gpu-cluster-design-for-ai-c2f29c5aa8b2d044.md): Together AI · 2026-04-21 · Easy · 6 min read · Multi-tenancy, Hardware, Scheduling, Kubernetes, ML platforms
  Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm.
- [Scale distributed AI workloads with Ray and Anyscale on Amazon EC2](https://swe.quest/articles/scale-distributed-ai-workloads-with-ray-and-anyscale-on-amazon-ec2-0c6441d44d076c17.md): AWS Architecture Blog · 2026-11-12 · Easy · 8 min read · ML platforms, Cloud platforms, Cost optimization, Model training, Inference & serving
  Ray, run as the managed Anyscale service inside your own AWS account, can carry a multimodal AI/ML pipeline from a single instance to multi-node clusters without code changes.
- [The Magic of Merlin: Shopify's New Machine Learning Platform](https://swe.quest/articles/the-magic-of-merlin-shopify-s-new-machine-learning-platform-f17a810670837d2b.md): Shopify Engineering · 2022-04-06 · Medium · 13 min read · ML platforms, Kubernetes, Model training, Python
  Merlin is Shopify's redesigned ML platform built on open source tools.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
