Rds Oss
Advises on Amazon RDS open-source engines (MySQL, MariaDB, PostgreSQL) for instance creation, upgrade planning, commitment pricing, proxy evaluation, and Blue/Green deployments. Handles any RDS MySQL, MariaDB, or PostgreSQL question, including create a production-ready RDS MySQL instance, provision an RDS PostgreSQL database, run the RDS upgrade advisor for my RDS MySQL instance, what are my upgrade options, upgrade RDS MariaDB from 10.6 to the latest version, should I buy reserved instances or a savings plan for db.r7g.2xlarge RDS MySQL, change a VARCHAR to INT column on RDS MySQL 8.0 with Blue/Green, and does RDS Proxy help when PgBouncer already runs in transaction mode. Covers instance creation with production best practices, describe-db-instances and describe-db-engine-versions upgrade-target workflow, live prechecks via SSM or direct connection, RI versus DSP commitment pricing, RDS Proxy versus PgBouncer, and Blue/Green lifecycle with binlog replay compatibility.
- Skill ID
- aws/agent-toolkit-for-aws/rds-oss
- Publisher
- aws
- Repository
- agent-toolkit-for-aws
- Installs
- 0
- Files
- 19
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
aws/agent-toolkit-for-aws/rds-ossInstalls these files- SKILL.md
- references/bluegreen-advisor-workflow.md
- references/bluegreen-ddl-mysql.md
- references/bluegreen-ddl-postgresql.md
- references/commitment-basics.md
- references/commitment-pricing-workflow.md
- references/commitment-scenarios.md
- references/proxy-advisor-workflow.md
- references/proxy-pinning-mysql.md
- references/proxy-pinning-postgresql.md
- references/upgrade-post-checklist.md
- references/upgrade-pre-checklist.md
- references/upgrade-prechecks-mysql.md
- references/upgrade-prechecks-postgresql.md
- references/upgrade-query-load-mysql.md
- references/upgrade-query-load-postgresql.md
- references/upgrade-workflow.md
- references/verify-dependencies.md
- scripts/rds_commitment_pricing_analyzer.py
What this skill tells the agent
RDS OSS Advisor (MySQL, MariaDB, PostgreSQL)
Overview
Advisor for Amazon RDS on the open-source engines — MySQL, MariaDB, and PostgreSQL. Five decision areas:
- Instance creation — provision production-ready instances with best-practice defaults (latest version, Multi-AZ, encryption, Performance Insights, Secrets Manager password management)
- Upgrade planning — identify instance, enumerate targets, run live prechecks, flag plan regressions, surface pre/post checklists
- Commitment pricing — estimate RI and Database Savings Plan savings for steady workloads
- RDS Proxy evaluation — decide whether proxy is worth it, based on connection utilization and pinning risks
- Blue/Green deployments — plan low-downtime DDL or major upgrades, with DDL compatibility analysis
Produces cost estimates, precheck findings, and CLI commands. For instance creation, executes the create-db-instance call with production best practices. For upgrades, purchases, and switchovers — advisory only, never executes without explicit user confirmation.
Scoped to RDS open-source engines. For Aurora, use amazon-aurora. For Oracle, SQL Server, Db2, use the engine-specific skills.
The AWS MCP server is recommended for executing commands but is not required; all operations can also be performed via the AWS CLI.
Decision Guide
| User asks about… | Go to |
|---|---|
| Create, provision, or set up a new RDS MySQL/MariaDB/PostgreSQL instance | Production Instance Creation below |
| Upgrade, target version, pre/post-upgrade checklist, upgrade prechecks, Read Replica upgrade order | references/upgrade-workflow.md |
| Reserved Instance, RI, Database Savings Plan, DSP, 1yr vs 3yr, Multi-AZ commitment, No/Partial/All Upfront | references/commitment-pricing-workflow.md |
| RDS Proxy, connection pooling, too many connections, Lambda DB connections, proxy pinning, PgBouncer vs Proxy | references/proxy-advisor-workflow.md |
| Blue/Green, zero-downtime DDL, switchover, schema change with minimal downtime, type change on production | references/bluegreen-advisor-workflow.md |
Broad request ("help me with RDS")? Present the five options as one line each. If the user supplied an instance ID, offer a general health check (engine + version + connection utilization) as entry point.
Out-of-scope (Aurora, Oracle, SQL Server, Db2, backup policy, Performance Insights deep-dive analysis): answer from general knowledge, note this skill doesn't cover it, point to the right engine-specific skill.
RDS vs Aurora — Do Not Confuse
RDS open-source engines and Aurora are different products with different semantics. You MUST NOT apply Aurora concepts to RDS:
| Concept | RDS (this skill) | Aurora (use amazon-aurora) |
|---|---|---|
| LTS releases | ❌ Does not exist | ✅ Has LTS versions |
| Serverless mode | ❌ Does not exist | ✅ Aurora Serverless |
| I/O-Optimized storage | ❌ Does not exist | ✅ aurora-iopt1 |
| Data API | ❌ Not available for standalone RDS | ✅ Aurora Serverless clusters |
| Instance topology | Instance-based (describe-db-instances) | Cluster-based (describe-db-clusters) |
| Upgrade scope | Per-instance | Per-cluster (writer + readers together) |
| DSP term options | 1yr and 3yr | 1yr only |
| Pricing model | On-Demand + RI + DSP | On-Demand + RI + DSP + I/O pricing |
If a user asks about any Aurora-specific concept, route to amazon-aurora. If an instance turns out to be Aurora (engine = aurora-mysql or aurora-postgresql), stop and redirect.
Production Instance Creation
When a user asks to create or provision a new RDS MySQL, MariaDB, or PostgreSQL instance for production use, you MUST apply the following best practices by default:
- Use the latest stable major version — run
aws rds describe-db-engine-versions --engine <engine> --query "DBEngineVersions[].EngineVersion"to find the latest. For MySQL, prefer 8.4.x over 8.0 (8.0 has an earlier end-of-standard-support date than 8.4 — see RDS Extended Support for dates). For PostgreSQL, use the latest major. For MariaDB, use the latest major. - Enable Multi-AZ — set
--multi-azfor automatic failover. - Enable storage encryption using a customer-managed KMS key — set
--storage-encrypted --kms-key-id <key-arn>. A customer-managed key gives full control over key rotation, access policies, and cross-account sharing. - Disable public access — set
--no-publicly-accessibleto ensure the instance is not accessible from the internet. - Set backup retention to 7 days — set
--backup-retention-period 7. - Enable Performance Insights with 7-day retention — set
--enable-performance-insights --performance-insights-retention-period 7. If Performance Insights captures queries containing sensitive data (e.g., literal values in WHERE clauses), specify--performance-insights-kms-key-id <key-arn>to encrypt at rest with a customer-managed KMS key. - Enable deletion protection — set
--deletion-protection. - Avoid default master usernames — do NOT use well-known names like
admin,root,postgres, ormaster, which make credential-guessing attacks easier. Choose a custom--master-username(e.g., an application- or team-specific name). - Manage master password via Secrets Manager — set
--manage-master-user-passwordinstead of providing a plaintext--master-user-password. This creates and rotates the password automatically in Secrets Manager. Do NOT accept or use a plaintext password for production instances. - Use gp3 storage — set
--storage-type gp3. It's cheaper and faster than gp2 with no minimum IOPS purchase. - Tag the instance so customers can identify resources created via this skill — set
--tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value={your-model-id}(see Resource tagging below). - Enforce TLS for connections in transit — create or modify the DB parameter group to require encrypted connections:
require_secure_transport=ONfor MySQL/MariaDB,rds.force_ssl=1for PostgreSQL. - Export database logs to CloudWatch Logs and encrypt with KMS — set
--enable-cloudwatch-logs-exportsso database-level security events (failed logins, suspicious queries) are centrally visible. Use["error","slowquery","audit"]for MySQL/MariaDB (note: theauditstream requires audit logging to be enabled first, otherwise it is empty — on RDS MySQL via the MARIADB_AUDIT_PLUGIN in an Option Group, on RDS MariaDB via the built-in server audit parameters such asserver_audit_logging=1in a parameter group) and["postgresql"]for PostgreSQL. Database logs can contain SQL with literal values and usernames, so you MUST configure a KMS key on the resulting/aws/rds/instance/<name>/*log groups to protect sensitive data at rest.
Example CLI (MySQL 8.4, production-ready):
aws rds create-db-instance \
--db-instance-identifier <name> \
--engine mysql \
--engine-version 8.4 \
--db-instance-class <class> \
--allocated-storage 100 \
--storage-type gp3 \
--storage-encrypted \
--kms-key-id <kms-key-arn> \
--no-publicly-accessible \
--multi-az \
--manage-master-user-password \
--master-username <custom-non-default-username> \
--backup-retention-period 7 \
--enable-performance-insights \
--performance-insights-retention-period 7 \
--performance-insights-kms-key-id <kms-key-arn> \
--deletion-protection \
--enable-cloudwatch-logs-exports '["error","slowquery","audit"]' \
--tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value=<your-model-id> \
--region us-east-1More from aws
Use this skill in a project
Open any RiverX project, search the Skills panel for aws/agent-toolkit-for-aws/rds-oss, and install it in one click.
