Home icon

Integrate Amazon Aurora MySQL and Amazon Bedrock using SQL

Database Blog



This article discusses how to integrate Amazon Aurora MySQL with Amazon Bedrock, a service that provides access to generative AI foundation models, using SQL. It covers:

  • Solution overview explaining Aurora MySQL, Amazon Bedrock, and their integration
  • Prerequisites for using this solution
  • Steps to create an Aurora MySQL cluster, database, and user
  • Creating an IAM role and policy to allow Aurora to access Bedrock
  • Enabling Amazon Bedrock models on the Aurora cluster
  • Creating functions to invoke Bedrock models like Amazon Titan Text G1 and Anthropic Claude 3 Haiku
  • Two use cases:
    • Complementing database information using Bedrock
    • Summarizing long text data using Bedrock
  • Considerations like performance and costs
  • Cleanup steps


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 23
2025
Connect Amazon Bedrock Agents with Amazon Aurora PostgreSQL using Amazon RDS Data API
May 8
2024
Use Kerberos authentication with Amazon Aurora MySQL
Jun 5
2024
Amazon Aurora MySQL 3.07 (compatible with MySQL 8.0.36) is generally available
Jul 2
2024
Integrating Amazon Bedrock in your .NET applications

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.