Live tool: https://aws-samples.github.io/sample-dsql-schema-convertor/
A web tool that converts database schemas from PostgreSQL, MySQL, Oracle, or SQL Server to Aurora DSQL-compatible format. Powered by AI (Amazon Bedrock) for intelligent conversion and dsql-lint for validation.
- Open the Schema Converter
- Select your source database engine
- Paste your DDL or upload
.sqlfiles - Click Convert Schema
- Review the output and conversion summary
- Click "Try in DSQL Playground" to test your converted schema
- Download the migration README for your records
- Multi-engine support — Convert from PostgreSQL, MySQL, Oracle, or SQL Server
- AI-powered conversion — Uses Amazon Bedrock to intelligently transform schemas for DSQL compatibility
- Validation — Validate output with
dsql-lintto catch any remaining issues - DSQL Playground integration — One-click to test your schema in the DSQL Playground
- Migration README — Download a
DSQL_MIGRATION.mddocumenting all changes made - File upload — Upload multiple
.sql,.ddl, or.txtfiles at once
Push to main — GitHub Actions builds and deploys to GitHub Pages automatically.
The backend provides AI-powered conversion via Amazon Bedrock and dsql-lint validation.
cd backend/cdk
npm install
npx cdk bootstrap # first time only
npx cdk deploySet the API Gateway URL output as VITE_API_URL in .env.production and push to redeploy the frontend.
The Bedrock model is configurable via Lambda environment variables:
| Variable | Default | Description |
|---|---|---|
BEDROCK_MODEL_ID |
anthropic.claude-sonnet-4-20250514-v1:0 |
The Bedrock model used for conversion |
BEDROCK_REGION |
us-west-2 |
AWS region for Bedrock API calls |
Update these in the Lambda console or CDK stack when newer models are available — no code change required.
npm install
npm run dev- Frontend: React
- Backend: Python 3.12 Lambda (Docker) with Strands Agents + Amazon Bedrock
- Validation: dsql-lint
- Infrastructure: AWS CDK (API Gateway + Lambda)
- Hosting: GitHub Pages (deployed via GitHub Actions)
This project is licensed under the MIT-0 License.