How do I resolve an Amazon RDS for PostgreSQL instance that has a low or zero Amazon EBS byte balance?

2 minute read
0

I want to resolve an Amazon Relational Database Service (Amazon RDS) for PostgreSQL instance that has a low or zero Amazon Elastic Block Store (Amazon EBS) byte balance.

Short description

To track available throughput burst credits in your instance's burst credit bucket, use the EBSByteBalance% Amazon CloudWatch metric. If the available burst credits are depleted or zero, then your storage throughput includes heavy read or write workloads and exceeds the instance type quotas. 

To resolve this issue, either debug your throughput utilization, or scale up to an instance type that has a higher baseline and maximum throughput.

Resolution

Determine the Amazon EBS-optimized instance type that's most suitable for your workload based on the throughput baseline and instance type quotas.

Use the Amazon RDS console to scale up to an instance with a higher baseline

Complete the following steps:

  1. Open the Amazon RDS console.
  2. Choose Databases.
  3. Select the instance that you want to scale up, and then choose Modify.
  4. For Instance configuration, choose your new instance class, and then choose Continue.
  5. Choose whether to apply the changes immediately, and then choose Modify DB instance.

Use the AWS CLI to scale up to an instance with a higher baseline

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

Run the modify-db-instance command:

aws rds modify-db-instance --db-instance-identifier example-instance-identifier --db-instance-class example-instance-class --apply-immediately

Note: Replace example-instance-identifier with your instance identifier and example-instance-class with the instance class that you want to scale up to.

To apply the changes at your next maintenance window, replace apply-immediately with no-apply-immediately.