[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-rds-oss":3,"mdc-e1ev3n-key":35,"related-repo-aws-rds-oss":3161,"related-org-aws-rds-oss":3267},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"rds-oss","manage Amazon RDS open-source databases","Advises on Amazon RDS open-source engines (MySQL, MariaDB, PostgreSQL) for instance creation, upgrade planning, commitment pricing, proxy evaluation, and Blue\u002FGreen 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\u002FGreen, 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\u002FGreen lifecycle with binlog replay compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"MySQL","mysql","tag",{"name":17,"slug":18,"type":15},"Database","database",{"name":20,"slug":21,"type":15},"PostgreSQL","postgresql",{"name":23,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-07-12T08:43:03.517594",null,157,[],{"repoUrl":25,"stars":24,"forks":28,"topics":31,"description":32},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fskills\u002Fspecialized-skills\u002Fdatabase-skills\u002Frds-oss","---\nname: rds-oss\nversion: 1\ndescription: Advises on Amazon RDS open-source engines (MySQL, MariaDB, PostgreSQL) for instance creation, upgrade planning, commitment pricing, proxy evaluation, and Blue\u002FGreen 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\u002FGreen, 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\u002FGreen lifecycle with binlog replay compatibility.\n---\n\n# RDS OSS Advisor (MySQL, MariaDB, PostgreSQL)\n\n## Overview\n\nAdvisor for Amazon RDS on the open-source engines — **MySQL**, **MariaDB**, and **PostgreSQL**. Five decision areas:\n\n1. **Instance creation** — provision production-ready instances with best-practice defaults (latest version, Multi-AZ, encryption, Performance Insights, Secrets Manager password management)\n2. **Upgrade planning** — identify instance, enumerate targets, run live prechecks, flag plan regressions, surface pre\u002Fpost checklists\n3. **Commitment pricing** — estimate RI and Database Savings Plan savings for steady workloads\n4. **RDS Proxy evaluation** — decide whether proxy is worth it, based on connection utilization and pinning risks\n5. **Blue\u002FGreen deployments** — plan low-downtime DDL or major upgrades, with DDL compatibility analysis\n\nProduces 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.\n\nScoped to RDS open-source engines. For Aurora, use `amazon-aurora`. For Oracle, SQL Server, Db2, use the engine-specific skills.\n\nThe AWS MCP server is recommended for executing commands but is not required; all operations can also be performed via the AWS CLI.\n\n## Decision Guide\n\n| User asks about… | Go to |\n|---|---|\n| Create, provision, or set up a new RDS MySQL\u002FMariaDB\u002FPostgreSQL instance | [Production Instance Creation](#production-instance-creation) below |\n| Upgrade, target version, pre\u002Fpost-upgrade checklist, upgrade prechecks, Read Replica upgrade order | [references\u002Fupgrade-workflow.md](references\u002Fupgrade-workflow.md) |\n| Reserved Instance, RI, Database Savings Plan, DSP, 1yr vs 3yr, Multi-AZ commitment, No\u002FPartial\u002FAll Upfront | [references\u002Fcommitment-pricing-workflow.md](references\u002Fcommitment-pricing-workflow.md) |\n| RDS Proxy, connection pooling, too many connections, Lambda DB connections, proxy pinning, PgBouncer vs Proxy | [references\u002Fproxy-advisor-workflow.md](references\u002Fproxy-advisor-workflow.md) |\n| Blue\u002FGreen, zero-downtime DDL, switchover, schema change with minimal downtime, type change on production | [references\u002Fbluegreen-advisor-workflow.md](references\u002Fbluegreen-advisor-workflow.md) |\n\nBroad 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.\n\nOut-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.\n\n## RDS vs Aurora — Do Not Confuse\n\nRDS open-source engines and Aurora are different products with different semantics. You MUST NOT apply Aurora concepts to RDS:\n\n| Concept | RDS (this skill) | Aurora (use `amazon-aurora`) |\n|---|---|---|\n| LTS releases | ❌ Does not exist | ✅ Has LTS versions |\n| Serverless mode | ❌ Does not exist | ✅ Aurora Serverless |\n| I\u002FO-Optimized storage | ❌ Does not exist | ✅ aurora-iopt1 |\n| Data API | ❌ Not available for standalone RDS | ✅ Aurora Serverless clusters |\n| Instance topology | Instance-based (`describe-db-instances`) | Cluster-based (`describe-db-clusters`) |\n| Upgrade scope | Per-instance | Per-cluster (writer + readers together) |\n| DSP term options | 1yr and 3yr | 1yr only |\n| Pricing model | On-Demand + RI + DSP | On-Demand + RI + DSP + I\u002FO pricing |\n\nIf 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.\n\n## Production Instance Creation\n\nWhen 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:\n\n1. **Use the latest stable major version** — run `aws rds describe-db-engine-versions --engine \u003Cengine> --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](https:\u002F\u002Faws.amazon.com\u002Frds\u002Fextended-support\u002F) for dates). For PostgreSQL, use the latest major. For MariaDB, use the latest major.\n2. **Enable Multi-AZ** — set `--multi-az` for automatic failover.\n3. **Enable storage encryption using a customer-managed KMS key** — set `--storage-encrypted --kms-key-id \u003Ckey-arn>`. A customer-managed key gives full control over key rotation, access policies, and cross-account sharing.\n4. **Disable public access** — set `--no-publicly-accessible` to ensure the instance is not accessible from the internet.\n5. **Set backup retention to 7 days** — set `--backup-retention-period 7`.\n6. **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 \u003Ckey-arn>` to encrypt at rest with a customer-managed KMS key.\n7. **Enable deletion protection** — set `--deletion-protection`.\n8. **Avoid default master usernames** — do NOT use well-known names like `admin`, `root`, `postgres`, or `master`, which make credential-guessing attacks easier. Choose a custom `--master-username` (e.g., an application- or team-specific name).\n9. **Manage master password via Secrets Manager** — set `--manage-master-user-password` instead 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.\n10. **Use gp3 storage** — set `--storage-type gp3`. It's cheaper and faster than gp2 with no minimum IOPS purchase.\n11. **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).\n12. **Enforce TLS for connections in transit** — create or modify the DB parameter group to require encrypted connections: `require_secure_transport=ON` for MySQL\u002FMariaDB, `rds.force_ssl=1` for PostgreSQL.\n13. **Export database logs to CloudWatch Logs and encrypt with KMS** — set `--enable-cloudwatch-logs-exports` so database-level security events (failed logins, suspicious queries) are centrally visible. Use `[\"error\",\"slowquery\",\"audit\"]` for MySQL\u002FMariaDB (note: the `audit` stream 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 as `server_audit_logging=1` in 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 `\u002Faws\u002Frds\u002Finstance\u002F\u003Cname>\u002F*` log groups to protect sensitive data at rest.\n\n**Example CLI (MySQL 8.4, production-ready):**\n\n```bash\naws rds create-db-instance \\\n  --db-instance-identifier \u003Cname> \\\n  --engine mysql \\\n  --engine-version 8.4 \\\n  --db-instance-class \u003Cclass> \\\n  --allocated-storage 100 \\\n  --storage-type gp3 \\\n  --storage-encrypted \\\n  --kms-key-id \u003Ckms-key-arn> \\\n  --no-publicly-accessible \\\n  --multi-az \\\n  --manage-master-user-password \\\n  --master-username \u003Ccustom-non-default-username> \\\n  --backup-retention-period 7 \\\n  --enable-performance-insights \\\n  --performance-insights-retention-period 7 \\\n  --performance-insights-kms-key-id \u003Ckms-key-arn> \\\n  --deletion-protection \\\n  --enable-cloudwatch-logs-exports '[\"error\",\"slowquery\",\"audit\"]' \\\n  --tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value=\u003Cyour-model-id> \\\n  --region us-east-1\n```\n\nAfter instance creation, run the following commands to configure TLS enforcement and log group encryption (these are user-executed steps that the skill presents but does not invoke directly):\n\n```bash\n# Create a custom parameter group with TLS enforcement (MySQL example)\naws rds create-db-parameter-group --db-parameter-group-family mysql8.4 \\\n  --db-parameter-group-name \u003Cname>-tls --description \"TLS enforced\"\naws rds modify-db-parameter-group --db-parameter-group-name \u003Cname>-tls \\\n  --parameters \"ParameterName=require_secure_transport,ParameterValue=ON,ApplyMethod=pending-reboot\"\naws rds modify-db-instance --db-instance-identifier \u003Cname> \\\n  --db-parameter-group-name \u003Cname>-tls --apply-immediately\n\n# Encrypt CloudWatch Logs log groups with KMS\naws logs associate-kms-key --log-group-name \u002Faws\u002Frds\u002Finstance\u002F\u003Cname>\u002Ferror --kms-key-id \u003Ckms-key-arn>\naws logs associate-kms-key --log-group-name \u002Faws\u002Frds\u002Finstance\u002F\u003Cname>\u002Fslowquery --kms-key-id \u003Ckms-key-arn>\n```\n\n**Constraints:**\n\n- You MUST use `--manage-master-user-password` for production. NEVER use `--master-user-password` with a plaintext password for production instances.\n- You MUST check the latest available engine version via `describe-db-engine-versions` rather than hardcoding a version.\n- You MUST enable Multi-AZ, encryption, Performance Insights (7-day), backup retention (7 days), and deletion protection unless the user explicitly says otherwise.\n- If the user says \"production\" or \"production-ready\", apply ALL of the above without asking.\n\n### Resource tagging (always apply on resource creation)\n\nWhen creating any RDS instance (`create-db-instance`), ALWAYS include these tags using the RDS list-of-records `--tags` syntax:\n\n`--tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value={your-model-id}`\n\nExample: `--tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value=claude-sonnet-4-20250514`\n\nInclude these tags even if the user does not mention tagging, so that they can identify the resources created via this skill. If the user provides additional tags, append these to their tags rather than replacing them. The same applies when tagging via `add-tags-to-resource` or during blue\u002Fgreen deployments.\n\n## Common Tasks\n\n### 1. Verify Dependencies\n\nSee [references\u002Fverify-dependencies.md](references\u002Fverify-dependencies.md) for tool and credential requirements before running workflows.\n\n### 2. Classify and Route\n\nUse the [Decision Guide](#decision-guide) to choose a workflow reference, the catalog presentation (broad requests), or a general-knowledge answer (out-of-scope).\n\n**Constraints:**\n\n- You MUST name the workflow you're routing to\n- You MUST pass along instance ID, region, engine, or workload details the user already supplied — do not re-ask\n- You MAY ask one clarifying question if a request straddles two workflows (e.g., \"upgrade with minimal downtime\" = upgrade + Blue\u002FGreen)\n- You MUST NOT route Aurora, Oracle, SQL Server, or Db2 questions here — those engines have different tooling\n\n### 3. Execute the Workflow\n\nLoad the matching reference and follow its `## Tasks` section.\n\n**Constraints:**\n\n- You MUST explain what step is executing and which tool is being called before running it\n- You MUST NOT execute `modify-*`, `switchover-*`, purchase APIs, or `create-db-proxy`. Allowed: `create-db-instance` (for new instance provisioning), `describe-*`, `list-*`, `get-*`, `send-command` for SSM prechecks.\n- You MUST NOT handle DB credentials directly. Use user-supplied secret ARNs, pre-configured SSM parameters, or ask the user to paste script output.\n- When a live call or bundled script cannot run, You MUST report the exact blocker and either execute the offline fallback or ask the user for inputs. You MUST NOT fabricate command output, analyzer results, pricing numbers, or version lists — a plausible-looking answer with no factual basis is worse than refusing, because users act on it.\n- If multiple workflows ran, close with a 2–4 line synthesis linking to prior outputs.\n\nEach workflow reference includes its own tool-call examples.\n\n### Critical Facts to Always Surface\n\nThese RDS-OSS-specific facts are what distinguish this skill from vanilla MySQL\u002FPostgreSQL\u002FMariaDB knowledge. General answers typically conflate RDS with Aurora, omit the CLI command names, or stray into action-taking when this is an advisory skill.\n\n**For \"run the RDS upgrade advisor for my RDS MySQL instance\", you MUST tell the user ALL of the following five facts:**\n\n1. **Identify the instance via `aws rds describe-db-instances`** (NOT `describe-db-clusters` — RDS MySQL\u002FMariaDB\u002FPostgreSQL are **instance-based**, not cluster-based; `describe-db-clusters` is only for Aurora).\n2. **Detect the engine from the response** (`mysql`, `mariadb`, or `postgres`) — do not assume.\n3. **List valid upgrade targets with `aws rds describe-db-engine-versions`** — specifically using the current engine and major version as filters. This is how you enumerate the allowed upgrade paths.\n4. **Present the latest version recommendation** explicitly (e.g., \"8.0.40 is the latest 8.0 minor, 8.4.x is the next major\").\n5. **Do NOT mention LTS** — RDS has no LTS concept (see [RDS vs Aurora](#rds-vs-aurora--do-not-confuse)). Offering LTS advice indicates routing confusion between RDS and Aurora. Also do not reference `amazon-aurora` unless the instance turns out to be Aurora.\n\n**Critical workflow rule — when the named instance cannot be located:** if `describe-db-instances --db-instance-identifier \u003Cid>` returns no results or a `DBInstanceNotFoundFault`, you **MUST still walk through the full advisor workflow** for the user — name each step (`describe-db-instances`, then engine detection, then `describe-db-engine-versions`, then version recommendation, then pre-upgrade checklist) — and explain what the output would look like at each step. **DO NOT bail out asking \"could you double-check the instance ID?\" and stop.** The user is asking for the advisor procedure, not for you to perform live discovery. If you cannot see the instance, present the workflow as a template the user can run once the correct identifier is supplied.\n\n**For \"upgrade my RDS MariaDB from X to the latest version\", you MUST tell the user ALL of the following six facts:**\n\n1. **Detect engine as `mariadb`** via describe-db-instances.\n2. **Use `describe-db-engine-versions`** (with `--engine mariadb`) to identify target versions, not a hand-maintained list.\n3. **Offer SSM or direct-connection precheck methods** — RDS MariaDB can be prechecked via SSM Run Command on a client host or via direct mysql-client connection.\n4. **DO NOT use RDS Data API — MariaDB does not support the Data API.** This is the classic trap. Data API is only for Aurora Serverless and a subset of clusters, never MariaDB on RDS.\n5. **Run MySQL-compatible precheck queries** from [upgrade-prechecks-mysql.md](references\u002Fupgrade-prechecks-mysql.md) — removed features, reserved keywords, `sql_mode` changes. MariaDB reuses the MySQL precheck set because it's a MySQL fork.\n6. **Decline to execute the upgrade** — advisor only. Recommend a snapshot-and-restore dry-run in a test environment before proceeding. Explicitly say you will not run `modify-db-instance --engine-version`.\n\n**For \"2x db.r7g.2xlarge RDS MySQL 24\u002F7 — buy RI or Savings Plan?\", you MUST tell the user ALL of the following seven facts:**\n\n1. **Run [rds_commitment_pricing_analyzer.py](scripts\u002Frds_commitment_pricing_analyzer.py)** offline with `--instance-type db.r7g.2xlarge --engine mysql --num-instances 2`. Print the exact command as a fenced bash block.\n2. **Present a full comparison table of all five options** — On-Demand, 1yr RI, 3yr RI, 1yr DSP, 3yr DSP — with savings vs on-demand in **both dollars and percentage** for each.\n3. **Recommend 3yr RI** given the stated 2+-year confidence and 24\u002F7 usage.\n4. **Explain that RDS Database Savings Plan covers the r7g family specifically** — DSP coverage is family-scoped, not instance-scoped, which is a key advantage if the user might resize within the family.\n5. **Mention the 3yr lock-in tradeoff** — if workload changes or the family gets superseded, the commitment is not recoverable in full.\n6. **Note that RDS RIs are region-locked** — moving the workload cross-region would forfeit the RI benefit.\n7. **DO NOT include purchase action steps** — no \"Next Steps\" section with purchase directions. No \"go to Console → Reserved Instances → Purchase\". No `aws rds purchase-reserved-db-instances-offering` or `aws savingsplans create-savings-plan` commands. **This is a hard ban.** This skill is advisory-only and MUST NOT guide users toward executing purchases. Say \"When you're ready to purchase, refer to the AWS console or CLI docs.\" and stop there. Do NOT try to be helpful by showing what the purchase command would look like \"for reference.\"\n\n**For \"change a VARCHAR(10) column to INT on RDS MySQL 8.0 via Blue\u002FGreen\", you MUST tell the user ALL of the following seven facts:**\n\n1. **Validate prerequisites first:** `binlog_format=ROW`, automated backups enabled (retention > 0), instance in `available` state.\n2. **Explain why MODIFY COLUMN changing type breaks binlog replication:** Blue\u002FGreen replicates the blue → green by replaying binlog events. A type change produces a **different binary representation** on the two sides, so replication events recorded against VARCHAR can't be applied to an INT column. This is the root cause, not a \"row format\" issue.\n3. **Create the green environment with `aws rds create-blue-green-deployment`** — include the exact CLI command name, not a generic description.\n4. **Let green catch up** via binlog replication before the DDL.\n5. **Apply the schema change on green** (the MODIFY COLUMN DDL) once green has caught up.\n6. **Switch over immediately** with `aws rds switchover-blue-green-deployment` — **do not let green run in parallel with blue after the incompatible DDL**. The schema divergence breaks further replication.\n7. **Verify the schema change on the production endpoint after switchover** and **you MUST pause and ask the user for explicit confirmation before presenting the `switchover-blue-green-deployment` command, even as a suggested step**. Do NOT list switchover as an automatic next step in a sequential workflow — state that the switchover is a destructive action that transfers production traffic, then ask \"Are you ready to switch over? I'll give you the exact CLI command to run when you confirm.\" Only after the user confirms should you emit the `switchover-blue-green-deployment` command.\n\n**For \"we run PgBouncer in transaction mode — would RDS Proxy add anything?\", you MUST tell the user ALL of the following six facts:**\n\n1. **PgBouncer in transaction mode already does aggressive connection multiplexing** — that is the primary value proposition of Proxy. In this scenario the multiplexing benefit is marginal.\n2. **What RDS Proxy adds on top:** managed infrastructure (no EC2 to operate or patch).\n3. **Built-in IAM authentication** — RDS Proxy supports IAM auth natively, which PgBouncer does not out of the box.\n4. **Automatic failover integrated with RDS events** — Proxy reacts to RDS failover events in seconds; PgBouncer needs external health checks and manual reconfiguration.\n5. **Secrets Manager integration for credential rotation** — Proxy can pull credentials from Secrets Manager and rotate without downtime.\n6. **Recommendation:** if PgBouncer is working and none of the above four features are specifically desired, **stay on PgBouncer**. Switch to RDS Proxy only if IAM auth, managed failover, or Secrets-Manager-rotated credentials are specifically needed.\n\n## Security Considerations\n\nAdvisory skill — never modifies **existing** AWS resources. The only write action allowed is `create-db-instance` for new instance provisioning (see [Production Instance Creation](#production-instance-creation)); everything else is read-only. Never handle credentials directly; prefer short-lived credentials.\n\nMinimum IAM permissions required: `AmazonRDSReadOnlyAccess` + `CloudWatchReadOnlyAccess` + scoped `pricing:GetProducts` + `savingsplans:DescribeSavingsPlansOfferingRates`. For instance creation, also `rds:CreateDBInstance` + `rds:AddTagsToResource`, plus `logs:CreateLogGroup` if CloudWatch Logs exports are enabled. SSM prechecks also need `ssm:SendCommand` \u002F `ssm:GetCommandInvocation` on the target bastion.\n\nApply these security practices in all guidance:\n\n1. **Encryption in transit** — enforce TLS on all database connections (`require_secure_transport=ON` for MySQL\u002FMariaDB, `rds.force_ssl=1` for PostgreSQL).\n2. **IAM database authentication** — prefer IAM auth over username\u002Fpassword for application connections where supported, providing short-lived credentials.\n3. **Audit logging** — recommend enabling database audit logging (on RDS MySQL via the MARIADB_AUDIT_PLUGIN in an Option Group, on RDS MariaDB via the built-in server audit parameters such as `server_audit_logging=1`, and the `pgaudit` extension for PostgreSQL) and CloudTrail for API-level audit.\n4. **VPC security** — deploy instances in a private subnet. Security groups should restrict inbound access to specific application CIDR ranges or security group references — never `0.0.0.0\u002F0`.\n5. **Credential rotation** — `--manage-master-user-password` provides automatic rotation via Secrets Manager.\n6. **Monitoring and alarms** — recommend CloudWatch Alarms on security-relevant metrics, such as `DatabaseConnections` spikes (possible credential compromise) and `FreeableMemory` drops (possible resource-exhaustion attack).\n\nDo NOT grant write\u002Fadmin beyond the permissions listed above to work around permission errors. Do NOT store DB passwords in SSM parameters or command text — use Secrets Manager and retrieve the secret inside the command.\n\n## Troubleshooting\n\n**Access denied.** Attach the read-only policies above.\n\n**Expired credentials.** Refresh, or fall back to `--offline` for commitment pricing.\n\n**Timeouts \u002F throttling.** Retry once, then narrow scope. SSM precheck timeouts on large schemas: switch to direct connection or user-runs-script. RDS Data API is not available for standalone RDS.\n\n**Resource not found.** Verify region\u002FID; confirm it's not an Aurora *cluster* (`describe-db-clusters`). Empty RI\u002FDSP offerings — fall back to offline.\n\n**User asks to execute a change.** Advisory skill — modifications to existing resources happen via the AWS console or user-run CLI.\n\n**Aurora question.** Route to `amazon-aurora`. See [RDS vs Aurora](#rds-vs-aurora--do-not-confuse) above.\n\n**Oracle \u002F SQL Server \u002F Db2 question.** Route to `rds-oracle`, `rds-sqlserver`, or `rds-db2`.\n\n## Additional Resources\n\n- [Amazon RDS User Guide](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002F)\n- [RDS pricing](https:\u002F\u002Faws.amazon.com\u002Frds\u002Fpricing\u002F)\n- [RDS MySQL upgrades](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_UpgradeDBInstance.MySQL.html) · [RDS MariaDB upgrades](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_UpgradeDBInstance.MariaDB.html) · [RDS PostgreSQL upgrades](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_UpgradeDBInstance.PostgreSQL.html)\n- [RDS Reserved Instances](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_WorkingWithReservedDBInstances.html) · [Database Savings Plans](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsavingsplans\u002Flatest\u002Fuserguide\u002Fwhat-is-savings-plans.html)\n- [RDS Proxy](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002Frds-proxy.html) · [RDS Blue\u002FGreen Deployments](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002Fblue-green-deployments.html)\n- [RDS Extended Support](https:\u002F\u002Faws.amazon.com\u002Frds\u002Fextended-support\u002F)\n- [RDS Security Best Practices](https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FCHAP_BestPractices.Security.html)\n",{"data":36,"body":38},{"name":4,"version":37,"description":6},1,{"type":39,"children":40},"root",[41,50,57,83,138,143,157,162,168,280,285,290,296,301,491,519,524,529,859,867,1329,1334,1719,1727,1773,1780,1801,1809,1820,1833,1839,1845,1857,1863,1875,1882,1905,1911,1924,1931,2018,2023,2029,2034,2042,2163,2217,2225,2329,2337,2453,2461,2600,2608,2678,2684,2709,2784,2789,2909,2914,2920,2930,2948,2958,2982,2992,3015,3045,3051,3155],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"rds-oss-advisor-mysql-mariadb-postgresql",[47],{"type":48,"value":49},"text","RDS OSS Advisor (MySQL, MariaDB, PostgreSQL)",{"type":42,"tag":51,"props":52,"children":54},"h2",{"id":53},"overview",[55],{"type":48,"value":56},"Overview",{"type":42,"tag":58,"props":59,"children":60},"p",{},[61,63,68,70,75,77,81],{"type":48,"value":62},"Advisor for Amazon RDS on the open-source engines — ",{"type":42,"tag":64,"props":65,"children":66},"strong",{},[67],{"type":48,"value":13},{"type":48,"value":69},", ",{"type":42,"tag":64,"props":71,"children":72},{},[73],{"type":48,"value":74},"MariaDB",{"type":48,"value":76},", and ",{"type":42,"tag":64,"props":78,"children":79},{},[80],{"type":48,"value":20},{"type":48,"value":82},". Five decision areas:",{"type":42,"tag":84,"props":85,"children":86},"ol",{},[87,98,108,118,128],{"type":42,"tag":88,"props":89,"children":90},"li",{},[91,96],{"type":42,"tag":64,"props":92,"children":93},{},[94],{"type":48,"value":95},"Instance creation",{"type":48,"value":97}," — provision production-ready instances with best-practice defaults (latest version, Multi-AZ, encryption, Performance Insights, Secrets Manager password management)",{"type":42,"tag":88,"props":99,"children":100},{},[101,106],{"type":42,"tag":64,"props":102,"children":103},{},[104],{"type":48,"value":105},"Upgrade planning",{"type":48,"value":107}," — identify instance, enumerate targets, run live prechecks, flag plan regressions, surface pre\u002Fpost checklists",{"type":42,"tag":88,"props":109,"children":110},{},[111,116],{"type":42,"tag":64,"props":112,"children":113},{},[114],{"type":48,"value":115},"Commitment pricing",{"type":48,"value":117}," — estimate RI and Database Savings Plan savings for steady workloads",{"type":42,"tag":88,"props":119,"children":120},{},[121,126],{"type":42,"tag":64,"props":122,"children":123},{},[124],{"type":48,"value":125},"RDS Proxy evaluation",{"type":48,"value":127}," — decide whether proxy is worth it, based on connection utilization and pinning risks",{"type":42,"tag":88,"props":129,"children":130},{},[131,136],{"type":42,"tag":64,"props":132,"children":133},{},[134],{"type":48,"value":135},"Blue\u002FGreen deployments",{"type":48,"value":137}," — plan low-downtime DDL or major upgrades, with DDL compatibility analysis",{"type":42,"tag":58,"props":139,"children":140},{},[141],{"type":48,"value":142},"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.",{"type":42,"tag":58,"props":144,"children":145},{},[146,148,155],{"type":48,"value":147},"Scoped to RDS open-source engines. For Aurora, use ",{"type":42,"tag":149,"props":150,"children":152},"code",{"className":151},[],[153],{"type":48,"value":154},"amazon-aurora",{"type":48,"value":156},". For Oracle, SQL Server, Db2, use the engine-specific skills.",{"type":42,"tag":58,"props":158,"children":159},{},[160],{"type":48,"value":161},"The AWS MCP server is recommended for executing commands but is not required; all operations can also be performed via the AWS CLI.",{"type":42,"tag":51,"props":163,"children":165},{"id":164},"decision-guide",[166],{"type":48,"value":167},"Decision Guide",{"type":42,"tag":169,"props":170,"children":171},"table",{},[172,191],{"type":42,"tag":173,"props":174,"children":175},"thead",{},[176],{"type":42,"tag":177,"props":178,"children":179},"tr",{},[180,186],{"type":42,"tag":181,"props":182,"children":183},"th",{},[184],{"type":48,"value":185},"User asks about…",{"type":42,"tag":181,"props":187,"children":188},{},[189],{"type":48,"value":190},"Go to",{"type":42,"tag":192,"props":193,"children":194},"tbody",{},[195,216,232,248,264],{"type":42,"tag":177,"props":196,"children":197},{},[198,204],{"type":42,"tag":199,"props":200,"children":201},"td",{},[202],{"type":48,"value":203},"Create, provision, or set up a new RDS MySQL\u002FMariaDB\u002FPostgreSQL instance",{"type":42,"tag":199,"props":205,"children":206},{},[207,214],{"type":42,"tag":208,"props":209,"children":211},"a",{"href":210},"#production-instance-creation",[212],{"type":48,"value":213},"Production Instance Creation",{"type":48,"value":215}," below",{"type":42,"tag":177,"props":217,"children":218},{},[219,224],{"type":42,"tag":199,"props":220,"children":221},{},[222],{"type":48,"value":223},"Upgrade, target version, pre\u002Fpost-upgrade checklist, upgrade prechecks, Read Replica upgrade order",{"type":42,"tag":199,"props":225,"children":226},{},[227],{"type":42,"tag":208,"props":228,"children":230},{"href":229},"references\u002Fupgrade-workflow.md",[231],{"type":48,"value":229},{"type":42,"tag":177,"props":233,"children":234},{},[235,240],{"type":42,"tag":199,"props":236,"children":237},{},[238],{"type":48,"value":239},"Reserved Instance, RI, Database Savings Plan, DSP, 1yr vs 3yr, Multi-AZ commitment, No\u002FPartial\u002FAll Upfront",{"type":42,"tag":199,"props":241,"children":242},{},[243],{"type":42,"tag":208,"props":244,"children":246},{"href":245},"references\u002Fcommitment-pricing-workflow.md",[247],{"type":48,"value":245},{"type":42,"tag":177,"props":249,"children":250},{},[251,256],{"type":42,"tag":199,"props":252,"children":253},{},[254],{"type":48,"value":255},"RDS Proxy, connection pooling, too many connections, Lambda DB connections, proxy pinning, PgBouncer vs Proxy",{"type":42,"tag":199,"props":257,"children":258},{},[259],{"type":42,"tag":208,"props":260,"children":262},{"href":261},"references\u002Fproxy-advisor-workflow.md",[263],{"type":48,"value":261},{"type":42,"tag":177,"props":265,"children":266},{},[267,272],{"type":42,"tag":199,"props":268,"children":269},{},[270],{"type":48,"value":271},"Blue\u002FGreen, zero-downtime DDL, switchover, schema change with minimal downtime, type change on production",{"type":42,"tag":199,"props":273,"children":274},{},[275],{"type":42,"tag":208,"props":276,"children":278},{"href":277},"references\u002Fbluegreen-advisor-workflow.md",[279],{"type":48,"value":277},{"type":42,"tag":58,"props":281,"children":282},{},[283],{"type":48,"value":284},"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.",{"type":42,"tag":58,"props":286,"children":287},{},[288],{"type":48,"value":289},"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.",{"type":42,"tag":51,"props":291,"children":293},{"id":292},"rds-vs-aurora-do-not-confuse",[294],{"type":48,"value":295},"RDS vs Aurora — Do Not Confuse",{"type":42,"tag":58,"props":297,"children":298},{},[299],{"type":48,"value":300},"RDS open-source engines and Aurora are different products with different semantics. You MUST NOT apply Aurora concepts to RDS:",{"type":42,"tag":169,"props":302,"children":303},{},[304,332],{"type":42,"tag":173,"props":305,"children":306},{},[307],{"type":42,"tag":177,"props":308,"children":309},{},[310,315,320],{"type":42,"tag":181,"props":311,"children":312},{},[313],{"type":48,"value":314},"Concept",{"type":42,"tag":181,"props":316,"children":317},{},[318],{"type":48,"value":319},"RDS (this skill)",{"type":42,"tag":181,"props":321,"children":322},{},[323,325,330],{"type":48,"value":324},"Aurora (use ",{"type":42,"tag":149,"props":326,"children":328},{"className":327},[],[329],{"type":48,"value":154},{"type":48,"value":331},")",{"type":42,"tag":192,"props":333,"children":334},{},[335,353,370,387,405,437,455,473],{"type":42,"tag":177,"props":336,"children":337},{},[338,343,348],{"type":42,"tag":199,"props":339,"children":340},{},[341],{"type":48,"value":342},"LTS releases",{"type":42,"tag":199,"props":344,"children":345},{},[346],{"type":48,"value":347},"❌ Does not exist",{"type":42,"tag":199,"props":349,"children":350},{},[351],{"type":48,"value":352},"✅ Has LTS versions",{"type":42,"tag":177,"props":354,"children":355},{},[356,361,365],{"type":42,"tag":199,"props":357,"children":358},{},[359],{"type":48,"value":360},"Serverless mode",{"type":42,"tag":199,"props":362,"children":363},{},[364],{"type":48,"value":347},{"type":42,"tag":199,"props":366,"children":367},{},[368],{"type":48,"value":369},"✅ Aurora Serverless",{"type":42,"tag":177,"props":371,"children":372},{},[373,378,382],{"type":42,"tag":199,"props":374,"children":375},{},[376],{"type":48,"value":377},"I\u002FO-Optimized storage",{"type":42,"tag":199,"props":379,"children":380},{},[381],{"type":48,"value":347},{"type":42,"tag":199,"props":383,"children":384},{},[385],{"type":48,"value":386},"✅ aurora-iopt1",{"type":42,"tag":177,"props":388,"children":389},{},[390,395,400],{"type":42,"tag":199,"props":391,"children":392},{},[393],{"type":48,"value":394},"Data API",{"type":42,"tag":199,"props":396,"children":397},{},[398],{"type":48,"value":399},"❌ Not available for standalone RDS",{"type":42,"tag":199,"props":401,"children":402},{},[403],{"type":48,"value":404},"✅ Aurora Serverless clusters",{"type":42,"tag":177,"props":406,"children":407},{},[408,413,425],{"type":42,"tag":199,"props":409,"children":410},{},[411],{"type":48,"value":412},"Instance topology",{"type":42,"tag":199,"props":414,"children":415},{},[416,418,424],{"type":48,"value":417},"Instance-based (",{"type":42,"tag":149,"props":419,"children":421},{"className":420},[],[422],{"type":48,"value":423},"describe-db-instances",{"type":48,"value":331},{"type":42,"tag":199,"props":426,"children":427},{},[428,430,436],{"type":48,"value":429},"Cluster-based (",{"type":42,"tag":149,"props":431,"children":433},{"className":432},[],[434],{"type":48,"value":435},"describe-db-clusters",{"type":48,"value":331},{"type":42,"tag":177,"props":438,"children":439},{},[440,445,450],{"type":42,"tag":199,"props":441,"children":442},{},[443],{"type":48,"value":444},"Upgrade scope",{"type":42,"tag":199,"props":446,"children":447},{},[448],{"type":48,"value":449},"Per-instance",{"type":42,"tag":199,"props":451,"children":452},{},[453],{"type":48,"value":454},"Per-cluster (writer + readers together)",{"type":42,"tag":177,"props":456,"children":457},{},[458,463,468],{"type":42,"tag":199,"props":459,"children":460},{},[461],{"type":48,"value":462},"DSP term options",{"type":42,"tag":199,"props":464,"children":465},{},[466],{"type":48,"value":467},"1yr and 3yr",{"type":42,"tag":199,"props":469,"children":470},{},[471],{"type":48,"value":472},"1yr only",{"type":42,"tag":177,"props":474,"children":475},{},[476,481,486],{"type":42,"tag":199,"props":477,"children":478},{},[479],{"type":48,"value":480},"Pricing model",{"type":42,"tag":199,"props":482,"children":483},{},[484],{"type":48,"value":485},"On-Demand + RI + DSP",{"type":42,"tag":199,"props":487,"children":488},{},[489],{"type":48,"value":490},"On-Demand + RI + DSP + I\u002FO pricing",{"type":42,"tag":58,"props":492,"children":493},{},[494,496,501,503,509,511,517],{"type":48,"value":495},"If a user asks about any Aurora-specific concept, route to ",{"type":42,"tag":149,"props":497,"children":499},{"className":498},[],[500],{"type":48,"value":154},{"type":48,"value":502},". If an instance turns out to be Aurora (engine = ",{"type":42,"tag":149,"props":504,"children":506},{"className":505},[],[507],{"type":48,"value":508},"aurora-mysql",{"type":48,"value":510}," or ",{"type":42,"tag":149,"props":512,"children":514},{"className":513},[],[515],{"type":48,"value":516},"aurora-postgresql",{"type":48,"value":518},"), stop and redirect.",{"type":42,"tag":51,"props":520,"children":522},{"id":521},"production-instance-creation",[523],{"type":48,"value":213},{"type":42,"tag":58,"props":525,"children":526},{},[527],{"type":48,"value":528},"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:",{"type":42,"tag":84,"props":530,"children":531},{},[532,560,578,595,612,629,654,670,717,742,759,776,802],{"type":42,"tag":88,"props":533,"children":534},{},[535,540,542,548,550,558],{"type":42,"tag":64,"props":536,"children":537},{},[538],{"type":48,"value":539},"Use the latest stable major version",{"type":48,"value":541}," — run ",{"type":42,"tag":149,"props":543,"children":545},{"className":544},[],[546],{"type":48,"value":547},"aws rds describe-db-engine-versions --engine \u003Cengine> --query \"DBEngineVersions[].EngineVersion\"",{"type":48,"value":549}," 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 ",{"type":42,"tag":208,"props":551,"children":555},{"href":552,"rel":553},"https:\u002F\u002Faws.amazon.com\u002Frds\u002Fextended-support\u002F",[554],"nofollow",[556],{"type":48,"value":557},"RDS Extended Support",{"type":48,"value":559}," for dates). For PostgreSQL, use the latest major. For MariaDB, use the latest major.",{"type":42,"tag":88,"props":561,"children":562},{},[563,568,570,576],{"type":42,"tag":64,"props":564,"children":565},{},[566],{"type":48,"value":567},"Enable Multi-AZ",{"type":48,"value":569}," — set ",{"type":42,"tag":149,"props":571,"children":573},{"className":572},[],[574],{"type":48,"value":575},"--multi-az",{"type":48,"value":577}," for automatic failover.",{"type":42,"tag":88,"props":579,"children":580},{},[581,586,587,593],{"type":42,"tag":64,"props":582,"children":583},{},[584],{"type":48,"value":585},"Enable storage encryption using a customer-managed KMS key",{"type":48,"value":569},{"type":42,"tag":149,"props":588,"children":590},{"className":589},[],[591],{"type":48,"value":592},"--storage-encrypted --kms-key-id \u003Ckey-arn>",{"type":48,"value":594},". A customer-managed key gives full control over key rotation, access policies, and cross-account sharing.",{"type":42,"tag":88,"props":596,"children":597},{},[598,603,604,610],{"type":42,"tag":64,"props":599,"children":600},{},[601],{"type":48,"value":602},"Disable public access",{"type":48,"value":569},{"type":42,"tag":149,"props":605,"children":607},{"className":606},[],[608],{"type":48,"value":609},"--no-publicly-accessible",{"type":48,"value":611}," to ensure the instance is not accessible from the internet.",{"type":42,"tag":88,"props":613,"children":614},{},[615,620,621,627],{"type":42,"tag":64,"props":616,"children":617},{},[618],{"type":48,"value":619},"Set backup retention to 7 days",{"type":48,"value":569},{"type":42,"tag":149,"props":622,"children":624},{"className":623},[],[625],{"type":48,"value":626},"--backup-retention-period 7",{"type":48,"value":628},".",{"type":42,"tag":88,"props":630,"children":631},{},[632,637,638,644,646,652],{"type":42,"tag":64,"props":633,"children":634},{},[635],{"type":48,"value":636},"Enable Performance Insights with 7-day retention",{"type":48,"value":569},{"type":42,"tag":149,"props":639,"children":641},{"className":640},[],[642],{"type":48,"value":643},"--enable-performance-insights --performance-insights-retention-period 7",{"type":48,"value":645},". If Performance Insights captures queries containing sensitive data (e.g., literal values in WHERE clauses), specify ",{"type":42,"tag":149,"props":647,"children":649},{"className":648},[],[650],{"type":48,"value":651},"--performance-insights-kms-key-id \u003Ckey-arn>",{"type":48,"value":653}," to encrypt at rest with a customer-managed KMS key.",{"type":42,"tag":88,"props":655,"children":656},{},[657,662,663,669],{"type":42,"tag":64,"props":658,"children":659},{},[660],{"type":48,"value":661},"Enable deletion protection",{"type":48,"value":569},{"type":42,"tag":149,"props":664,"children":666},{"className":665},[],[667],{"type":48,"value":668},"--deletion-protection",{"type":48,"value":628},{"type":42,"tag":88,"props":671,"children":672},{},[673,678,680,686,687,692,693,699,701,707,709,715],{"type":42,"tag":64,"props":674,"children":675},{},[676],{"type":48,"value":677},"Avoid default master usernames",{"type":48,"value":679}," — do NOT use well-known names like ",{"type":42,"tag":149,"props":681,"children":683},{"className":682},[],[684],{"type":48,"value":685},"admin",{"type":48,"value":69},{"type":42,"tag":149,"props":688,"children":690},{"className":689},[],[691],{"type":48,"value":39},{"type":48,"value":69},{"type":42,"tag":149,"props":694,"children":696},{"className":695},[],[697],{"type":48,"value":698},"postgres",{"type":48,"value":700},", or ",{"type":42,"tag":149,"props":702,"children":704},{"className":703},[],[705],{"type":48,"value":706},"master",{"type":48,"value":708},", which make credential-guessing attacks easier. Choose a custom ",{"type":42,"tag":149,"props":710,"children":712},{"className":711},[],[713],{"type":48,"value":714},"--master-username",{"type":48,"value":716}," (e.g., an application- or team-specific name).",{"type":42,"tag":88,"props":718,"children":719},{},[720,725,726,732,734,740],{"type":42,"tag":64,"props":721,"children":722},{},[723],{"type":48,"value":724},"Manage master password via Secrets Manager",{"type":48,"value":569},{"type":42,"tag":149,"props":727,"children":729},{"className":728},[],[730],{"type":48,"value":731},"--manage-master-user-password",{"type":48,"value":733}," instead of providing a plaintext ",{"type":42,"tag":149,"props":735,"children":737},{"className":736},[],[738],{"type":48,"value":739},"--master-user-password",{"type":48,"value":741},". This creates and rotates the password automatically in Secrets Manager. Do NOT accept or use a plaintext password for production instances.",{"type":42,"tag":88,"props":743,"children":744},{},[745,750,751,757],{"type":42,"tag":64,"props":746,"children":747},{},[748],{"type":48,"value":749},"Use gp3 storage",{"type":48,"value":569},{"type":42,"tag":149,"props":752,"children":754},{"className":753},[],[755],{"type":48,"value":756},"--storage-type gp3",{"type":48,"value":758},". It's cheaper and faster than gp2 with no minimum IOPS purchase.",{"type":42,"tag":88,"props":760,"children":761},{},[762,767,768,774],{"type":42,"tag":64,"props":763,"children":764},{},[765],{"type":48,"value":766},"Tag the instance so customers can identify resources created via this skill",{"type":48,"value":569},{"type":42,"tag":149,"props":769,"children":771},{"className":770},[],[772],{"type":48,"value":773},"--tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value={your-model-id}",{"type":48,"value":775}," (see Resource tagging below).",{"type":42,"tag":88,"props":777,"children":778},{},[779,784,786,792,794,800],{"type":42,"tag":64,"props":780,"children":781},{},[782],{"type":48,"value":783},"Enforce TLS for connections in transit",{"type":48,"value":785}," — create or modify the DB parameter group to require encrypted connections: ",{"type":42,"tag":149,"props":787,"children":789},{"className":788},[],[790],{"type":48,"value":791},"require_secure_transport=ON",{"type":48,"value":793}," for MySQL\u002FMariaDB, ",{"type":42,"tag":149,"props":795,"children":797},{"className":796},[],[798],{"type":48,"value":799},"rds.force_ssl=1",{"type":48,"value":801}," for PostgreSQL.",{"type":42,"tag":88,"props":803,"children":804},{},[805,810,811,817,819,825,827,833,835,841,843,849,851,857],{"type":42,"tag":64,"props":806,"children":807},{},[808],{"type":48,"value":809},"Export database logs to CloudWatch Logs and encrypt with KMS",{"type":48,"value":569},{"type":42,"tag":149,"props":812,"children":814},{"className":813},[],[815],{"type":48,"value":816},"--enable-cloudwatch-logs-exports",{"type":48,"value":818}," so database-level security events (failed logins, suspicious queries) are centrally visible. Use ",{"type":42,"tag":149,"props":820,"children":822},{"className":821},[],[823],{"type":48,"value":824},"[\"error\",\"slowquery\",\"audit\"]",{"type":48,"value":826}," for MySQL\u002FMariaDB (note: the ",{"type":42,"tag":149,"props":828,"children":830},{"className":829},[],[831],{"type":48,"value":832},"audit",{"type":48,"value":834}," stream 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 as ",{"type":42,"tag":149,"props":836,"children":838},{"className":837},[],[839],{"type":48,"value":840},"server_audit_logging=1",{"type":48,"value":842}," in a parameter group) and ",{"type":42,"tag":149,"props":844,"children":846},{"className":845},[],[847],{"type":48,"value":848},"[\"postgresql\"]",{"type":48,"value":850}," for PostgreSQL. Database logs can contain SQL with literal values and usernames, so you MUST configure a KMS key on the resulting ",{"type":42,"tag":149,"props":852,"children":854},{"className":853},[],[855],{"type":48,"value":856},"\u002Faws\u002Frds\u002Finstance\u002F\u003Cname>\u002F*",{"type":48,"value":858}," log groups to protect sensitive data at rest.",{"type":42,"tag":58,"props":860,"children":861},{},[862],{"type":42,"tag":64,"props":863,"children":864},{},[865],{"type":48,"value":866},"Example CLI (MySQL 8.4, production-ready):",{"type":42,"tag":868,"props":869,"children":874},"pre",{"className":870,"code":871,"language":872,"meta":873,"style":873},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","aws rds create-db-instance \\\n  --db-instance-identifier \u003Cname> \\\n  --engine mysql \\\n  --engine-version 8.4 \\\n  --db-instance-class \u003Cclass> \\\n  --allocated-storage 100 \\\n  --storage-type gp3 \\\n  --storage-encrypted \\\n  --kms-key-id \u003Ckms-key-arn> \\\n  --no-publicly-accessible \\\n  --multi-az \\\n  --manage-master-user-password \\\n  --master-username \u003Ccustom-non-default-username> \\\n  --backup-retention-period 7 \\\n  --enable-performance-insights \\\n  --performance-insights-retention-period 7 \\\n  --performance-insights-kms-key-id \u003Ckms-key-arn> \\\n  --deletion-protection \\\n  --enable-cloudwatch-logs-exports '[\"error\",\"slowquery\",\"audit\"]' \\\n  --tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value=\u003Cyour-model-id> \\\n  --region us-east-1\n","bash","",[875],{"type":42,"tag":149,"props":876,"children":877},{"__ignoreMap":873},[878,905,939,957,976,1007,1025,1043,1056,1087,1100,1113,1126,1156,1174,1187,1204,1233,1246,1273,1315],{"type":42,"tag":879,"props":880,"children":882},"span",{"class":881,"line":37},"line",[883,888,894,899],{"type":42,"tag":879,"props":884,"children":886},{"style":885},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[887],{"type":48,"value":8},{"type":42,"tag":879,"props":889,"children":891},{"style":890},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[892],{"type":48,"value":893}," rds",{"type":42,"tag":879,"props":895,"children":896},{"style":890},[897],{"type":48,"value":898}," create-db-instance",{"type":42,"tag":879,"props":900,"children":902},{"style":901},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[903],{"type":48,"value":904}," \\\n",{"type":42,"tag":879,"props":906,"children":908},{"class":881,"line":907},2,[909,914,920,925,930,935],{"type":42,"tag":879,"props":910,"children":911},{"style":890},[912],{"type":48,"value":913},"  --db-instance-identifier",{"type":42,"tag":879,"props":915,"children":917},{"style":916},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[918],{"type":48,"value":919}," \u003C",{"type":42,"tag":879,"props":921,"children":922},{"style":890},[923],{"type":48,"value":924},"nam",{"type":42,"tag":879,"props":926,"children":927},{"style":901},[928],{"type":48,"value":929},"e",{"type":42,"tag":879,"props":931,"children":932},{"style":916},[933],{"type":48,"value":934},">",{"type":42,"tag":879,"props":936,"children":937},{"style":901},[938],{"type":48,"value":904},{"type":42,"tag":879,"props":940,"children":942},{"class":881,"line":941},3,[943,948,953],{"type":42,"tag":879,"props":944,"children":945},{"style":890},[946],{"type":48,"value":947},"  --engine",{"type":42,"tag":879,"props":949,"children":950},{"style":890},[951],{"type":48,"value":952}," mysql",{"type":42,"tag":879,"props":954,"children":955},{"style":901},[956],{"type":48,"value":904},{"type":42,"tag":879,"props":958,"children":960},{"class":881,"line":959},4,[961,966,972],{"type":42,"tag":879,"props":962,"children":963},{"style":890},[964],{"type":48,"value":965},"  --engine-version",{"type":42,"tag":879,"props":967,"children":969},{"style":968},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[970],{"type":48,"value":971}," 8.4",{"type":42,"tag":879,"props":973,"children":974},{"style":901},[975],{"type":48,"value":904},{"type":42,"tag":879,"props":977,"children":979},{"class":881,"line":978},5,[980,985,989,994,999,1003],{"type":42,"tag":879,"props":981,"children":982},{"style":890},[983],{"type":48,"value":984},"  --db-instance-class",{"type":42,"tag":879,"props":986,"children":987},{"style":916},[988],{"type":48,"value":919},{"type":42,"tag":879,"props":990,"children":991},{"style":890},[992],{"type":48,"value":993},"clas",{"type":42,"tag":879,"props":995,"children":996},{"style":901},[997],{"type":48,"value":998},"s",{"type":42,"tag":879,"props":1000,"children":1001},{"style":916},[1002],{"type":48,"value":934},{"type":42,"tag":879,"props":1004,"children":1005},{"style":901},[1006],{"type":48,"value":904},{"type":42,"tag":879,"props":1008,"children":1010},{"class":881,"line":1009},6,[1011,1016,1021],{"type":42,"tag":879,"props":1012,"children":1013},{"style":890},[1014],{"type":48,"value":1015},"  --allocated-storage",{"type":42,"tag":879,"props":1017,"children":1018},{"style":968},[1019],{"type":48,"value":1020}," 100",{"type":42,"tag":879,"props":1022,"children":1023},{"style":901},[1024],{"type":48,"value":904},{"type":42,"tag":879,"props":1026,"children":1028},{"class":881,"line":1027},7,[1029,1034,1039],{"type":42,"tag":879,"props":1030,"children":1031},{"style":890},[1032],{"type":48,"value":1033},"  --storage-type",{"type":42,"tag":879,"props":1035,"children":1036},{"style":890},[1037],{"type":48,"value":1038}," gp3",{"type":42,"tag":879,"props":1040,"children":1041},{"style":901},[1042],{"type":48,"value":904},{"type":42,"tag":879,"props":1044,"children":1046},{"class":881,"line":1045},8,[1047,1052],{"type":42,"tag":879,"props":1048,"children":1049},{"style":890},[1050],{"type":48,"value":1051},"  --storage-encrypted",{"type":42,"tag":879,"props":1053,"children":1054},{"style":901},[1055],{"type":48,"value":904},{"type":42,"tag":879,"props":1057,"children":1059},{"class":881,"line":1058},9,[1060,1065,1069,1074,1079,1083],{"type":42,"tag":879,"props":1061,"children":1062},{"style":890},[1063],{"type":48,"value":1064},"  --kms-key-id",{"type":42,"tag":879,"props":1066,"children":1067},{"style":916},[1068],{"type":48,"value":919},{"type":42,"tag":879,"props":1070,"children":1071},{"style":890},[1072],{"type":48,"value":1073},"kms-key-ar",{"type":42,"tag":879,"props":1075,"children":1076},{"style":901},[1077],{"type":48,"value":1078},"n",{"type":42,"tag":879,"props":1080,"children":1081},{"style":916},[1082],{"type":48,"value":934},{"type":42,"tag":879,"props":1084,"children":1085},{"style":901},[1086],{"type":48,"value":904},{"type":42,"tag":879,"props":1088,"children":1090},{"class":881,"line":1089},10,[1091,1096],{"type":42,"tag":879,"props":1092,"children":1093},{"style":890},[1094],{"type":48,"value":1095},"  --no-publicly-accessible",{"type":42,"tag":879,"props":1097,"children":1098},{"style":901},[1099],{"type":48,"value":904},{"type":42,"tag":879,"props":1101,"children":1103},{"class":881,"line":1102},11,[1104,1109],{"type":42,"tag":879,"props":1105,"children":1106},{"style":890},[1107],{"type":48,"value":1108},"  --multi-az",{"type":42,"tag":879,"props":1110,"children":1111},{"style":901},[1112],{"type":48,"value":904},{"type":42,"tag":879,"props":1114,"children":1116},{"class":881,"line":1115},12,[1117,1122],{"type":42,"tag":879,"props":1118,"children":1119},{"style":890},[1120],{"type":48,"value":1121},"  --manage-master-user-password",{"type":42,"tag":879,"props":1123,"children":1124},{"style":901},[1125],{"type":48,"value":904},{"type":42,"tag":879,"props":1127,"children":1129},{"class":881,"line":1128},13,[1130,1135,1139,1144,1148,1152],{"type":42,"tag":879,"props":1131,"children":1132},{"style":890},[1133],{"type":48,"value":1134},"  --master-username",{"type":42,"tag":879,"props":1136,"children":1137},{"style":916},[1138],{"type":48,"value":919},{"type":42,"tag":879,"props":1140,"children":1141},{"style":890},[1142],{"type":48,"value":1143},"custom-non-default-usernam",{"type":42,"tag":879,"props":1145,"children":1146},{"style":901},[1147],{"type":48,"value":929},{"type":42,"tag":879,"props":1149,"children":1150},{"style":916},[1151],{"type":48,"value":934},{"type":42,"tag":879,"props":1153,"children":1154},{"style":901},[1155],{"type":48,"value":904},{"type":42,"tag":879,"props":1157,"children":1159},{"class":881,"line":1158},14,[1160,1165,1170],{"type":42,"tag":879,"props":1161,"children":1162},{"style":890},[1163],{"type":48,"value":1164},"  --backup-retention-period",{"type":42,"tag":879,"props":1166,"children":1167},{"style":968},[1168],{"type":48,"value":1169}," 7",{"type":42,"tag":879,"props":1171,"children":1172},{"style":901},[1173],{"type":48,"value":904},{"type":42,"tag":879,"props":1175,"children":1177},{"class":881,"line":1176},15,[1178,1183],{"type":42,"tag":879,"props":1179,"children":1180},{"style":890},[1181],{"type":48,"value":1182},"  --enable-performance-insights",{"type":42,"tag":879,"props":1184,"children":1185},{"style":901},[1186],{"type":48,"value":904},{"type":42,"tag":879,"props":1188,"children":1190},{"class":881,"line":1189},16,[1191,1196,1200],{"type":42,"tag":879,"props":1192,"children":1193},{"style":890},[1194],{"type":48,"value":1195},"  --performance-insights-retention-period",{"type":42,"tag":879,"props":1197,"children":1198},{"style":968},[1199],{"type":48,"value":1169},{"type":42,"tag":879,"props":1201,"children":1202},{"style":901},[1203],{"type":48,"value":904},{"type":42,"tag":879,"props":1205,"children":1207},{"class":881,"line":1206},17,[1208,1213,1217,1221,1225,1229],{"type":42,"tag":879,"props":1209,"children":1210},{"style":890},[1211],{"type":48,"value":1212},"  --performance-insights-kms-key-id",{"type":42,"tag":879,"props":1214,"children":1215},{"style":916},[1216],{"type":48,"value":919},{"type":42,"tag":879,"props":1218,"children":1219},{"style":890},[1220],{"type":48,"value":1073},{"type":42,"tag":879,"props":1222,"children":1223},{"style":901},[1224],{"type":48,"value":1078},{"type":42,"tag":879,"props":1226,"children":1227},{"style":916},[1228],{"type":48,"value":934},{"type":42,"tag":879,"props":1230,"children":1231},{"style":901},[1232],{"type":48,"value":904},{"type":42,"tag":879,"props":1234,"children":1236},{"class":881,"line":1235},18,[1237,1242],{"type":42,"tag":879,"props":1238,"children":1239},{"style":890},[1240],{"type":48,"value":1241},"  --deletion-protection",{"type":42,"tag":879,"props":1243,"children":1244},{"style":901},[1245],{"type":48,"value":904},{"type":42,"tag":879,"props":1247,"children":1249},{"class":881,"line":1248},19,[1250,1255,1260,1264,1269],{"type":42,"tag":879,"props":1251,"children":1252},{"style":890},[1253],{"type":48,"value":1254},"  --enable-cloudwatch-logs-exports",{"type":42,"tag":879,"props":1256,"children":1257},{"style":916},[1258],{"type":48,"value":1259}," '",{"type":42,"tag":879,"props":1261,"children":1262},{"style":890},[1263],{"type":48,"value":824},{"type":42,"tag":879,"props":1265,"children":1266},{"style":916},[1267],{"type":48,"value":1268},"'",{"type":42,"tag":879,"props":1270,"children":1271},{"style":901},[1272],{"type":48,"value":904},{"type":42,"tag":879,"props":1274,"children":1276},{"class":881,"line":1275},20,[1277,1282,1287,1292,1297,1302,1307,1311],{"type":42,"tag":879,"props":1278,"children":1279},{"style":890},[1280],{"type":48,"value":1281},"  --tags",{"type":42,"tag":879,"props":1283,"children":1284},{"style":890},[1285],{"type":48,"value":1286}," Key=created_by,Value=rds-oss-skill",{"type":42,"tag":879,"props":1288,"children":1289},{"style":890},[1290],{"type":48,"value":1291}," Key=generation_model,Value=",{"type":42,"tag":879,"props":1293,"children":1294},{"style":916},[1295],{"type":48,"value":1296},"\u003C",{"type":42,"tag":879,"props":1298,"children":1299},{"style":890},[1300],{"type":48,"value":1301},"your-model-i",{"type":42,"tag":879,"props":1303,"children":1304},{"style":901},[1305],{"type":48,"value":1306},"d",{"type":42,"tag":879,"props":1308,"children":1309},{"style":916},[1310],{"type":48,"value":934},{"type":42,"tag":879,"props":1312,"children":1313},{"style":901},[1314],{"type":48,"value":904},{"type":42,"tag":879,"props":1316,"children":1318},{"class":881,"line":1317},21,[1319,1324],{"type":42,"tag":879,"props":1320,"children":1321},{"style":890},[1322],{"type":48,"value":1323},"  --region",{"type":42,"tag":879,"props":1325,"children":1326},{"style":890},[1327],{"type":48,"value":1328}," us-east-1\n",{"type":42,"tag":58,"props":1330,"children":1331},{},[1332],{"type":48,"value":1333},"After instance creation, run the following commands to configure TLS enforcement and log group encryption (these are user-executed steps that the skill presents but does not invoke directly):",{"type":42,"tag":868,"props":1335,"children":1337},{"className":870,"code":1336,"language":872,"meta":873,"style":873},"# Create a custom parameter group with TLS enforcement (MySQL example)\naws rds create-db-parameter-group --db-parameter-group-family mysql8.4 \\\n  --db-parameter-group-name \u003Cname>-tls --description \"TLS enforced\"\naws rds modify-db-parameter-group --db-parameter-group-name \u003Cname>-tls \\\n  --parameters \"ParameterName=require_secure_transport,ParameterValue=ON,ApplyMethod=pending-reboot\"\naws rds modify-db-instance --db-instance-identifier \u003Cname> \\\n  --db-parameter-group-name \u003Cname>-tls --apply-immediately\n\n# Encrypt CloudWatch Logs log groups with KMS\naws logs associate-kms-key --log-group-name \u002Faws\u002Frds\u002Finstance\u002F\u003Cname>\u002Ferror --kms-key-id \u003Ckms-key-arn>\naws logs associate-kms-key --log-group-name \u002Faws\u002Frds\u002Finstance\u002F\u003Cname>\u002Fslowquery --kms-key-id \u003Ckms-key-arn>\n",[1338],{"type":42,"tag":149,"props":1339,"children":1340},{"__ignoreMap":873},[1341,1350,1380,1429,1474,1495,1536,1568,1577,1585,1655],{"type":42,"tag":879,"props":1342,"children":1343},{"class":881,"line":37},[1344],{"type":42,"tag":879,"props":1345,"children":1347},{"style":1346},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1348],{"type":48,"value":1349},"# Create a custom parameter group with TLS enforcement (MySQL example)\n",{"type":42,"tag":879,"props":1351,"children":1352},{"class":881,"line":907},[1353,1357,1361,1366,1371,1376],{"type":42,"tag":879,"props":1354,"children":1355},{"style":885},[1356],{"type":48,"value":8},{"type":42,"tag":879,"props":1358,"children":1359},{"style":890},[1360],{"type":48,"value":893},{"type":42,"tag":879,"props":1362,"children":1363},{"style":890},[1364],{"type":48,"value":1365}," create-db-parameter-group",{"type":42,"tag":879,"props":1367,"children":1368},{"style":890},[1369],{"type":48,"value":1370}," --db-parameter-group-family",{"type":42,"tag":879,"props":1372,"children":1373},{"style":890},[1374],{"type":48,"value":1375}," mysql8.4",{"type":42,"tag":879,"props":1377,"children":1378},{"style":901},[1379],{"type":48,"value":904},{"type":42,"tag":879,"props":1381,"children":1382},{"class":881,"line":941},[1383,1388,1392,1396,1400,1404,1409,1414,1419,1424],{"type":42,"tag":879,"props":1384,"children":1385},{"style":890},[1386],{"type":48,"value":1387},"  --db-parameter-group-name",{"type":42,"tag":879,"props":1389,"children":1390},{"style":916},[1391],{"type":48,"value":919},{"type":42,"tag":879,"props":1393,"children":1394},{"style":890},[1395],{"type":48,"value":924},{"type":42,"tag":879,"props":1397,"children":1398},{"style":901},[1399],{"type":48,"value":929},{"type":42,"tag":879,"props":1401,"children":1402},{"style":916},[1403],{"type":48,"value":934},{"type":42,"tag":879,"props":1405,"children":1406},{"style":890},[1407],{"type":48,"value":1408},"-tls",{"type":42,"tag":879,"props":1410,"children":1411},{"style":890},[1412],{"type":48,"value":1413}," --description",{"type":42,"tag":879,"props":1415,"children":1416},{"style":916},[1417],{"type":48,"value":1418}," \"",{"type":42,"tag":879,"props":1420,"children":1421},{"style":890},[1422],{"type":48,"value":1423},"TLS enforced",{"type":42,"tag":879,"props":1425,"children":1426},{"style":916},[1427],{"type":48,"value":1428},"\"\n",{"type":42,"tag":879,"props":1430,"children":1431},{"class":881,"line":959},[1432,1436,1440,1445,1450,1454,1458,1462,1466,1470],{"type":42,"tag":879,"props":1433,"children":1434},{"style":885},[1435],{"type":48,"value":8},{"type":42,"tag":879,"props":1437,"children":1438},{"style":890},[1439],{"type":48,"value":893},{"type":42,"tag":879,"props":1441,"children":1442},{"style":890},[1443],{"type":48,"value":1444}," modify-db-parameter-group",{"type":42,"tag":879,"props":1446,"children":1447},{"style":890},[1448],{"type":48,"value":1449}," --db-parameter-group-name",{"type":42,"tag":879,"props":1451,"children":1452},{"style":916},[1453],{"type":48,"value":919},{"type":42,"tag":879,"props":1455,"children":1456},{"style":890},[1457],{"type":48,"value":924},{"type":42,"tag":879,"props":1459,"children":1460},{"style":901},[1461],{"type":48,"value":929},{"type":42,"tag":879,"props":1463,"children":1464},{"style":916},[1465],{"type":48,"value":934},{"type":42,"tag":879,"props":1467,"children":1468},{"style":890},[1469],{"type":48,"value":1408},{"type":42,"tag":879,"props":1471,"children":1472},{"style":901},[1473],{"type":48,"value":904},{"type":42,"tag":879,"props":1475,"children":1476},{"class":881,"line":978},[1477,1482,1486,1491],{"type":42,"tag":879,"props":1478,"children":1479},{"style":890},[1480],{"type":48,"value":1481},"  --parameters",{"type":42,"tag":879,"props":1483,"children":1484},{"style":916},[1485],{"type":48,"value":1418},{"type":42,"tag":879,"props":1487,"children":1488},{"style":890},[1489],{"type":48,"value":1490},"ParameterName=require_secure_transport,ParameterValue=ON,ApplyMethod=pending-reboot",{"type":42,"tag":879,"props":1492,"children":1493},{"style":916},[1494],{"type":48,"value":1428},{"type":42,"tag":879,"props":1496,"children":1497},{"class":881,"line":1009},[1498,1502,1506,1511,1516,1520,1524,1528,1532],{"type":42,"tag":879,"props":1499,"children":1500},{"style":885},[1501],{"type":48,"value":8},{"type":42,"tag":879,"props":1503,"children":1504},{"style":890},[1505],{"type":48,"value":893},{"type":42,"tag":879,"props":1507,"children":1508},{"style":890},[1509],{"type":48,"value":1510}," modify-db-instance",{"type":42,"tag":879,"props":1512,"children":1513},{"style":890},[1514],{"type":48,"value":1515}," --db-instance-identifier",{"type":42,"tag":879,"props":1517,"children":1518},{"style":916},[1519],{"type":48,"value":919},{"type":42,"tag":879,"props":1521,"children":1522},{"style":890},[1523],{"type":48,"value":924},{"type":42,"tag":879,"props":1525,"children":1526},{"style":901},[1527],{"type":48,"value":929},{"type":42,"tag":879,"props":1529,"children":1530},{"style":916},[1531],{"type":48,"value":934},{"type":42,"tag":879,"props":1533,"children":1534},{"style":901},[1535],{"type":48,"value":904},{"type":42,"tag":879,"props":1537,"children":1538},{"class":881,"line":1027},[1539,1543,1547,1551,1555,1559,1563],{"type":42,"tag":879,"props":1540,"children":1541},{"style":890},[1542],{"type":48,"value":1387},{"type":42,"tag":879,"props":1544,"children":1545},{"style":916},[1546],{"type":48,"value":919},{"type":42,"tag":879,"props":1548,"children":1549},{"style":890},[1550],{"type":48,"value":924},{"type":42,"tag":879,"props":1552,"children":1553},{"style":901},[1554],{"type":48,"value":929},{"type":42,"tag":879,"props":1556,"children":1557},{"style":916},[1558],{"type":48,"value":934},{"type":42,"tag":879,"props":1560,"children":1561},{"style":890},[1562],{"type":48,"value":1408},{"type":42,"tag":879,"props":1564,"children":1565},{"style":890},[1566],{"type":48,"value":1567}," --apply-immediately\n",{"type":42,"tag":879,"props":1569,"children":1570},{"class":881,"line":1045},[1571],{"type":42,"tag":879,"props":1572,"children":1574},{"emptyLinePlaceholder":1573},true,[1575],{"type":48,"value":1576},"\n",{"type":42,"tag":879,"props":1578,"children":1579},{"class":881,"line":1058},[1580],{"type":42,"tag":879,"props":1581,"children":1582},{"style":1346},[1583],{"type":48,"value":1584},"# Encrypt CloudWatch Logs log groups with KMS\n",{"type":42,"tag":879,"props":1586,"children":1587},{"class":881,"line":1089},[1588,1592,1597,1602,1607,1612,1616,1620,1624,1628,1633,1638,1642,1646,1650],{"type":42,"tag":879,"props":1589,"children":1590},{"style":885},[1591],{"type":48,"value":8},{"type":42,"tag":879,"props":1593,"children":1594},{"style":890},[1595],{"type":48,"value":1596}," logs",{"type":42,"tag":879,"props":1598,"children":1599},{"style":890},[1600],{"type":48,"value":1601}," associate-kms-key",{"type":42,"tag":879,"props":1603,"children":1604},{"style":890},[1605],{"type":48,"value":1606}," --log-group-name",{"type":42,"tag":879,"props":1608,"children":1609},{"style":890},[1610],{"type":48,"value":1611}," \u002Faws\u002Frds\u002Finstance\u002F",{"type":42,"tag":879,"props":1613,"children":1614},{"style":916},[1615],{"type":48,"value":1296},{"type":42,"tag":879,"props":1617,"children":1618},{"style":890},[1619],{"type":48,"value":924},{"type":42,"tag":879,"props":1621,"children":1622},{"style":901},[1623],{"type":48,"value":929},{"type":42,"tag":879,"props":1625,"children":1626},{"style":916},[1627],{"type":48,"value":934},{"type":42,"tag":879,"props":1629,"children":1630},{"style":890},[1631],{"type":48,"value":1632},"\u002Ferror",{"type":42,"tag":879,"props":1634,"children":1635},{"style":890},[1636],{"type":48,"value":1637}," --kms-key-id",{"type":42,"tag":879,"props":1639,"children":1640},{"style":916},[1641],{"type":48,"value":919},{"type":42,"tag":879,"props":1643,"children":1644},{"style":890},[1645],{"type":48,"value":1073},{"type":42,"tag":879,"props":1647,"children":1648},{"style":901},[1649],{"type":48,"value":1078},{"type":42,"tag":879,"props":1651,"children":1652},{"style":916},[1653],{"type":48,"value":1654},">\n",{"type":42,"tag":879,"props":1656,"children":1657},{"class":881,"line":1102},[1658,1662,1666,1670,1674,1678,1682,1686,1690,1694,1699,1703,1707,1711,1715],{"type":42,"tag":879,"props":1659,"children":1660},{"style":885},[1661],{"type":48,"value":8},{"type":42,"tag":879,"props":1663,"children":1664},{"style":890},[1665],{"type":48,"value":1596},{"type":42,"tag":879,"props":1667,"children":1668},{"style":890},[1669],{"type":48,"value":1601},{"type":42,"tag":879,"props":1671,"children":1672},{"style":890},[1673],{"type":48,"value":1606},{"type":42,"tag":879,"props":1675,"children":1676},{"style":890},[1677],{"type":48,"value":1611},{"type":42,"tag":879,"props":1679,"children":1680},{"style":916},[1681],{"type":48,"value":1296},{"type":42,"tag":879,"props":1683,"children":1684},{"style":890},[1685],{"type":48,"value":924},{"type":42,"tag":879,"props":1687,"children":1688},{"style":901},[1689],{"type":48,"value":929},{"type":42,"tag":879,"props":1691,"children":1692},{"style":916},[1693],{"type":48,"value":934},{"type":42,"tag":879,"props":1695,"children":1696},{"style":890},[1697],{"type":48,"value":1698},"\u002Fslowquery",{"type":42,"tag":879,"props":1700,"children":1701},{"style":890},[1702],{"type":48,"value":1637},{"type":42,"tag":879,"props":1704,"children":1705},{"style":916},[1706],{"type":48,"value":919},{"type":42,"tag":879,"props":1708,"children":1709},{"style":890},[1710],{"type":48,"value":1073},{"type":42,"tag":879,"props":1712,"children":1713},{"style":901},[1714],{"type":48,"value":1078},{"type":42,"tag":879,"props":1716,"children":1717},{"style":916},[1718],{"type":48,"value":1654},{"type":42,"tag":58,"props":1720,"children":1721},{},[1722],{"type":42,"tag":64,"props":1723,"children":1724},{},[1725],{"type":48,"value":1726},"Constraints:",{"type":42,"tag":1728,"props":1729,"children":1730},"ul",{},[1731,1750,1763,1768],{"type":42,"tag":88,"props":1732,"children":1733},{},[1734,1736,1741,1743,1748],{"type":48,"value":1735},"You MUST use ",{"type":42,"tag":149,"props":1737,"children":1739},{"className":1738},[],[1740],{"type":48,"value":731},{"type":48,"value":1742}," for production. NEVER use ",{"type":42,"tag":149,"props":1744,"children":1746},{"className":1745},[],[1747],{"type":48,"value":739},{"type":48,"value":1749}," with a plaintext password for production instances.",{"type":42,"tag":88,"props":1751,"children":1752},{},[1753,1755,1761],{"type":48,"value":1754},"You MUST check the latest available engine version via ",{"type":42,"tag":149,"props":1756,"children":1758},{"className":1757},[],[1759],{"type":48,"value":1760},"describe-db-engine-versions",{"type":48,"value":1762}," rather than hardcoding a version.",{"type":42,"tag":88,"props":1764,"children":1765},{},[1766],{"type":48,"value":1767},"You MUST enable Multi-AZ, encryption, Performance Insights (7-day), backup retention (7 days), and deletion protection unless the user explicitly says otherwise.",{"type":42,"tag":88,"props":1769,"children":1770},{},[1771],{"type":48,"value":1772},"If the user says \"production\" or \"production-ready\", apply ALL of the above without asking.",{"type":42,"tag":1774,"props":1775,"children":1777},"h3",{"id":1776},"resource-tagging-always-apply-on-resource-creation",[1778],{"type":48,"value":1779},"Resource tagging (always apply on resource creation)",{"type":42,"tag":58,"props":1781,"children":1782},{},[1783,1785,1791,1793,1799],{"type":48,"value":1784},"When creating any RDS instance (",{"type":42,"tag":149,"props":1786,"children":1788},{"className":1787},[],[1789],{"type":48,"value":1790},"create-db-instance",{"type":48,"value":1792},"), ALWAYS include these tags using the RDS list-of-records ",{"type":42,"tag":149,"props":1794,"children":1796},{"className":1795},[],[1797],{"type":48,"value":1798},"--tags",{"type":48,"value":1800}," syntax:",{"type":42,"tag":58,"props":1802,"children":1803},{},[1804],{"type":42,"tag":149,"props":1805,"children":1807},{"className":1806},[],[1808],{"type":48,"value":773},{"type":42,"tag":58,"props":1810,"children":1811},{},[1812,1814],{"type":48,"value":1813},"Example: ",{"type":42,"tag":149,"props":1815,"children":1817},{"className":1816},[],[1818],{"type":48,"value":1819},"--tags Key=created_by,Value=rds-oss-skill Key=generation_model,Value=claude-sonnet-4-20250514",{"type":42,"tag":58,"props":1821,"children":1822},{},[1823,1825,1831],{"type":48,"value":1824},"Include these tags even if the user does not mention tagging, so that they can identify the resources created via this skill. If the user provides additional tags, append these to their tags rather than replacing them. The same applies when tagging via ",{"type":42,"tag":149,"props":1826,"children":1828},{"className":1827},[],[1829],{"type":48,"value":1830},"add-tags-to-resource",{"type":48,"value":1832}," or during blue\u002Fgreen deployments.",{"type":42,"tag":51,"props":1834,"children":1836},{"id":1835},"common-tasks",[1837],{"type":48,"value":1838},"Common Tasks",{"type":42,"tag":1774,"props":1840,"children":1842},{"id":1841},"_1-verify-dependencies",[1843],{"type":48,"value":1844},"1. Verify Dependencies",{"type":42,"tag":58,"props":1846,"children":1847},{},[1848,1850,1855],{"type":48,"value":1849},"See ",{"type":42,"tag":208,"props":1851,"children":1853},{"href":1852},"references\u002Fverify-dependencies.md",[1854],{"type":48,"value":1852},{"type":48,"value":1856}," for tool and credential requirements before running workflows.",{"type":42,"tag":1774,"props":1858,"children":1860},{"id":1859},"_2-classify-and-route",[1861],{"type":48,"value":1862},"2. Classify and Route",{"type":42,"tag":58,"props":1864,"children":1865},{},[1866,1868,1873],{"type":48,"value":1867},"Use the ",{"type":42,"tag":208,"props":1869,"children":1871},{"href":1870},"#decision-guide",[1872],{"type":48,"value":167},{"type":48,"value":1874}," to choose a workflow reference, the catalog presentation (broad requests), or a general-knowledge answer (out-of-scope).",{"type":42,"tag":58,"props":1876,"children":1877},{},[1878],{"type":42,"tag":64,"props":1879,"children":1880},{},[1881],{"type":48,"value":1726},{"type":42,"tag":1728,"props":1883,"children":1884},{},[1885,1890,1895,1900],{"type":42,"tag":88,"props":1886,"children":1887},{},[1888],{"type":48,"value":1889},"You MUST name the workflow you're routing to",{"type":42,"tag":88,"props":1891,"children":1892},{},[1893],{"type":48,"value":1894},"You MUST pass along instance ID, region, engine, or workload details the user already supplied — do not re-ask",{"type":42,"tag":88,"props":1896,"children":1897},{},[1898],{"type":48,"value":1899},"You MAY ask one clarifying question if a request straddles two workflows (e.g., \"upgrade with minimal downtime\" = upgrade + Blue\u002FGreen)",{"type":42,"tag":88,"props":1901,"children":1902},{},[1903],{"type":48,"value":1904},"You MUST NOT route Aurora, Oracle, SQL Server, or Db2 questions here — those engines have different tooling",{"type":42,"tag":1774,"props":1906,"children":1908},{"id":1907},"_3-execute-the-workflow",[1909],{"type":48,"value":1910},"3. Execute the Workflow",{"type":42,"tag":58,"props":1912,"children":1913},{},[1914,1916,1922],{"type":48,"value":1915},"Load the matching reference and follow its ",{"type":42,"tag":149,"props":1917,"children":1919},{"className":1918},[],[1920],{"type":48,"value":1921},"## Tasks",{"type":48,"value":1923}," section.",{"type":42,"tag":58,"props":1925,"children":1926},{},[1927],{"type":42,"tag":64,"props":1928,"children":1929},{},[1930],{"type":48,"value":1726},{"type":42,"tag":1728,"props":1932,"children":1933},{},[1934,1939,2003,2008,2013],{"type":42,"tag":88,"props":1935,"children":1936},{},[1937],{"type":48,"value":1938},"You MUST explain what step is executing and which tool is being called before running it",{"type":42,"tag":88,"props":1940,"children":1941},{},[1942,1944,1950,1951,1957,1959,1965,1967,1972,1974,1980,1981,1987,1988,1994,1995,2001],{"type":48,"value":1943},"You MUST NOT execute ",{"type":42,"tag":149,"props":1945,"children":1947},{"className":1946},[],[1948],{"type":48,"value":1949},"modify-*",{"type":48,"value":69},{"type":42,"tag":149,"props":1952,"children":1954},{"className":1953},[],[1955],{"type":48,"value":1956},"switchover-*",{"type":48,"value":1958},", purchase APIs, or ",{"type":42,"tag":149,"props":1960,"children":1962},{"className":1961},[],[1963],{"type":48,"value":1964},"create-db-proxy",{"type":48,"value":1966},". Allowed: ",{"type":42,"tag":149,"props":1968,"children":1970},{"className":1969},[],[1971],{"type":48,"value":1790},{"type":48,"value":1973}," (for new instance provisioning), ",{"type":42,"tag":149,"props":1975,"children":1977},{"className":1976},[],[1978],{"type":48,"value":1979},"describe-*",{"type":48,"value":69},{"type":42,"tag":149,"props":1982,"children":1984},{"className":1983},[],[1985],{"type":48,"value":1986},"list-*",{"type":48,"value":69},{"type":42,"tag":149,"props":1989,"children":1991},{"className":1990},[],[1992],{"type":48,"value":1993},"get-*",{"type":48,"value":69},{"type":42,"tag":149,"props":1996,"children":1998},{"className":1997},[],[1999],{"type":48,"value":2000},"send-command",{"type":48,"value":2002}," for SSM prechecks.",{"type":42,"tag":88,"props":2004,"children":2005},{},[2006],{"type":48,"value":2007},"You MUST NOT handle DB credentials directly. Use user-supplied secret ARNs, pre-configured SSM parameters, or ask the user to paste script output.",{"type":42,"tag":88,"props":2009,"children":2010},{},[2011],{"type":48,"value":2012},"When a live call or bundled script cannot run, You MUST report the exact blocker and either execute the offline fallback or ask the user for inputs. You MUST NOT fabricate command output, analyzer results, pricing numbers, or version lists — a plausible-looking answer with no factual basis is worse than refusing, because users act on it.",{"type":42,"tag":88,"props":2014,"children":2015},{},[2016],{"type":48,"value":2017},"If multiple workflows ran, close with a 2–4 line synthesis linking to prior outputs.",{"type":42,"tag":58,"props":2019,"children":2020},{},[2021],{"type":48,"value":2022},"Each workflow reference includes its own tool-call examples.",{"type":42,"tag":1774,"props":2024,"children":2026},{"id":2025},"critical-facts-to-always-surface",[2027],{"type":48,"value":2028},"Critical Facts to Always Surface",{"type":42,"tag":58,"props":2030,"children":2031},{},[2032],{"type":48,"value":2033},"These RDS-OSS-specific facts are what distinguish this skill from vanilla MySQL\u002FPostgreSQL\u002FMariaDB knowledge. General answers typically conflate RDS with Aurora, omit the CLI command names, or stray into action-taking when this is an advisory skill.",{"type":42,"tag":58,"props":2035,"children":2036},{},[2037],{"type":42,"tag":64,"props":2038,"children":2039},{},[2040],{"type":48,"value":2041},"For \"run the RDS upgrade advisor for my RDS MySQL instance\", you MUST tell the user ALL of the following five facts:",{"type":42,"tag":84,"props":2043,"children":2044},{},[2045,2082,2112,2128,2138],{"type":42,"tag":88,"props":2046,"children":2047},{},[2048,2059,2061,2066,2068,2073,2075,2080],{"type":42,"tag":64,"props":2049,"children":2050},{},[2051,2053],{"type":48,"value":2052},"Identify the instance via ",{"type":42,"tag":149,"props":2054,"children":2056},{"className":2055},[],[2057],{"type":48,"value":2058},"aws rds describe-db-instances",{"type":48,"value":2060}," (NOT ",{"type":42,"tag":149,"props":2062,"children":2064},{"className":2063},[],[2065],{"type":48,"value":435},{"type":48,"value":2067}," — RDS MySQL\u002FMariaDB\u002FPostgreSQL are ",{"type":42,"tag":64,"props":2069,"children":2070},{},[2071],{"type":48,"value":2072},"instance-based",{"type":48,"value":2074},", not cluster-based; ",{"type":42,"tag":149,"props":2076,"children":2078},{"className":2077},[],[2079],{"type":48,"value":435},{"type":48,"value":2081}," is only for Aurora).",{"type":42,"tag":88,"props":2083,"children":2084},{},[2085,2090,2092,2097,2098,2104,2105,2110],{"type":42,"tag":64,"props":2086,"children":2087},{},[2088],{"type":48,"value":2089},"Detect the engine from the response",{"type":48,"value":2091}," (",{"type":42,"tag":149,"props":2093,"children":2095},{"className":2094},[],[2096],{"type":48,"value":14},{"type":48,"value":69},{"type":42,"tag":149,"props":2099,"children":2101},{"className":2100},[],[2102],{"type":48,"value":2103},"mariadb",{"type":48,"value":700},{"type":42,"tag":149,"props":2106,"children":2108},{"className":2107},[],[2109],{"type":48,"value":698},{"type":48,"value":2111},") — do not assume.",{"type":42,"tag":88,"props":2113,"children":2114},{},[2115,2126],{"type":42,"tag":64,"props":2116,"children":2117},{},[2118,2120],{"type":48,"value":2119},"List valid upgrade targets with ",{"type":42,"tag":149,"props":2121,"children":2123},{"className":2122},[],[2124],{"type":48,"value":2125},"aws rds describe-db-engine-versions",{"type":48,"value":2127}," — specifically using the current engine and major version as filters. This is how you enumerate the allowed upgrade paths.",{"type":42,"tag":88,"props":2129,"children":2130},{},[2131,2136],{"type":42,"tag":64,"props":2132,"children":2133},{},[2134],{"type":48,"value":2135},"Present the latest version recommendation",{"type":48,"value":2137}," explicitly (e.g., \"8.0.40 is the latest 8.0 minor, 8.4.x is the next major\").",{"type":42,"tag":88,"props":2139,"children":2140},{},[2141,2146,2148,2154,2156,2161],{"type":42,"tag":64,"props":2142,"children":2143},{},[2144],{"type":48,"value":2145},"Do NOT mention LTS",{"type":48,"value":2147}," — RDS has no LTS concept (see ",{"type":42,"tag":208,"props":2149,"children":2151},{"href":2150},"#rds-vs-aurora--do-not-confuse",[2152],{"type":48,"value":2153},"RDS vs Aurora",{"type":48,"value":2155},"). Offering LTS advice indicates routing confusion between RDS and Aurora. Also do not reference ",{"type":42,"tag":149,"props":2157,"children":2159},{"className":2158},[],[2160],{"type":48,"value":154},{"type":48,"value":2162}," unless the instance turns out to be Aurora.",{"type":42,"tag":58,"props":2164,"children":2165},{},[2166,2171,2173,2179,2181,2187,2189,2194,2196,2201,2203,2208,2210,2215],{"type":42,"tag":64,"props":2167,"children":2168},{},[2169],{"type":48,"value":2170},"Critical workflow rule — when the named instance cannot be located:",{"type":48,"value":2172}," if ",{"type":42,"tag":149,"props":2174,"children":2176},{"className":2175},[],[2177],{"type":48,"value":2178},"describe-db-instances --db-instance-identifier \u003Cid>",{"type":48,"value":2180}," returns no results or a ",{"type":42,"tag":149,"props":2182,"children":2184},{"className":2183},[],[2185],{"type":48,"value":2186},"DBInstanceNotFoundFault",{"type":48,"value":2188},", you ",{"type":42,"tag":64,"props":2190,"children":2191},{},[2192],{"type":48,"value":2193},"MUST still walk through the full advisor workflow",{"type":48,"value":2195}," for the user — name each step (",{"type":42,"tag":149,"props":2197,"children":2199},{"className":2198},[],[2200],{"type":48,"value":423},{"type":48,"value":2202},", then engine detection, then ",{"type":42,"tag":149,"props":2204,"children":2206},{"className":2205},[],[2207],{"type":48,"value":1760},{"type":48,"value":2209},", then version recommendation, then pre-upgrade checklist) — and explain what the output would look like at each step. ",{"type":42,"tag":64,"props":2211,"children":2212},{},[2213],{"type":48,"value":2214},"DO NOT bail out asking \"could you double-check the instance ID?\" and stop.",{"type":48,"value":2216}," The user is asking for the advisor procedure, not for you to perform live discovery. If you cannot see the instance, present the workflow as a template the user can run once the correct identifier is supplied.",{"type":42,"tag":58,"props":2218,"children":2219},{},[2220],{"type":42,"tag":64,"props":2221,"children":2222},{},[2223],{"type":48,"value":2224},"For \"upgrade my RDS MariaDB from X to the latest version\", you MUST tell the user ALL of the following six facts:",{"type":42,"tag":84,"props":2226,"children":2227},{},[2228,2243,2266,2276,2286,2312],{"type":42,"tag":88,"props":2229,"children":2230},{},[2231,2241],{"type":42,"tag":64,"props":2232,"children":2233},{},[2234,2236],{"type":48,"value":2235},"Detect engine as ",{"type":42,"tag":149,"props":2237,"children":2239},{"className":2238},[],[2240],{"type":48,"value":2103},{"type":48,"value":2242}," via describe-db-instances.",{"type":42,"tag":88,"props":2244,"children":2245},{},[2246,2256,2258,2264],{"type":42,"tag":64,"props":2247,"children":2248},{},[2249,2251],{"type":48,"value":2250},"Use ",{"type":42,"tag":149,"props":2252,"children":2254},{"className":2253},[],[2255],{"type":48,"value":1760},{"type":48,"value":2257}," (with ",{"type":42,"tag":149,"props":2259,"children":2261},{"className":2260},[],[2262],{"type":48,"value":2263},"--engine mariadb",{"type":48,"value":2265},") to identify target versions, not a hand-maintained list.",{"type":42,"tag":88,"props":2267,"children":2268},{},[2269,2274],{"type":42,"tag":64,"props":2270,"children":2271},{},[2272],{"type":48,"value":2273},"Offer SSM or direct-connection precheck methods",{"type":48,"value":2275}," — RDS MariaDB can be prechecked via SSM Run Command on a client host or via direct mysql-client connection.",{"type":42,"tag":88,"props":2277,"children":2278},{},[2279,2284],{"type":42,"tag":64,"props":2280,"children":2281},{},[2282],{"type":48,"value":2283},"DO NOT use RDS Data API — MariaDB does not support the Data API.",{"type":48,"value":2285}," This is the classic trap. Data API is only for Aurora Serverless and a subset of clusters, never MariaDB on RDS.",{"type":42,"tag":88,"props":2287,"children":2288},{},[2289,2294,2296,2302,2304,2310],{"type":42,"tag":64,"props":2290,"children":2291},{},[2292],{"type":48,"value":2293},"Run MySQL-compatible precheck queries",{"type":48,"value":2295}," from ",{"type":42,"tag":208,"props":2297,"children":2299},{"href":2298},"references\u002Fupgrade-prechecks-mysql.md",[2300],{"type":48,"value":2301},"upgrade-prechecks-mysql.md",{"type":48,"value":2303}," — removed features, reserved keywords, ",{"type":42,"tag":149,"props":2305,"children":2307},{"className":2306},[],[2308],{"type":48,"value":2309},"sql_mode",{"type":48,"value":2311}," changes. MariaDB reuses the MySQL precheck set because it's a MySQL fork.",{"type":42,"tag":88,"props":2313,"children":2314},{},[2315,2320,2322,2328],{"type":42,"tag":64,"props":2316,"children":2317},{},[2318],{"type":48,"value":2319},"Decline to execute the upgrade",{"type":48,"value":2321}," — advisor only. Recommend a snapshot-and-restore dry-run in a test environment before proceeding. Explicitly say you will not run ",{"type":42,"tag":149,"props":2323,"children":2325},{"className":2324},[],[2326],{"type":48,"value":2327},"modify-db-instance --engine-version",{"type":48,"value":628},{"type":42,"tag":58,"props":2330,"children":2331},{},[2332],{"type":42,"tag":64,"props":2333,"children":2334},{},[2335],{"type":48,"value":2336},"For \"2x db.r7g.2xlarge RDS MySQL 24\u002F7 — buy RI or Savings Plan?\", you MUST tell the user ALL of the following seven facts:",{"type":42,"tag":84,"props":2338,"children":2339},{},[2340,2364,2381,2391,2401,2411,2421],{"type":42,"tag":88,"props":2341,"children":2342},{},[2343,2354,2356,2362],{"type":42,"tag":64,"props":2344,"children":2345},{},[2346,2348],{"type":48,"value":2347},"Run ",{"type":42,"tag":208,"props":2349,"children":2351},{"href":2350},"scripts\u002Frds_commitment_pricing_analyzer.py",[2352],{"type":48,"value":2353},"rds_commitment_pricing_analyzer.py",{"type":48,"value":2355}," offline with ",{"type":42,"tag":149,"props":2357,"children":2359},{"className":2358},[],[2360],{"type":48,"value":2361},"--instance-type db.r7g.2xlarge --engine mysql --num-instances 2",{"type":48,"value":2363},". Print the exact command as a fenced bash block.",{"type":42,"tag":88,"props":2365,"children":2366},{},[2367,2372,2374,2379],{"type":42,"tag":64,"props":2368,"children":2369},{},[2370],{"type":48,"value":2371},"Present a full comparison table of all five options",{"type":48,"value":2373}," — On-Demand, 1yr RI, 3yr RI, 1yr DSP, 3yr DSP — with savings vs on-demand in ",{"type":42,"tag":64,"props":2375,"children":2376},{},[2377],{"type":48,"value":2378},"both dollars and percentage",{"type":48,"value":2380}," for each.",{"type":42,"tag":88,"props":2382,"children":2383},{},[2384,2389],{"type":42,"tag":64,"props":2385,"children":2386},{},[2387],{"type":48,"value":2388},"Recommend 3yr RI",{"type":48,"value":2390}," given the stated 2+-year confidence and 24\u002F7 usage.",{"type":42,"tag":88,"props":2392,"children":2393},{},[2394,2399],{"type":42,"tag":64,"props":2395,"children":2396},{},[2397],{"type":48,"value":2398},"Explain that RDS Database Savings Plan covers the r7g family specifically",{"type":48,"value":2400}," — DSP coverage is family-scoped, not instance-scoped, which is a key advantage if the user might resize within the family.",{"type":42,"tag":88,"props":2402,"children":2403},{},[2404,2409],{"type":42,"tag":64,"props":2405,"children":2406},{},[2407],{"type":48,"value":2408},"Mention the 3yr lock-in tradeoff",{"type":48,"value":2410}," — if workload changes or the family gets superseded, the commitment is not recoverable in full.",{"type":42,"tag":88,"props":2412,"children":2413},{},[2414,2419],{"type":42,"tag":64,"props":2415,"children":2416},{},[2417],{"type":48,"value":2418},"Note that RDS RIs are region-locked",{"type":48,"value":2420}," — moving the workload cross-region would forfeit the RI benefit.",{"type":42,"tag":88,"props":2422,"children":2423},{},[2424,2429,2431,2437,2438,2444,2446,2451],{"type":42,"tag":64,"props":2425,"children":2426},{},[2427],{"type":48,"value":2428},"DO NOT include purchase action steps",{"type":48,"value":2430}," — no \"Next Steps\" section with purchase directions. No \"go to Console → Reserved Instances → Purchase\". No ",{"type":42,"tag":149,"props":2432,"children":2434},{"className":2433},[],[2435],{"type":48,"value":2436},"aws rds purchase-reserved-db-instances-offering",{"type":48,"value":510},{"type":42,"tag":149,"props":2439,"children":2441},{"className":2440},[],[2442],{"type":48,"value":2443},"aws savingsplans create-savings-plan",{"type":48,"value":2445}," commands. ",{"type":42,"tag":64,"props":2447,"children":2448},{},[2449],{"type":48,"value":2450},"This is a hard ban.",{"type":48,"value":2452}," This skill is advisory-only and MUST NOT guide users toward executing purchases. Say \"When you're ready to purchase, refer to the AWS console or CLI docs.\" and stop there. Do NOT try to be helpful by showing what the purchase command would look like \"for reference.\"",{"type":42,"tag":58,"props":2454,"children":2455},{},[2456],{"type":42,"tag":64,"props":2457,"children":2458},{},[2459],{"type":48,"value":2460},"For \"change a VARCHAR(10) column to INT on RDS MySQL 8.0 via Blue\u002FGreen\", you MUST tell the user ALL of the following seven facts:",{"type":42,"tag":84,"props":2462,"children":2463},{},[2464,2490,2507,2523,2533,2543,2568],{"type":42,"tag":88,"props":2465,"children":2466},{},[2467,2472,2474,2480,2482,2488],{"type":42,"tag":64,"props":2468,"children":2469},{},[2470],{"type":48,"value":2471},"Validate prerequisites first:",{"type":48,"value":2473}," ",{"type":42,"tag":149,"props":2475,"children":2477},{"className":2476},[],[2478],{"type":48,"value":2479},"binlog_format=ROW",{"type":48,"value":2481},", automated backups enabled (retention > 0), instance in ",{"type":42,"tag":149,"props":2483,"children":2485},{"className":2484},[],[2486],{"type":48,"value":2487},"available",{"type":48,"value":2489}," state.",{"type":42,"tag":88,"props":2491,"children":2492},{},[2493,2498,2500,2505],{"type":42,"tag":64,"props":2494,"children":2495},{},[2496],{"type":48,"value":2497},"Explain why MODIFY COLUMN changing type breaks binlog replication:",{"type":48,"value":2499}," Blue\u002FGreen replicates the blue → green by replaying binlog events. A type change produces a ",{"type":42,"tag":64,"props":2501,"children":2502},{},[2503],{"type":48,"value":2504},"different binary representation",{"type":48,"value":2506}," on the two sides, so replication events recorded against VARCHAR can't be applied to an INT column. This is the root cause, not a \"row format\" issue.",{"type":42,"tag":88,"props":2508,"children":2509},{},[2510,2521],{"type":42,"tag":64,"props":2511,"children":2512},{},[2513,2515],{"type":48,"value":2514},"Create the green environment with ",{"type":42,"tag":149,"props":2516,"children":2518},{"className":2517},[],[2519],{"type":48,"value":2520},"aws rds create-blue-green-deployment",{"type":48,"value":2522}," — include the exact CLI command name, not a generic description.",{"type":42,"tag":88,"props":2524,"children":2525},{},[2526,2531],{"type":42,"tag":64,"props":2527,"children":2528},{},[2529],{"type":48,"value":2530},"Let green catch up",{"type":48,"value":2532}," via binlog replication before the DDL.",{"type":42,"tag":88,"props":2534,"children":2535},{},[2536,2541],{"type":42,"tag":64,"props":2537,"children":2538},{},[2539],{"type":48,"value":2540},"Apply the schema change on green",{"type":48,"value":2542}," (the MODIFY COLUMN DDL) once green has caught up.",{"type":42,"tag":88,"props":2544,"children":2545},{},[2546,2551,2553,2559,2561,2566],{"type":42,"tag":64,"props":2547,"children":2548},{},[2549],{"type":48,"value":2550},"Switch over immediately",{"type":48,"value":2552}," with ",{"type":42,"tag":149,"props":2554,"children":2556},{"className":2555},[],[2557],{"type":48,"value":2558},"aws rds switchover-blue-green-deployment",{"type":48,"value":2560}," — ",{"type":42,"tag":64,"props":2562,"children":2563},{},[2564],{"type":48,"value":2565},"do not let green run in parallel with blue after the incompatible DDL",{"type":48,"value":2567},". The schema divergence breaks further replication.",{"type":42,"tag":88,"props":2569,"children":2570},{},[2571,2576,2578,2591,2593,2598],{"type":42,"tag":64,"props":2572,"children":2573},{},[2574],{"type":48,"value":2575},"Verify the schema change on the production endpoint after switchover",{"type":48,"value":2577}," and ",{"type":42,"tag":64,"props":2579,"children":2580},{},[2581,2583,2589],{"type":48,"value":2582},"you MUST pause and ask the user for explicit confirmation before presenting the ",{"type":42,"tag":149,"props":2584,"children":2586},{"className":2585},[],[2587],{"type":48,"value":2588},"switchover-blue-green-deployment",{"type":48,"value":2590}," command, even as a suggested step",{"type":48,"value":2592},". Do NOT list switchover as an automatic next step in a sequential workflow — state that the switchover is a destructive action that transfers production traffic, then ask \"Are you ready to switch over? I'll give you the exact CLI command to run when you confirm.\" Only after the user confirms should you emit the ",{"type":42,"tag":149,"props":2594,"children":2596},{"className":2595},[],[2597],{"type":48,"value":2588},{"type":48,"value":2599}," command.",{"type":42,"tag":58,"props":2601,"children":2602},{},[2603],{"type":42,"tag":64,"props":2604,"children":2605},{},[2606],{"type":48,"value":2607},"For \"we run PgBouncer in transaction mode — would RDS Proxy add anything?\", you MUST tell the user ALL of the following six facts:",{"type":42,"tag":84,"props":2609,"children":2610},{},[2611,2621,2631,2641,2651,2661],{"type":42,"tag":88,"props":2612,"children":2613},{},[2614,2619],{"type":42,"tag":64,"props":2615,"children":2616},{},[2617],{"type":48,"value":2618},"PgBouncer in transaction mode already does aggressive connection multiplexing",{"type":48,"value":2620}," — that is the primary value proposition of Proxy. In this scenario the multiplexing benefit is marginal.",{"type":42,"tag":88,"props":2622,"children":2623},{},[2624,2629],{"type":42,"tag":64,"props":2625,"children":2626},{},[2627],{"type":48,"value":2628},"What RDS Proxy adds on top:",{"type":48,"value":2630}," managed infrastructure (no EC2 to operate or patch).",{"type":42,"tag":88,"props":2632,"children":2633},{},[2634,2639],{"type":42,"tag":64,"props":2635,"children":2636},{},[2637],{"type":48,"value":2638},"Built-in IAM authentication",{"type":48,"value":2640}," — RDS Proxy supports IAM auth natively, which PgBouncer does not out of the box.",{"type":42,"tag":88,"props":2642,"children":2643},{},[2644,2649],{"type":42,"tag":64,"props":2645,"children":2646},{},[2647],{"type":48,"value":2648},"Automatic failover integrated with RDS events",{"type":48,"value":2650}," — Proxy reacts to RDS failover events in seconds; PgBouncer needs external health checks and manual reconfiguration.",{"type":42,"tag":88,"props":2652,"children":2653},{},[2654,2659],{"type":42,"tag":64,"props":2655,"children":2656},{},[2657],{"type":48,"value":2658},"Secrets Manager integration for credential rotation",{"type":48,"value":2660}," — Proxy can pull credentials from Secrets Manager and rotate without downtime.",{"type":42,"tag":88,"props":2662,"children":2663},{},[2664,2669,2671,2676],{"type":42,"tag":64,"props":2665,"children":2666},{},[2667],{"type":48,"value":2668},"Recommendation:",{"type":48,"value":2670}," if PgBouncer is working and none of the above four features are specifically desired, ",{"type":42,"tag":64,"props":2672,"children":2673},{},[2674],{"type":48,"value":2675},"stay on PgBouncer",{"type":48,"value":2677},". Switch to RDS Proxy only if IAM auth, managed failover, or Secrets-Manager-rotated credentials are specifically needed.",{"type":42,"tag":51,"props":2679,"children":2681},{"id":2680},"security-considerations",[2682],{"type":48,"value":2683},"Security Considerations",{"type":42,"tag":58,"props":2685,"children":2686},{},[2687,2689,2694,2696,2701,2703,2707],{"type":48,"value":2688},"Advisory skill — never modifies ",{"type":42,"tag":64,"props":2690,"children":2691},{},[2692],{"type":48,"value":2693},"existing",{"type":48,"value":2695}," AWS resources. The only write action allowed is ",{"type":42,"tag":149,"props":2697,"children":2699},{"className":2698},[],[2700],{"type":48,"value":1790},{"type":48,"value":2702}," for new instance provisioning (see ",{"type":42,"tag":208,"props":2704,"children":2705},{"href":210},[2706],{"type":48,"value":213},{"type":48,"value":2708},"); everything else is read-only. Never handle credentials directly; prefer short-lived credentials.",{"type":42,"tag":58,"props":2710,"children":2711},{},[2712,2714,2720,2722,2728,2730,2736,2737,2743,2745,2751,2752,2758,2760,2766,2768,2774,2776,2782],{"type":48,"value":2713},"Minimum IAM permissions required: ",{"type":42,"tag":149,"props":2715,"children":2717},{"className":2716},[],[2718],{"type":48,"value":2719},"AmazonRDSReadOnlyAccess",{"type":48,"value":2721}," + ",{"type":42,"tag":149,"props":2723,"children":2725},{"className":2724},[],[2726],{"type":48,"value":2727},"CloudWatchReadOnlyAccess",{"type":48,"value":2729}," + scoped ",{"type":42,"tag":149,"props":2731,"children":2733},{"className":2732},[],[2734],{"type":48,"value":2735},"pricing:GetProducts",{"type":48,"value":2721},{"type":42,"tag":149,"props":2738,"children":2740},{"className":2739},[],[2741],{"type":48,"value":2742},"savingsplans:DescribeSavingsPlansOfferingRates",{"type":48,"value":2744},". For instance creation, also ",{"type":42,"tag":149,"props":2746,"children":2748},{"className":2747},[],[2749],{"type":48,"value":2750},"rds:CreateDBInstance",{"type":48,"value":2721},{"type":42,"tag":149,"props":2753,"children":2755},{"className":2754},[],[2756],{"type":48,"value":2757},"rds:AddTagsToResource",{"type":48,"value":2759},", plus ",{"type":42,"tag":149,"props":2761,"children":2763},{"className":2762},[],[2764],{"type":48,"value":2765},"logs:CreateLogGroup",{"type":48,"value":2767}," if CloudWatch Logs exports are enabled. SSM prechecks also need ",{"type":42,"tag":149,"props":2769,"children":2771},{"className":2770},[],[2772],{"type":48,"value":2773},"ssm:SendCommand",{"type":48,"value":2775}," \u002F ",{"type":42,"tag":149,"props":2777,"children":2779},{"className":2778},[],[2780],{"type":48,"value":2781},"ssm:GetCommandInvocation",{"type":48,"value":2783}," on the target bastion.",{"type":42,"tag":58,"props":2785,"children":2786},{},[2787],{"type":48,"value":2788},"Apply these security practices in all guidance:",{"type":42,"tag":84,"props":2790,"children":2791},{},[2792,2815,2825,2850,2867,2883],{"type":42,"tag":88,"props":2793,"children":2794},{},[2795,2800,2802,2807,2808,2813],{"type":42,"tag":64,"props":2796,"children":2797},{},[2798],{"type":48,"value":2799},"Encryption in transit",{"type":48,"value":2801}," — enforce TLS on all database connections (",{"type":42,"tag":149,"props":2803,"children":2805},{"className":2804},[],[2806],{"type":48,"value":791},{"type":48,"value":793},{"type":42,"tag":149,"props":2809,"children":2811},{"className":2810},[],[2812],{"type":48,"value":799},{"type":48,"value":2814}," for PostgreSQL).",{"type":42,"tag":88,"props":2816,"children":2817},{},[2818,2823],{"type":42,"tag":64,"props":2819,"children":2820},{},[2821],{"type":48,"value":2822},"IAM database authentication",{"type":48,"value":2824}," — prefer IAM auth over username\u002Fpassword for application connections where supported, providing short-lived credentials.",{"type":42,"tag":88,"props":2826,"children":2827},{},[2828,2833,2835,2840,2842,2848],{"type":42,"tag":64,"props":2829,"children":2830},{},[2831],{"type":48,"value":2832},"Audit logging",{"type":48,"value":2834}," — recommend enabling database audit logging (on RDS MySQL via the MARIADB_AUDIT_PLUGIN in an Option Group, on RDS MariaDB via the built-in server audit parameters such as ",{"type":42,"tag":149,"props":2836,"children":2838},{"className":2837},[],[2839],{"type":48,"value":840},{"type":48,"value":2841},", and the ",{"type":42,"tag":149,"props":2843,"children":2845},{"className":2844},[],[2846],{"type":48,"value":2847},"pgaudit",{"type":48,"value":2849}," extension for PostgreSQL) and CloudTrail for API-level audit.",{"type":42,"tag":88,"props":2851,"children":2852},{},[2853,2858,2860,2866],{"type":42,"tag":64,"props":2854,"children":2855},{},[2856],{"type":48,"value":2857},"VPC security",{"type":48,"value":2859}," — deploy instances in a private subnet. Security groups should restrict inbound access to specific application CIDR ranges or security group references — never ",{"type":42,"tag":149,"props":2861,"children":2863},{"className":2862},[],[2864],{"type":48,"value":2865},"0.0.0.0\u002F0",{"type":48,"value":628},{"type":42,"tag":88,"props":2868,"children":2869},{},[2870,2875,2876,2881],{"type":42,"tag":64,"props":2871,"children":2872},{},[2873],{"type":48,"value":2874},"Credential rotation",{"type":48,"value":2560},{"type":42,"tag":149,"props":2877,"children":2879},{"className":2878},[],[2880],{"type":48,"value":731},{"type":48,"value":2882}," provides automatic rotation via Secrets Manager.",{"type":42,"tag":88,"props":2884,"children":2885},{},[2886,2891,2893,2899,2901,2907],{"type":42,"tag":64,"props":2887,"children":2888},{},[2889],{"type":48,"value":2890},"Monitoring and alarms",{"type":48,"value":2892}," — recommend CloudWatch Alarms on security-relevant metrics, such as ",{"type":42,"tag":149,"props":2894,"children":2896},{"className":2895},[],[2897],{"type":48,"value":2898},"DatabaseConnections",{"type":48,"value":2900}," spikes (possible credential compromise) and ",{"type":42,"tag":149,"props":2902,"children":2904},{"className":2903},[],[2905],{"type":48,"value":2906},"FreeableMemory",{"type":48,"value":2908}," drops (possible resource-exhaustion attack).",{"type":42,"tag":58,"props":2910,"children":2911},{},[2912],{"type":48,"value":2913},"Do NOT grant write\u002Fadmin beyond the permissions listed above to work around permission errors. Do NOT store DB passwords in SSM parameters or command text — use Secrets Manager and retrieve the secret inside the command.",{"type":42,"tag":51,"props":2915,"children":2917},{"id":2916},"troubleshooting",[2918],{"type":48,"value":2919},"Troubleshooting",{"type":42,"tag":58,"props":2921,"children":2922},{},[2923,2928],{"type":42,"tag":64,"props":2924,"children":2925},{},[2926],{"type":48,"value":2927},"Access denied.",{"type":48,"value":2929}," Attach the read-only policies above.",{"type":42,"tag":58,"props":2931,"children":2932},{},[2933,2938,2940,2946],{"type":42,"tag":64,"props":2934,"children":2935},{},[2936],{"type":48,"value":2937},"Expired credentials.",{"type":48,"value":2939}," Refresh, or fall back to ",{"type":42,"tag":149,"props":2941,"children":2943},{"className":2942},[],[2944],{"type":48,"value":2945},"--offline",{"type":48,"value":2947}," for commitment pricing.",{"type":42,"tag":58,"props":2949,"children":2950},{},[2951,2956],{"type":42,"tag":64,"props":2952,"children":2953},{},[2954],{"type":48,"value":2955},"Timeouts \u002F throttling.",{"type":48,"value":2957}," Retry once, then narrow scope. SSM precheck timeouts on large schemas: switch to direct connection or user-runs-script. RDS Data API is not available for standalone RDS.",{"type":42,"tag":58,"props":2959,"children":2960},{},[2961,2966,2968,2974,2975,2980],{"type":42,"tag":64,"props":2962,"children":2963},{},[2964],{"type":48,"value":2965},"Resource not found.",{"type":48,"value":2967}," Verify region\u002FID; confirm it's not an Aurora ",{"type":42,"tag":2969,"props":2970,"children":2971},"em",{},[2972],{"type":48,"value":2973},"cluster",{"type":48,"value":2091},{"type":42,"tag":149,"props":2976,"children":2978},{"className":2977},[],[2979],{"type":48,"value":435},{"type":48,"value":2981},"). Empty RI\u002FDSP offerings — fall back to offline.",{"type":42,"tag":58,"props":2983,"children":2984},{},[2985,2990],{"type":42,"tag":64,"props":2986,"children":2987},{},[2988],{"type":48,"value":2989},"User asks to execute a change.",{"type":48,"value":2991}," Advisory skill — modifications to existing resources happen via the AWS console or user-run CLI.",{"type":42,"tag":58,"props":2993,"children":2994},{},[2995,3000,3002,3007,3009,3013],{"type":42,"tag":64,"props":2996,"children":2997},{},[2998],{"type":48,"value":2999},"Aurora question.",{"type":48,"value":3001}," Route to ",{"type":42,"tag":149,"props":3003,"children":3005},{"className":3004},[],[3006],{"type":48,"value":154},{"type":48,"value":3008},". See ",{"type":42,"tag":208,"props":3010,"children":3011},{"href":2150},[3012],{"type":48,"value":2153},{"type":48,"value":3014}," above.",{"type":42,"tag":58,"props":3016,"children":3017},{},[3018,3023,3024,3030,3031,3037,3038,3044],{"type":42,"tag":64,"props":3019,"children":3020},{},[3021],{"type":48,"value":3022},"Oracle \u002F SQL Server \u002F Db2 question.",{"type":48,"value":3001},{"type":42,"tag":149,"props":3025,"children":3027},{"className":3026},[],[3028],{"type":48,"value":3029},"rds-oracle",{"type":48,"value":69},{"type":42,"tag":149,"props":3032,"children":3034},{"className":3033},[],[3035],{"type":48,"value":3036},"rds-sqlserver",{"type":48,"value":700},{"type":42,"tag":149,"props":3039,"children":3041},{"className":3040},[],[3042],{"type":48,"value":3043},"rds-db2",{"type":48,"value":628},{"type":42,"tag":51,"props":3046,"children":3048},{"id":3047},"additional-resources",[3049],{"type":48,"value":3050},"Additional Resources",{"type":42,"tag":1728,"props":3052,"children":3053},{},[3054,3064,3074,3101,3119,3137,3145],{"type":42,"tag":88,"props":3055,"children":3056},{},[3057],{"type":42,"tag":208,"props":3058,"children":3061},{"href":3059,"rel":3060},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002F",[554],[3062],{"type":48,"value":3063},"Amazon RDS User Guide",{"type":42,"tag":88,"props":3065,"children":3066},{},[3067],{"type":42,"tag":208,"props":3068,"children":3071},{"href":3069,"rel":3070},"https:\u002F\u002Faws.amazon.com\u002Frds\u002Fpricing\u002F",[554],[3072],{"type":48,"value":3073},"RDS pricing",{"type":42,"tag":88,"props":3075,"children":3076},{},[3077,3084,3086,3093,3094],{"type":42,"tag":208,"props":3078,"children":3081},{"href":3079,"rel":3080},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_UpgradeDBInstance.MySQL.html",[554],[3082],{"type":48,"value":3083},"RDS MySQL upgrades",{"type":48,"value":3085}," · ",{"type":42,"tag":208,"props":3087,"children":3090},{"href":3088,"rel":3089},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_UpgradeDBInstance.MariaDB.html",[554],[3091],{"type":48,"value":3092},"RDS MariaDB upgrades",{"type":48,"value":3085},{"type":42,"tag":208,"props":3095,"children":3098},{"href":3096,"rel":3097},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_UpgradeDBInstance.PostgreSQL.html",[554],[3099],{"type":48,"value":3100},"RDS PostgreSQL upgrades",{"type":42,"tag":88,"props":3102,"children":3103},{},[3104,3111,3112],{"type":42,"tag":208,"props":3105,"children":3108},{"href":3106,"rel":3107},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FUSER_WorkingWithReservedDBInstances.html",[554],[3109],{"type":48,"value":3110},"RDS Reserved Instances",{"type":48,"value":3085},{"type":42,"tag":208,"props":3113,"children":3116},{"href":3114,"rel":3115},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsavingsplans\u002Flatest\u002Fuserguide\u002Fwhat-is-savings-plans.html",[554],[3117],{"type":48,"value":3118},"Database Savings Plans",{"type":42,"tag":88,"props":3120,"children":3121},{},[3122,3129,3130],{"type":42,"tag":208,"props":3123,"children":3126},{"href":3124,"rel":3125},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002Frds-proxy.html",[554],[3127],{"type":48,"value":3128},"RDS Proxy",{"type":48,"value":3085},{"type":42,"tag":208,"props":3131,"children":3134},{"href":3132,"rel":3133},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002Fblue-green-deployments.html",[554],[3135],{"type":48,"value":3136},"RDS Blue\u002FGreen Deployments",{"type":42,"tag":88,"props":3138,"children":3139},{},[3140],{"type":42,"tag":208,"props":3141,"children":3143},{"href":552,"rel":3142},[554],[3144],{"type":48,"value":557},{"type":42,"tag":88,"props":3146,"children":3147},{},[3148],{"type":42,"tag":208,"props":3149,"children":3152},{"href":3150,"rel":3151},"https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonRDS\u002Flatest\u002FUserGuide\u002FCHAP_BestPractices.Security.html",[554],[3153],{"type":48,"value":3154},"RDS Security Best Practices",{"type":42,"tag":3156,"props":3157,"children":3158},"style",{},[3159],{"type":48,"value":3160},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3162,"total":3266},[3163,3180,3195,3210,3225,3235,3250],{"slug":3164,"name":3164,"fn":3165,"description":3166,"org":3167,"tags":3168,"stars":24,"repoUrl":25,"updatedAt":3179},"agents-build","add capabilities to existing agent projects","Use when adding capabilities to an existing agent project — memory, app integration, VPC, multi-agent, migration, model changes, browser, code interpreter, or resource removal. Triggers on: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"auth to call agent\", \"streaming responses\", \"VPC\", \"VPC connectivity\", \"VPC error\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"after import\", \"migration issue\", \"framework for migration\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"resource-based policy on memory\", \"pay for x402 content\", \"402 Payment Required\", \"microtransactions\", \"paid API or tool\". Not for connecting to external APIs via Gateway — use agents-connect. Not for scaffolding a new project — use agents-get-started. Not for CLI\u002Fdev server errors — use agents-debug. Strands vs LangGraph in a migration context routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3169,3172,3175,3176],{"name":3170,"slug":3171,"type":15},"Agents","agents",{"name":3173,"slug":3174,"type":15},"Automation","automation",{"name":23,"slug":8,"type":15},{"name":3177,"slug":3178,"type":15},"Engineering","engineering","2026-07-12T08:42:53.812877",{"slug":3181,"name":3181,"fn":3182,"description":3183,"org":3184,"tags":3185,"stars":24,"repoUrl":25,"updatedAt":3194},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3186,3187,3190,3193],{"name":3170,"slug":3171,"type":15},{"name":3188,"slug":3189,"type":15},"API Development","api-development",{"name":3191,"slug":3192,"type":15},"Authentication","authentication",{"name":23,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":3196,"name":3196,"fn":3197,"description":3198,"org":3199,"tags":3200,"stars":24,"repoUrl":25,"updatedAt":3209},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3201,3202,3203,3206],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3204,"slug":3205,"type":15},"Debugging","debugging",{"name":3207,"slug":3208,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":3211,"name":3211,"fn":3212,"description":3213,"org":3214,"tags":3215,"stars":24,"repoUrl":25,"updatedAt":3224},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3216,3217,3218,3221],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3219,"slug":3220,"type":15},"CI\u002FCD","ci-cd",{"name":3222,"slug":3223,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":3226,"name":3226,"fn":3227,"description":3228,"org":3229,"tags":3230,"stars":24,"repoUrl":25,"updatedAt":3234},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3231,3232,3233],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3222,"slug":3223,"type":15},"2026-07-12T08:42:51.963247",{"slug":3236,"name":3236,"fn":3237,"description":3238,"org":3239,"tags":3240,"stars":24,"repoUrl":25,"updatedAt":3249},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3241,3242,3243,3246],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3244,"slug":3245,"type":15},"Best Practices","best-practices",{"name":3247,"slug":3248,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":3251,"name":3251,"fn":3252,"description":3253,"org":3254,"tags":3255,"stars":24,"repoUrl":25,"updatedAt":3265},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3256,3257,3258,3261,3262],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3259,"slug":3260,"type":15},"Evals","evals",{"name":3207,"slug":3208,"type":15},{"name":3263,"slug":3264,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",114,{"items":3268,"total":3379},[3269,3276,3283,3290,3297,3303,3310,3318,3331,3342,3354,3369],{"slug":3164,"name":3164,"fn":3165,"description":3166,"org":3270,"tags":3271,"stars":24,"repoUrl":25,"updatedAt":3179},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3272,3273,3274,3275],{"name":3170,"slug":3171,"type":15},{"name":3173,"slug":3174,"type":15},{"name":23,"slug":8,"type":15},{"name":3177,"slug":3178,"type":15},{"slug":3181,"name":3181,"fn":3182,"description":3183,"org":3277,"tags":3278,"stars":24,"repoUrl":25,"updatedAt":3194},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3279,3280,3281,3282],{"name":3170,"slug":3171,"type":15},{"name":3188,"slug":3189,"type":15},{"name":3191,"slug":3192,"type":15},{"name":23,"slug":8,"type":15},{"slug":3196,"name":3196,"fn":3197,"description":3198,"org":3284,"tags":3285,"stars":24,"repoUrl":25,"updatedAt":3209},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3286,3287,3288,3289],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3204,"slug":3205,"type":15},{"name":3207,"slug":3208,"type":15},{"slug":3211,"name":3211,"fn":3212,"description":3213,"org":3291,"tags":3292,"stars":24,"repoUrl":25,"updatedAt":3224},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3293,3294,3295,3296],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3219,"slug":3220,"type":15},{"name":3222,"slug":3223,"type":15},{"slug":3226,"name":3226,"fn":3227,"description":3228,"org":3298,"tags":3299,"stars":24,"repoUrl":25,"updatedAt":3234},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3300,3301,3302],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3222,"slug":3223,"type":15},{"slug":3236,"name":3236,"fn":3237,"description":3238,"org":3304,"tags":3305,"stars":24,"repoUrl":25,"updatedAt":3249},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3306,3307,3308,3309],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3244,"slug":3245,"type":15},{"name":3247,"slug":3248,"type":15},{"slug":3251,"name":3251,"fn":3252,"description":3253,"org":3311,"tags":3312,"stars":24,"repoUrl":25,"updatedAt":3265},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3313,3314,3315,3316,3317],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3259,"slug":3260,"type":15},{"name":3207,"slug":3208,"type":15},{"name":3263,"slug":3264,"type":15},{"slug":3319,"name":3319,"fn":3320,"description":3321,"org":3322,"tags":3323,"stars":24,"repoUrl":25,"updatedAt":3330},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3324,3325,3326,3327],{"name":23,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":3328,"slug":3329,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":3332,"name":3332,"fn":3333,"description":3334,"org":3335,"tags":3336,"stars":24,"repoUrl":25,"updatedAt":3341},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3337,3338,3339,3340],{"name":23,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":3328,"slug":3329,"type":15},"2026-07-16T06:00:34.789624",{"slug":3343,"name":3343,"fn":3344,"description":3345,"org":3346,"tags":3347,"stars":24,"repoUrl":25,"updatedAt":3353},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore. Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching setup and debugging, quota health checks and throttling diagnosis, cost attribution and tracking, migrating between Claude model generations (4.5 to 4.6 to 4.7), chunking strategies, API selection (Converse vs InvokeModel), guardrail capabilities, and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, 402 Payment Required, pay for content, paid endpoint, agent payments). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3348,3349,3350],{"name":3170,"slug":3171,"type":15},{"name":23,"slug":8,"type":15},{"name":3351,"slug":3352,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":3355,"name":3355,"fn":3356,"description":3357,"org":3358,"tags":3359,"stars":24,"repoUrl":25,"updatedAt":3368},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3360,3361,3362,3365],{"name":23,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"name":3363,"slug":3364,"type":15},"MongoDB","mongodb",{"name":3366,"slug":3367,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":3370,"name":3370,"fn":3371,"description":3372,"org":3373,"tags":3374,"stars":24,"repoUrl":25,"updatedAt":3378},"amazon-dynamodb","design and debug DynamoDB data layers","Designs, reviews, and debugs DynamoDB data layers from design axioms — enumerates access patterns, chooses partition\u002Fsort keys and GSIs, decides single-table vs. multi-table, configures Streams, Global Tables, TTL, and zero-ETL integrations to OpenSearch\u002FRedshift\u002FSageMaker Lakehouse, and produces a defensible data-layer design with a monthly cost estimate and optional live validation. Applies whenever a user is designing, reviewing, or refactoring anything backed by DynamoDB — schemas, access patterns, GSIs, single- vs. multi-table choices, Streams consumers, transactional outboxes, Global Tables, zero-ETL pipelines — even when they don't say \"axioms\" or \"design review.\" Also applies when debugging hot partitions, throttling, unbounded Scans, LWW conflicts, or surprise bills on DynamoDB workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3375,3376,3377],{"name":23,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"name":3366,"slug":3367,"type":15},"2026-07-16T06:00:37.690386",115]