Atlas › 08 Infrastructure as Code Testing › Ephemeral Environments☰ Read as one page
Ephemeral Environments
12.1What Ephemeral Environments AreEphemeral environments are disposable copies of your entire infrastructure stack, spun up for each pull request and torn down after merge…12.2Architecture12.3Terraform Workspaces for Ephemeral EnvironmentsTerraform workspaces provide lightweight isolation. Each workspace maintains its own state file, so resources created in one workspace do…12.4Pulumi Stacks for Ephemeral EnvironmentsPulumi stacks are the equivalent of Terraform workspaces but with programmatic control:12.5Cost Control StrategiesEphemeral environments can be expensive if not managed carefully. A single PR environment with an RDS instance, ECS service, and load…12.6Database Seeding for Ephemeral EnvironmentsEphemeral environments need data to be useful. Options from fastest to most realistic: