FreeStorageSpace
aws cloudwatch get-metric-statistics \ --namespace AWS/RDS --metric-name FreeStorageSpace \ --start-time $START --end-time $END --period 300 \ --statistics Average \ --dimensions "Name=YOUR_DBInstanceIdentifier, Value=${INSTANCE_NAME}"
aws cloudwatch get-metric-statistics \ --metric-name FreeStorageSpace \ --start-time 2022-07-01T23:00:00Z \ --end-time 2022-07-30T23:00:00Z \ --period 3600 \ --namespace AWS/RDS \ --statistics Average \ --dimensions Name=DBInstanceIdentifier,Value=${INSTANCE_NAME}
Related
aws rds describe-db-instances | egrep "DBInstanceIdentifier|AllocatedStorage"
- Snapshot
- AWS RDS query logging
- Amazon RDS DB storage
See also
aws cloudwatch
[list-dashboards
|create-log-group
|put-metric-alarm
|describe-alarms | set-alarm-state | list-metrics | get-metric-statistics
],CloudwatchLogsGroup
- Amazon databases: AWS RDS, storage,
aws rds
, Amazon RDS Proxy, RDS FAQs, PostgreSQL, MySQL, SQL Server, AWS Outposts, Amazon Aurora, Amazon Aurora Serverless , Amazon DocumentDB, Amazon DynamoDB, Amazon Redshift, Amazon QLDB, Amazon RDS Performance Insights, DataFileRead, DMS, Amazon Neptune, Amazon MemoryDB for Redis, Amazon RDS query editor for Aurora Serverless, Amazon Redshift query editor, AWS RDS Snapshots, AWS RDS Instance Types,rds_superuser
, Authentication, autoscaling
Advertising: