Sandboxes, not just for kids anymore: use terraform workspaces to test and preview applications.

Lightning talk given at Devops Groundup April 2022

(Meetup page)

Navio makes web apps that help cancer patients and deploys them at Amazon using Terraform. In order to work on multiple features in parallel, and then quickly release them to production, we’ve created a system of sandbox environments that can be easily created and destroyed. Our solution relies on terraform workspaces, allows backend and frontends to be tested together or separately, and optimizes cost by sharing some components while keeping persistent state separate. We’ll describe the system, demonstrate creating a sandbox and solicit ideas about how others solve this problem.

(Download PDF)