Skip to main content
skill CX Codex

exporting-rds-to-s3 — Claude Code skill: RDS snapshots to S3

Walks the agent through exporting an RDS or Aurora snapshot to S3 as Parquet, from IAM roles and KMS encryption to task monitoring and data checks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aws/agent-toolkit-for-aws --skill exporting-rds-to-s3 -a claude-code
Open on GitHub

What exporting-rds-to-s3 does

The skill covers the whole path from picking or creating a database snapshot to files landing in your bucket. It points the agent at references/export-rds-to-s3.md for the export procedure, which is what you want when the data is headed for Athena, Glue or Redshift Spectrum.

Snapshot export works for MySQL, PostgreSQL, MariaDB, Aurora MySQL and Aurora PostgreSQL. Oracle and SQL Server are not supported, so check the engine before planning a migration. For Aurora, diagnostics use describe-db-clusters rather than describe-db-instances — an easy mistake to make.

The IAM role has to trust export.rds.amazonaws.com with aws:SourceAccount and aws:SourceArn conditions, and carry S3 PutObject plus KMS permissions. Wait 10–15 seconds after creating the role or the call fails on permissions. When a task stalls, the skill lists the usual culprits: a deleted bucket, a modified role, a disabled KMS key.

What it helps with

  • export an RDS snapshot to S3 as Parquet
  • set up the IAM role the RDS export service needs
  • turn on KMS encryption for exported data
  • diagnose a stuck or failed export task
  • prepare S3 data for Athena, Glue or Redshift Spectrum

Example prompts for the agent

  • export my RDS snapshot to S3 in Parquet
  • set up an Aurora PostgreSQL export to my analytics bucket
  • the RDS export task is stuck — check the failure reasons

How to install exporting-rds-to-s3

1Skills CLI (Vercel)

npx skills add aws/agent-toolkit-for-aws --skill exporting-rds-to-s3 -a claude-code

2Manually: put the files in place

~/.claude/skills/exporting-rds-to-s3/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/exporting-rds-to-s3/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about exporting-rds-to-s3

How do I install exporting-rds-to-s3 in Claude?

Run npx skills add aws/agent-toolkit-for-aws --skill exporting-rds-to-s3 -a claude-code. The skill file then lives at ~/.claude/skills/exporting-rds-to-s3/SKILL.md.

What does exporting-rds-to-s3 do?

It guides the agent through exporting an RDS or Aurora snapshot to S3 in Apache Parquet: snapshot selection, IAM role and KMS setup, bucket preparation, task execution, progress monitoring and data verification.

Which database engines can be exported?

MySQL, PostgreSQL, MariaDB, Aurora MySQL and Aurora PostgreSQL only. Oracle and SQL Server are not supported.

Source text

SKILL.md · Apache-2.0
---
name: exporting-rds-to-s3
description: Exports Amazon RDS or Aurora database snapshots to Amazon S3 in Apache Parquet format for analytics, backup, or data migration. Handles snapshot selection or creation, IAM role setup, KMS encryption, S3 bucket preparation, export task execution, progress monitoring, and data verification. Use when exporting RDS/Aurora data to S3 for Athena, Glue, or Redshift Spectrum consumption.
version: 1
---
# Exporting RDS/Aurora to S3

## Overview

Domain expertise for exporting Amazon RDS and Aurora database snapshots to Amazon S3
in Apache Parquet format. Covers the full workflow: snapshot identification or creation,
IAM role and KMS encryption setup, S3 bucket preparation, export task initiation,
progress monitoring, data verification, and post-export access guidance for analytics
services like Athena, Glue, and Redshift Spectrum.

## Export an RDS or Aurora snapshot to S3

To export a database snapshot to S3 with proper IAM roles, encryption, and monitoring,
follow the procedure exactly.
See [RDS to S3 export procedure](references/export-rds-to-s3.md).

## Troubleshooting

### Database not found
Verify the database identifier spelling, case, and region. For Aurora, use `describe-db-clusters` instead of `describe-db-instances`.

### Export not supported
Snapshot export supports MySQL, PostgreSQL, MariaDB, Aurora MySQL, and Aurora PostgreSQL only. Oracle and SQL Server are not supported.

### IAM role permission errors
Ensure the role trust policy allows `export.rds.amazonaws.com` with `aws:SourceAccount` and `aws:SourceArn` conditions for confused deputy protection, and has S3 PutObject and KMS permissions. Wait 10–15 seconds after role creation for propagation.

### Export stuck or failed
Check the export task status for failure reasons. Common causes: S3 bucket deleted, IAM role modified, or KMS key disabled during export. See the [full procedure](references/export-rds-to-s3.md) for detailed troubleshooting.

© aws · Apache-2.0 · aws/agent-toolkit-for-aws

Similar skills

Everything for Cloud: AWS, Azure, GCP →

From the same set133

creating-api-gateway-stage Builds an API Gateway stage with CloudWatch logging, X-Ray tracing, throttling and WAF. Handy when a REST API ships to dev, test or production. CX Codex +1 6,200installs creating-production-vpc-multi-az Plan a VPC across multiple Availability Zones, with public and private subnets, NAT gateways, routing, and security groups. Use it when setting up AWS network infrastructure. CX Codex +1 6,100installs creating-amazon-aurora-db-cluster-with-instances Creates Aurora cluster with instances, sets up password via Secrets Manager, and monitors status with retry logic. Supports MySQL and PostgreSQL. CX Codex +1 6,000installs setting-up-cloudtrail-multi-region Configures a multi-region AWS CloudTrail trail with S3 storage and CloudWatch Logs streaming. Useful for centralizing API audit logs and running security queries. CX Codex +1 6,100installs signing-in-to-aws Walks the agent through signing in to AWS from your local shell: version check, aws login once you confirm, then an identity check on the result. CX Codex +1 6,100installs connecting-vpcs-with-peering Sets up VPC peering connections between two VPCs for private network connectivity. It checks for CIDR overlap, updates route tables, and configures DNS resolution. CX Codex +1 6,100installs enabling-lambda-vpc-internet-access A skill that walks the agent through NAT Gateway, route tables and security groups when a Lambda in a private subnet cannot reach the internet. CX Codex +1 6,100installs troubleshooting-efs A skill that walks the agent through Amazon EFS failures: mount errors, NFS timeouts, access denied, slow throughput. CX Codex +1 5,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor