Resources With TTL
One of the primary benefits of moving to the cloud is the transition from capital expenditures to operational ones. This bot helps reinforce that philosophy by enabling the use of “Temporary Resources” that are deleted after X number of hours. The “Resources With TTL” bot does so by reading the resource’s Time To Live (TTL) tag and taking the value to schedule the resource deletion time.
Recommended Action
This bot works in conjunction with a tagging policy. To enforce Temporary Resources as a policy, create a separate bot that inspects creation and modification events to ensure that resources have a TTL tag (and keep it) and that the tag has an appropriate maximum value.
Severity
High
Resource Types Inspected
Database Instance Cache Instance Big Data Instance Volume Snapshot Database Snapshot Cache Snapshot Big Data Snapshot Storage Container
Reactive Hookpoints
resource.created resource.modified