New to Kestra?
Use blueprints to kickstart your first workflows.
Audits AWS EC2 Elastic IP allocations to detect unassociated idle public IPv4 addresses incurring hourly penalty charges.
This workflow uses the official AWS CLI plugin to query aws ec2 describe-addresses across the specified AWS region. It filters for Elastic IP allocations where AssociationId is null, indicating an allocated public IPv4 address sitting detached from any active EC2 instance or network interface. AWS charges an hourly penalty fee for every unassociated IPv4 address. When idle IPs exceed the threshold, an automated alert is sent to Slack.
io.kestra.plugin.aws.cli.AwsCLI with secure credentials injection.aws ec2 release-address approval gates.ec2:DescribeAddresses permissions.AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and SLACK_WEBHOOK configured in Kestra.