---
title: "Advancing Our Chef Infrastructure: Safety Without Disruption"
description: "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."
url: "https://swe.quest/articles/advancing-our-chef-infrastructure-safety-without-disruption-fc96edfc3e0961ec"
canonical: "https://slack.engineering/advancing-our-chef-infrastructure-safety-without-disruption/"
source: "Slack Engineering"
published: "2025-10-23"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["configuration","deployment","infrastructure-as-code","resilience","cloud"]
---

# Advancing Our Chef Infrastructure: Safety Without Disruption

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2025-10-23, 13 min read, Case study. Original: [https://slack.engineering/advancing-our-chef-infrastructure-safety-without-disruption/](https://slack.engineering/advancing-our-chef-infrastructure-safety-without-disruption/)

## Summary

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. Because rollout timing is now variable, fixed cron-scheduled Chef runs were replaced by Chef Summoner, an on-node service that polls S3 signals written by Chef Librarian, applies a configurable splay, and still forces a run every 12 hours for compliance. The tradeoff is slower fleet-wide propagation in exchange for a smaller blast radius per AZ. Slack chose this over migrating to Chef Policyfiles to avoid making dozens of teams rewrite their cookbooks.

Written by swe.quest, not by the author.

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

## Topics

- [Configuration management](https://swe.quest/tags/configuration.md) (Reliability & operations)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md) (Infrastructure)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Chef roles and environments
- AWS availability zones ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- canary deployments ([easy posts on Deployment](https://swe.quest/tags/deployment.md?difficulty=easy))

## Keywords

Chef, Chef Librarian, Chef Summoner, Poptart Bootstrap, AWS EC2, Amazon S3, cloud-init, Chef Policyfiles

## Related posts

- [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.
- [Shipyard: How We Built Slack’s Next-Generation EC2 Platform](https://swe.quest/articles/shipyard-how-we-built-slack-s-next-generation-ec2-platform-3563d688d7e86781.md): Slack Engineering · 2026-07-14 · Medium · 13 min read · Deployment, Cloud platforms, Infrastructure as code, Configuration management, System design
  Shipyard is Slack's EC2 platform that replaces continuously Chef-converged, long-lived instances with immutable, layered AMIs deployed through progressive, metric-gated rollouts.
- [Slowing Down to Speed Up – Circuit Breakers for Slack’s CI/CD](https://swe.quest/articles/slowing-down-to-speed-up-circuit-breakers-for-slack-s-ci-cd-9aadbea59ffc838e.md): Slack Engineering · 2022-08-19 · Medium · 16 min read · Resilience, CI/CD, Developer productivity, Observability
  Slack added orchestration-level circuit breakers to Checkpoint, its CI/CD orchestration service, to stop cascading failures between internal systems such as GitHub Enterprise, Jenkins, test environments, Flannel, Vitess and search.
- [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.
- [Balancing Safety and Velocity in CI/CD at Slack](https://swe.quest/articles/balancing-safety-and-velocity-in-ci-cd-at-slack-cd559ba9ba4be498.md): Slack Engineering · 2022-02-18 · Medium · 12 min read · CI/CD, Testing, Developer productivity, Deployment
  Slack restructured CI for its Webapp monorepo from mostly pre-merge end-to-end testing into three tiers: a small pre-merge set (\<1% of e2e tests) that blocks merges, a post-merge set (\<10%) that blocks deploys, and a bi-hourly batched regression pipeline for low-criticality features.

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)
