# RDS Storage & IOPS Calculator AI Agent Connect

> Calculate AWS RDS storage capacity, baseline IOPS, and performance saturation risks.

## Overview
- **Category:** cloud-infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_2WU0dyoPJ6dR0Wp6ibt9g1rI0I4rFQYPWpEOwRNv/ai-agent-connect
- **Tags:** aws, rds, storage, iops, database

## Description

This MCP server provides deterministic calculations for AWS RDS storage configurations. It allows AI agents to determine baseline IOPS and throughput for various storage types like General Purpose SSD (gp2) and Provisioned IOPS SSD (io1). Users can check if storage needs scaling via `check_autoscaling_status` or evaluate performance risks using `analyze_replica_lag_risk`. It also provides detailed metrics through `get_storage_metrics` to ensure database configurations stay within engine limits for MySQL, PostgreSQL, Aurora, and more.

## Tools

### check_autoscaling_status
Determines if the current storage configuration is approaching the threshold for AWS storage autoscaling

### analyze_replica_lag_risk
Evaluates the risk of replica lag caused by IOPS saturation

### get_storage_metrics
Calculates the baseline IOPS and throughput for a specific storage configuration

## Prompt Examples

**Prompt:** 
```
What are the baseline IOPS and throughput for a 500GB gp2 RDS instance?
```

**Response:** 
```
A 500GB gp2 instance provides 1,500 baseline IOPS and a baseline throughput of 250 MB/s.
```

**Prompt:** 
```
Is my 1000GB PostgreSQL instance approaching its storage limit?
```

**Response:** 
```
The current storage size is well within the 64 TB maximum limit for PostgreSQL.
```

**Prompt:** 
```
Check if my 100GB gp2 volume at 95% utilization needs scaling.
```

**Response:** 
```
Yes, the storage utilization has reached the 90% threshold, so scaling is required.
```

## Frequently Asked Questions

**How do I check if my gp2 storage needs to scale?**
You can use the `check_autoscaling_status` tool to see if your current storage utilization has reached the 90% threshold required for AWS autoscaling.

**Can I calculate the IOPS for a Provisioned IOPS SSD?**
Yes, by using `get_storage_metrics` and providing the `provisionedIops` value, the tool will return the validated baseline IOPS for your io1 configuration.

**What happens if my IOPS usage exceeds the baseline?**
When IOPS usage exceeds the baseline, you may experience performance saturation. You can use `analyze_replica_lag_risk` to assess the specific impact on your database replicas.
