---
title: "Shipyard: How We Built Slack’s Next-Generation EC2 Platform"
description: "Shipyard is Slack's EC2 platform that replaces continuously Chef-converged, long-lived instances with immutable, layered AMIs deployed through progressive, metric-gated rollouts."
url: "https://swe.quest/articles/shipyard-how-we-built-slack-s-next-generation-ec2-platform-3563d688d7e86781"
canonical: "https://slack.engineering/shipyard-how-we-built-slacks-next-generation-ec2-platform/"
source: "Slack Engineering"
published: "2026-07-14"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["deployment","cloud","infrastructure-as-code","configuration","system-design"]
---

# Shipyard: How We Built Slack’s Next-Generation EC2 Platform

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2026-07-14, 13 min read, Case study. Original: [https://slack.engineering/shipyard-how-we-built-slacks-next-generation-ec2-platform/](https://slack.engineering/shipyard-how-we-built-slacks-next-generation-ec2-platform/)

## Summary

Shipyard is Slack's EC2 platform that replaces continuously Chef-converged, long-lived instances with immutable, layered AMIs deployed through progressive, metric-gated rollouts. A shared hardened base image, slack-zero, is built with AWS Image Builder and published via SSM parameters, and EventBridge and Lambda trigger rebuilds of service images layered on top. Heavy work happens at bake time and only secrets and environment config are applied at boot, so instances come up in seconds. The Gondola orchestrator rolls out AMI plus versioned Chef artifacts through ASG Instance Refresh or Karpenter executors with automatic rollback. Instances are short-lived and regularly rotated, secrets refresh via Consul Template from Vault, and a Peekaboo inventory built on EventBridge, OpenSearch and Lambda gives near real-time fleet visibility.

Written by swe.quest, not by the author.

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

## Topics

- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md) (Infrastructure)
- [Configuration management](https://swe.quest/tags/configuration.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- AWS EC2 and AMIs ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- Auto Scaling Groups ([easy posts on Scaling](https://swe.quest/tags/scalability.md?difficulty=easy))
- Chef configuration management ([easy posts on Configuration management](https://swe.quest/tags/configuration.md?difficulty=easy))

## Keywords

Shipyard, AWS EC2, AWS Image Builder, Gondola, Karpenter, Chef, Peekaboo, Consul Template

## Related posts

- [BuildRock: A Build Platform at Slack](https://swe.quest/articles/buildrock-a-build-platform-at-slack-c8b3b87d529426f6.md): Slack Engineering · 2022-08-31 · Medium · 10 min read · CI/CD, Kubernetes, Infrastructure as code, Build systems, Developer productivity
  Slack consolidated its sprawling, hand-managed "snowflake" Jenkins clusters into BuildRock, a build-as-a-service platform.
- [Advancing Our Chef Infrastructure](https://swe.quest/articles/advancing-our-chef-infrastructure-a81877d9ae534820.md): Slack Engineering · 2024-09-17 · Medium · 12 min read · Configuration management, Deployment, Infrastructure as code, Cloud platforms, Scaling
  Slack evolved its Chef setup for tens of thousands of EC2 instances from a single stack, where every cookbook change hit all environments at once on the hour, into multiple sharded Chef stacks with versioned cookbook rollouts.
- [Advancing Our Chef Infrastructure: Safety Without Disruption](https://swe.quest/articles/advancing-our-chef-infrastructure-safety-without-disruption-fc96edfc3e0961ec.md): Slack Engineering · 2025-10-23 · Medium · 13 min read · Configuration management, Deployment, Infrastructure as code, Resilience, Cloud platforms
  Slack split its single production Chef environment into six AZ-mapped environments (prod-1 to prod-6) so newly provisioned nodes no longer pull a possibly bad config from one shared source during scale-outs. prod-1 acts as an hourly canary taking the latest cookbook artifact, while prod-2 through prod-6 advance on a release train where a new version starts only after the previous one reaches prod-6.
- [Remote Development at Slack](https://swe.quest/articles/remote-development-at-slack-6777fb2e88a1e9d8.md): Slack Engineering · 2022-06-28 · Medium · 8 min read · Developer productivity, Cloud platforms, Developer tools
  Slack moved webapp development off laptops (where Hack/HHVM, a 30-minute clone and Docker-based setups were slow and brittle) onto short-lived AWS EC2 remote environments accessed through VSCode Remote SSH.
- [How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline](https://swe.quest/articles/how-grab-built-scarlet-the-ai-teammate-that-turns-a-slack-message-into-a-cb0afbb754a543cf.md): Grab Engineering · 2026-11-23 · Medium · 12 min read · AI agents, Data pipelines, Testing, Identity & auth, LLMs
  Grab's ADW team rebuilt Scarlet, its Slack-based data-pipeline agent, around a short core prompt plus a versioned library of Markdown skills (platform, routing, repository, workflow) loaded on demand, shrinking the prompt about 25x and letting new teams onboard by adding one reviewed repository skill.

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)
