---
title: "The Journey to Cloud Development: How Shopify Went All-in on Spin"
description: "Shopify replaced its laptop-based `dev` tool and xhyve-backed `railgun` VM with Spin, a cloud development environment, after monoliths and multi-repository projects outgrew local machines and made tophatting collaborators' changes painful."
url: "https://swe.quest/articles/the-journey-to-cloud-development-how-shopify-went-all-in-on-spin-ce0056dd1610d925"
canonical: "https://shopify.engineering/shopifys-cloud-development-journey"
source: "Shopify Engineering"
published: "2022-06-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 20
tags: ["developer-productivity","kubernetes","containers","cloud"]
---

# The Journey to Cloud Development: How Shopify Went All-in on Spin

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2022-06-09, 20 min read, Case study. Original: [https://shopify.engineering/shopifys-cloud-development-journey](https://shopify.engineering/shopifys-cloud-development-journey)

## Summary

Shopify replaced its laptop-based \`dev\` tool and xhyve-backed \`railgun\` VM with Spin, a cloud development environment, after monoliths and multi-repository projects outgrew local machines and made tophatting collaborators' changes painful. The path went through experiments: a local Kubernetes cluster that never caught on, and ad hoc GCE VMs that gained surprising traction. The first Spin version ran a host pod holding cloned repos plus a Docker Compose stack, and early adopters found its edit-here/run-there split confusing. The team then moved to per-developer Kubernetes namespaces with one pod per repository, and the broader lesson is iterating with users rather than shipping a finished design.

Written by swe.quest, not by the author.

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

## Topics

- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Kubernetes pods and namespaces ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Docker Compose ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- Rails monolith development ([easy posts on Ruby](https://swe.quest/tags/ruby.md?difficulty=easy))

## Keywords

Spin, Shopify, Kubernetes, Docker Compose, Google Compute Engine, railgun, xhyve

## Related posts

- [GitHub’s Engineering Team has moved to Codespaces](https://swe.quest/articles/github-s-engineering-team-has-moved-to-codespaces-1bb37c0be0b5fad7.md): GitHub Engineering · 2021-08-11 · Medium · 9 min read · Developer productivity, Developer tools, Containers, Cloud platforms
  GitHub moved development of its 14-year-old, 13 GB github/github monolith from bespoke macOS laptops to cloud-hosted Codespaces, replacing fragile local environments with disposable, task-per-branch dev environments.
- [How GitHub’s Developer Experience team improved innerloop development](https://swe.quest/articles/how-github-s-developer-experience-team-improved-innerloop-development-a46c7e17f2bd5376.md): GitHub Engineering · 2024-01-24 · Medium · 8 min read · Developer productivity, Containers, Microservices, Testing, Go
  GitHub's Developer Experience team built Hubber Codespace (HCS), a Docker-Compose project that lets engineers stand up the full distributed GitHub ecosystem locally or in a codespace to integration-test changes before deploying.
- [The Story Behind Shopify’s Isospin Tooling](https://swe.quest/articles/the-story-behind-shopify-s-isospin-tooling-6da51b4e1078fe6a.md): Shopify Engineering · 2022-07-05 · Medium · 8 min read · Linux, Developer productivity, Developer tools, Multi-tenancy
  Shopify replaced the shell-script tooling behind its Spin cloud dev environments with Isospin, which runs multiple applications inside a single Linux VM by modeling them as systemd services.
- [From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience](https://swe.quest/articles/from-ruby-to-node-overhauling-shopify-s-cli-for-a-better-developer-experience-c31f4bbd707f942e.md): Shopify Engineering · 2023-01-10 · Medium · 12 min read · Developer tools, TypeScript, JavaScript, Refactoring & migrations, Testing
  Shopify rewrote its CLI from Ruby to TypeScript on Node to reduce system requirements, unify the Theme, App and Hydrogen workflows, and stay easy for internal teams to contribute to.
- [How we rebuilt the Shopify app in 12 weeks](https://swe.quest/articles/how-we-rebuilt-the-shopify-app-in-12-weeks-08ae147088c9e21e.md): Shopify Engineering · 2026-11-10 · Medium · 15 min read · AI for coding, Mobile, Refactoring & migrations, Developer productivity, Code review
  Thirty engineers rebuilt the 300+ screen Shopify mobile app from React Native to native Swift and Kotlin in 12 weeks, with agents writing most of the code.

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)
