---
title: "What We Learned from Building GovSlack"
description: "Standing up GovSlack on AWS GovCloud took Slack's Cloud Foundations team nearly two quarters, mostly spent adapting tooling to partition differences."
url: "https://swe.quest/articles/what-we-learned-from-building-govslack-cc74a0b8f76f117d"
canonical: "https://slack.engineering/what-we-learned-from-building-govslack/"
source: "Slack Engineering"
published: "2023-01-24"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["cloud","infrastructure-as-code","security","dns","networking"]
---

# What We Learned from Building GovSlack

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2023-01-24, 9 min read, Case study. Original: [https://slack.engineering/what-we-learned-from-building-govslack/](https://slack.engineering/what-we-learned-from-building-govslack/)

## Summary

Standing up GovSlack on AWS GovCloud took Slack's Cloud Foundations team nearly two quarters, mostly spent adapting tooling to partition differences. GovCloud accounts have no billing and must be created through the commercial Organizations API (create-gov-cloud-account), which also spawns a linked shell commercial account. GovDev and GovProd run as fully separate AWS organizations with disconnected Nebula meshes so only US personnel can reach production. Workarounds covered missing public Route53 zones (public records and ACM DNS validation live in a restricted commercial account), no cross-partition role assumption (artifacts are pulled into GovCloud with stored IAM credentials), and partition-aware ARNs via a small Terraform \`aws\_partition\` module, plus uneven VPC endpoint coverage and adopting AWS SSO permission sets.

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)
- [Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md) (Infrastructure)
- [Security](https://swe.quest/tags/security.md) (Security)
- [DNS](https://swe.quest/tags/dns.md) (Infrastructure)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)

## Prerequisites

- AWS Organizations and IAM roles ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- Terraform modules ([easy posts on Infrastructure as code](https://swe.quest/tags/infrastructure-as-code.md?difficulty=easy))
- VPC networking ([easy posts on Networking](https://swe.quest/tags/networking.md?difficulty=easy))

## Keywords

AWS GovCloud, GovSlack, Terraform, Route53, AWS SSO, FedRAMP, Nebula, Jenkins

## Related posts

- [Building the Next Evolution of Cloud Networks at Slack – A Retrospective](https://swe.quest/articles/building-the-next-evolution-of-cloud-networks-at-slack-a-retrospective-d090221ea56ede12.md): Slack Engineering · 2021-10-20 · Medium · 10 min read · Cloud platforms, Networking, DNS, Testing
  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.
- [Slack AI: The Path to Multi-Cloud](https://swe.quest/articles/slack-ai-the-path-to-multi-cloud-ce2850c85b697c97.md): Slack Engineering · 2026-05-28 · Medium · 14 min read · Inference & serving, Cloud platforms, Resilience, LLMs, Capacity planning
  Slack AI's LLM serving evolved over three years through four phases: self-managed AWS SageMaker endpoints in an escrow VPC, Amazon Bedrock Provisioned Throughput, a hybrid of Provisioned Throughput and On-Demand with spillover routing, and finally a multi-cloud setup adding GCP Vertex AI.
- [How We Use Terraform At Slack](https://swe.quest/articles/how-we-use-terraform-at-slack-a1596aae0a45b4a5.md): Slack Engineering · 2022-10-25 · Medium · 14 min read · Infrastructure as code, Cloud platforms, CI/CD, Developer tools
  Slack runs roughly 1,400 Terraform state files across AWS, GCP, DigitalOcean and NS1, split per account, region and large service so each change touches fewer resources.
- [How we built multi-region support for Linear](https://swe.quest/articles/how-we-built-multi-region-support-for-linear-acbf98e7bc2a3edb.md): Linear · 2024-05-23 · Medium · 9 min read · System design, Distributed systems, Identity & auth, Infrastructure as code, PostgreSQL
  Linear added an EU region by replicating its entire production deployment per region rather than sharding the database, keeping each region isolated and letting engineers keep writing against a single Postgres instance.
- [How Country Road Group built a pattern-driven integration solution on AWS](https://swe.quest/articles/how-country-road-group-built-a-pattern-driven-integration-solution-on-aws-10204ddba48d4959.md): AWS Architecture Blog · 2026-11-19 · Medium · 10 min read · Event-driven architecture, Serverless, Infrastructure as code, Refactoring & migrations, Cloud platforms
  Country Road Group replaced 21 BizTalk Server interfaces on VMware with a declarative, pattern-driven integration platform on AWS, where each interface is composed from standard enterprise integration patterns provisioned by pre-built Terraform modules.

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)
