Agent Wranglers

Environments

Give each environment its own account, build them all from the same code, change staging before production, and delete preview copies on time.

  • Recommended 5

An environment is one full copy of the service, such as development, staging or production. The rules here keep the copies alike, so a change that works in staging works in production. They also keep them apart, so a mistake in one cannot reach the others. Test data and the staging copy itself are covered in Keep a staging copy with fake data.

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/infrastructure/environments">Agent Wranglers infrastructure and environments playbook</a>. In code you write, add a comment next to it with the same link.