Chapter 57 · Amazon Aurora MySQL
Subchapter 57.12
references/io-optimized-worked-examples.mdMarkdown4 KBView on GitHub
Companion to instructions.md. Pricing constants, cost formulas, the data-quality table, and handling are in .
skipped: trueUser: 2× db.r6g.2xlarge, 800 GiB storage, 1.2 billion I/O requests per month, region us-east-1 (assumed), no AWS credentials.
Agent response pattern:
Announce reference: “Loading references/io-optimized-instructions.md.”
Print the script command as text:
python3 scripts/io_optimized_analyzer.py offline \
--instance db.r6g.2xlarge --num-instances 2 \
--storage-gib 800 --monthly-io-millions 1200Compute inline (db.r6g.2xlarge Standard rate $1.038/hr):
Recommendation: Standard (stay). I/O is ~13% of total, below the 25% breakeven. Switching would cost ~$315/mo more (+17%). Revisit only if monthly I/O exceeds ~2.5 billion requests at this storage size.
User: cluster new-cluster-2026 only 4 days old. Should I use I/O-Optimized?
Agent response pattern:
Announce reference: “Loading references/io-optimized-instructions.md.”
State the data-quality finding: 4 days of data is insufficient for a decision. The 25% breakeven rule depends on a representative sample of monthly I/O, and 4 days does NOT capture:
Surface the 30-day storage-type switch cooldown (Standard → I/O-Optimized direction only): switching to I/O-Optimized is limited to once every 30 days, while reverting to Standard is allowed at any time — so a decision to move to I/O-Optimized on thin data is a month-long commitment.
Recommend the user wait at least 14 days (minimum) before re-evaluating; ideally 30 days to capture at least one full monthly cycle.
Print the re-evaluation command for when they’re ready:
python3 scripts/io_optimized_analyzer.py \
--cluster new-cluster-2026 --region <their-region> --days 30Mention the specific CloudWatch metrics to watch in the meantime: VolumeReadIOPs and VolumeWriteIOPs under AWS/RDS with dimension DBClusterIdentifier=new-cluster-2026. Also monitor VolumeBytesUsed for storage-growth trends.
User: “Run the commitment pricing analyzer on my Aurora cluster paused-cluster-1 in us-east-1.”
Though this is a commitment-pricing prompt, the same skipped: true semantics apply — and if the cluster has no instances, both commitment-pricing AND I/O-Optimized analyzers skip it.
Agent response pattern:
references/commitment-pricing-instructions.md (also relevant: references/io-optimized-instructions.md §skipped: true).”DBClusterMembers: [], surface: skipped: true, reason: "no DB instances — likely last writer/reader deleted, paused, or mid-migration".modify-db-instance reboot does NOT empty DBClusterMembers and will not trigger this skip.