Skip to main content

โญ Repository โ†’ ๐Ÿ“ Compliance Engine โ†’ ๐Ÿ“ CloudAware โ†’ ๐Ÿ“ AWS โ†’ ๐Ÿ“ RDS

๐Ÿ›ก๏ธ AWS RDS Instance is underutilized๐ŸŸข

  • Contextual name: ๐Ÿ›ก๏ธ Instance is underutilized๐ŸŸข
  • ID: /ce/ca/aws/rds/instance-underutilized
  • Tags:
  • Policy Type: COMPLIANCE_POLICY
  • Policy Categories: COST, PERFORMANCE

Logicโ€‹

Descriptionโ€‹

Open File

Descriptionโ€‹

This policy identifies Amazon RDS database instances that appear to be underutilized based on their performance metrics over the last 30 days. An instance is flagged as underutilized if it meets the following conditions:

  1. Average CPU utilization has been below 20%.
  2. Average disk read IOPS has been under 50.
  3. Average disk write IOPS has been under 50.

Rationaleโ€‹

Right-sizing underutilized RDS instances helps reduce costs while maintaining application performance. Aligning resources with actual workload requirements ensures efficient use of infrastructure and prevents unnecessary spend.

Impactโ€‹

It is crucial to analyze performance data carefully before resizing to avoid any negative impact on application availability or responsiveness.

Auditโ€‹

This policy evaluates an RDS Instance based on its 30-day performance metrics.

The Instance is marked as INCOMPLIANT if all the following criteria are met:

  • CloudWatch: CPU, 30-Day metric is less than 20%.
  • CloudWatch: Disk Read IOPS, 30-Day metric is less than 50 IOPS.

... see more

Remediationโ€‹

Open File

Remediationโ€‹

Right-Size Underutilized Instancesโ€‹

Key considerationsโ€‹
  • Ensure that the new instance class supports your workload and storage requirements.
  • Coordinate with application owners before resizing to avoid unexpected performance issues.
Downsize the DB instanceโ€‹
From Command Lineโ€‹

To apply during the next maintenance window (recommended for production):

aws rds modify-db-instance \
--db-instance-identifier {{db-instance-id}} \
--db-instance-class {{new-instance-class}} \
--apply-immediately false

To apply immediately (causes a brief outage while resizing):

aws rds modify-db-instance \
--db-instance-identifier {{db-instance-id}} \
--db-instance-class {{new-instance-class}} \
--apply-immediately true

policy.yamlโ€‹

Open File

Linked Framework Sectionsโ€‹

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
๐Ÿ’ผ Cloudaware Framework โ†’ ๐Ÿ’ผ Resource Right-Sizing15no data
๐Ÿ’ผ Cloudaware Framework โ†’ ๐Ÿ’ผ Workload Efficiency24no data