Plugins can be used to perform actions whenever something happens within Resoto. Cleanup plugins for instance exist for automated cleanup that is more complex than what a simple CLI search can do. Plugins are loaded by Resoto Worker and often come with their own configuration. Enable or configure them using the
config edit resoto.worker command.
This plugin marks all orphaned AWS CloudWatch instance alarms for cleanup. I.e. alarms associated with an EC2 instance that no longer exists.
This plugin cleans up AWS ALB/ELB load balancers with no instances attached to them.
This plugin marks all VPC dependencies for cleanup. The VPC must have been previously marked for cleanup by another cleanup plugin.
This plugin looks for resources with the tags expiration or resoto:expires and flags them for cleanup if they are expired.
This plugin deletes cloud resources that are missing mandatory tags after a certain amount of time has passed since their creation.
This plugin cleans up unused storage volumes.
This plugin protects important resources from deletion by Resoto.
This plugin validates the contents of expiration tags. With it you can enforce a max. expiration length for certain resources in an account. For instance you could have an org policy that says in our "dev" account compute instances are only allowed to exist for 2 days max. Then this plugin can ensure that the expiration tag on those instances is set to no more than 2 days. If it is set to e.g. 50h it would be corrected down to 48h.