AwsCLI icon
If icon
SlackIncomingWebhook icon
Schedule icon

AWS EBS General Purpose gp2 Volume Burst Balance Exhaustion Sentinel

Audits Amazon EBS CloudWatch metrics to detect gp2 volume burst balance depletion and storage I/O throughput collapse.

Categories
CloudInfrastructure

How it works

This workflow connects to Amazon CloudWatch via the AWS CLI plugin to sample the BurstBalance metric for designated general purpose gp2 EBS volumes. Under sustained disk I/O, gp2 volumes deplete their burst bucket down to 0%, collapsing disk performance to baseline (3 IOPS per GiB). When the burst balance falls below safety thresholds, an automated Slack incident notification is dispatched.

What you get

  • Proactive detection of impending disk I/O starvation before databases freeze.
  • Prevents kernel I/O wait lockups and application thread pool starvation.
  • Actionable recommendation to migrate to gp3 (which provides baseline 3,000 IOPS regardless of volume size).

Who it's for

  • Storage Engineers and SREs maintaining production EC2 instances and database volumes.
  • Cloud Architects modernizing legacy EBS storage volumes to gp3.

Why orchestrate this with Kestra

  • Native Telemetry Sampling: Execute authenticated CloudWatch queries using io.kestra.plugin.aws.cli.AwsCLI.
  • Automated Workflow Orchestration: Centralize storage health audits with enterprise notifications in one flow.
  • Remediation Ready: Can be configured to invoke aws ec2 modify-volume --volume-type gp3 automatically.

Prerequisites

  • AWS IAM credentials with cloudwatch:GetMetricData permissions.
  • Secrets AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and SLACK_WEBHOOK configured in Kestra.

Quick start

  1. Import this blueprint into Kestra.
  2. Supply your EBS volume ID and configure secrets.
  3. Run the workflow to inspect current IOPS burst balance reserves.

How to extend

  • Query all gp2 volumes attached to running EC2 instances dynamically.
  • Automatically trigger volume modification from gp2 to gp3.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.