---
title: "Building the Next Evolution of Cloud Networks at Slack – A Retrospective"
description: "A year after launching Whitecastle, its AWS network redesign built on Transit Gateway, Slack found that proxy environment variables (http_proxy/no_proxy) were the biggest migration drag."
url: "https://swe.quest/articles/building-the-next-evolution-of-cloud-networks-at-slack-a-retrospective-d090221ea56ede12"
canonical: "https://slack.engineering/building-the-next-evolution-of-cloud-networks-at-slack-a-retrospective/"
source: "Slack Engineering"
published: "2021-10-20"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["cloud","networking","dns","testing"]
---

# Building the Next Evolution of Cloud Networks at Slack – A Retrospective

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2021-10-20, 10 min read, Case study. Original: [https://slack.engineering/building-the-next-evolution-of-cloud-networks-at-slack-a-retrospective/](https://slack.engineering/building-the-next-evolution-of-cloud-networks-at-slack-a-retrospective/)

## Summary

A year after launching Whitecastle, its AWS network redesign built on Transit Gateway, Slack found that proxy environment variables (http\_proxy/no\_proxy) were the biggest migration drag. Languages honor them inconsistently: Java ignores them, and CIDR support differs between Ruby, Go and Python. Partial migrations pushed huge, bursty traffic through Transit Gateway, which required CloudWatch attachment-level monitoring and help from AWS to scale. The team replaced VPC peering with Transit Gateway without downtime by adding a less-specific 10.0.0.0/8 route before deleting the peering routes. Later improvements included multiple workload VPCs per region, cross-account private Route53 zone associations, a self-discovering network tester backed by DynamoDB, and a Slack bot for looking up network details.

Written by swe.quest, not by the author.

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

## Topics

- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)
- [DNS](https://swe.quest/tags/dns.md) (Infrastructure)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

- AWS VPC networking ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- IP routing and CIDR ([easy posts on Networking](https://swe.quest/tags/networking.md?difficulty=easy))
- HTTP proxies ([easy posts on Load balancing](https://swe.quest/tags/load-balancing.md?difficulty=easy))

## Keywords

AWS Transit Gateway, Whitecastle, Squid, Route53, VPC peering, Nebula, DynamoDB, Terraform

## Related posts

- [How DeepL keeps closest-exit routing during maintenance with AWS Cloud WAN](https://swe.quest/articles/how-deepl-keeps-closest-exit-routing-during-maintenance-with-aws-cloud-wan-b0a60935b0ef004b.md): AWS Architecture Blog · 2026-11-09 · Hard · 10 min read · Networking, Cloud platforms, Deployment
  DeepL drains a single AWS Direct Connect link for maintenance by prepending AS\_PATH on that link's virtual interface.
- [Migrating Millions of Concurrent Websockets to Envoy](https://swe.quest/articles/migrating-millions-of-concurrent-websockets-to-envoy-b99b542be70019c3.md): Slack Engineering · 2021-03-15 · Medium · 11 min read · Load balancing, Real-time systems, Deployment, Configuration management, Networking
  Slack moved its websocket ingress tier, serving millions of concurrent connections, from HAProxy to Envoy Proxy.
- [Traffic 101: Packets Mostly Flow](https://swe.quest/articles/traffic-101-packets-mostly-flow-e9828aceea724731.md): Slack Engineering · 2023-08-28 · Medium · 9 min read · Networking, Load balancing, DNS, Resilience, CDN & edge
  A Slack request reaches its main region in AWS us-east-1 through a chain of hops.
- [Throwing Out The Phonebook](https://swe.quest/articles/throwing-out-the-phonebook-38542538ac98046f.md): Fly.io · 2026-11-13 · Hard · 10 min read · Networking, Linux, Distributed systems, Deployment, System design
  Fly.io rebuilt 6PN, its private IPv6 network between Fly Machines, replacing a fleet-wide eBPF map of every migrated Machine's location (hundreds of thousands of entries kept in sync from Corrosion's gossip-replicated SQLite) with lazy, on-demand routes.
- [Hello, World: We’re Railway](https://swe.quest/articles/hello-world-we-re-railway-63540b1cb9b8fafa.md): Railway · 2023-09-25 · Medium · 17 min read · Networking, CDN & edge, Load balancing, Infrastructure as code, Storage systems
  Railway launches US-East, EU-West and Southeast Asia regions alongside its original US-West GCP zone, with one-click region moves that need no URL or DNS changes.

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)
