Remote Development at Slack
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. A warm pool kept in an Auto Scaling Group syncs with master periodically. A `slack remote-dev -b <branch>` CLI command reserves an instance, detaches it from the ASG, checks out the branch and syncs personal dotfiles from `~/.remote-dev-home`, producing a ready environment in under 90 seconds instead of roughly 12 minutes of bootstrap. Instances terminate on detach or when the branch merges. Upgrading from C5.2xlarge to C5.4xlarge took a single config change, and over 90% of webapp engineers adopted the workflow within months of its October 2021 GA.
Related posts
- We gave AI agents a mobile dev environment
Shopify Engineering mediumAdeptShopify built Remote Dev so its Slack-based coding agent River can build and test iOS and Android apps in parallel on a fleet of remote Macs instead of developers' laptops. Each agent claims a warm Mac (monorepo checked out, apps prebuilt, caches warm) over SSH, plus an Android emulator running on a separate Linux VM because macOS lacks nested virtualization; this cut setup from 30+ minutes to a few minutes. A skill, a CLI wrapping SSH, and observable tmux panes taught River to use the remote machine. Live Preview streams simulators to the browser over WebSockets, and internal evangelism plus a classifier-driven feedback loop raised River's share of merged mobile PRs from 6% to 61%.
- GitHub’s Engineering Team has moved to Codespaces
GitHub Engineering mediumAdeptGitHub 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. Creation time went from 45 minutes to 5 by shallow cloning with background unshallowing and a nightly GitHub Action that builds a mostly-bootstrapped Docker base image for the devcontainer. It then dropped to 10 seconds with prebuilds, pools of fully cloned and bootstrapped codespaces. Centralized config also let them upgrade every engineer from 8-core to 32-core VMs with one line, share live previews via forwarded ports, and support Vim/Emacs users over SSH.
- Shipyard: How We Built Slack’s Next-Generation EC2 Platform
Slack Engineering mediumAdeptShipyard 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.
- Host a Dev Environment on Render with VS Code and Tailscale
Render mediumAdept
A self-hosted cloud dev environment can run on Render as a private service, reached over a Tailscale subnet router and edited with VS Code's Remote-SSH extension. code-server works and installs as a PWA, but it lacks some extensions. OpenSSH fails in Render's unprivileged containers because privilege separation needs CAP_SYS_CHROOT, so dropbear serves SSH instead, with SSH agent forwarding for GitHub authentication. A persistent disk mounted at /home keeps repos, caches and the VS Code binaries across deploys, and a start script recreates authorized_keys at runtime so the mount doesn't overwrite it.
- Optimizing Our E2E Pipeline
Slack Engineering mediumAdeptSlack cut redundant frontend builds in its monorepo E2E pipeline by using `git diff` three-dot notation against `main` to detect whether a PR touches frontend code, and when it doesn't, serving a recent production frontend build from S3 through an internal CDN instead of rebuilding. The check and artifact lookup take under 3 seconds across 100,000+ tracked files. Frontend build frequency dropped 60%, average build time fell from ~5 to ~2 minutes (from ~10 minutes at the start of the year, counting an earlier Webpack upgrade), several terabytes of monthly S3 storage were saved, and E2E test flakiness reached its lowest measured level.