TTL Auto-Destroy
Set a Time to Live (TTL) on any environment and it will automatically be destroyed when the timer expires — no manual teardown required, no runaway cloud costs.
How TTL works
When you create a plan, you can select a TTL duration. Available options are 4h, 8h, 12h, 24h, 48h, and 72h. You can also leave it blank for no auto-destroy.
Once the environment reaches live status, the countdown starts. When the TTL expires:
1.n8n triggers a destroy webhook on the Aithroyz API
2.The provisioner runs OpenTofu destroy — removes all VMs, DNS records, GCS state
3.Environment status changes to destroyed
4.You receive a notification (if email alerts are configured)
TTL on the plan form
In the plan creation form, the TTL field shows an approximate cost for each option — e.g. “4h — ~$2–$4”. This helps you choose the right duration without overshooting your budget.
⚠
TTL destruction is irreversible. All data inside tools — Kibana dashboards, TheHive cases, OpenCTI indicators — is deleted when the environment is destroyed. Export anything you want to keep before the TTL expires.
✓
Need more time? You can extend the TTL at any point before it expires. See Extending TTL.