简体   繁体   中英

How to connect RDS database with AWS Redshift Serverless?

I want to connect RDS database with Redshift serverless to access data to query over RDS data from Redshift serverless editor. How can I do that?

AWS Redshift Serverless

Above article discusses about connecting S3 or RDS but does not specify how to connect it.

Thank you!

You need to be more explicit in how you write your question. If I understand you correctly, you want to run a query in Redshift that retrieves data from RDS, yes? If so, that can be done using the Federated Query feature. It is independent of serverless or regular Redshift. There are quite a few steps involved so I'm not gonna write a few pages here. Check out https://docs.aws.amazon.com/redshift/latest/dg/federated-overview.html for federated query instructions to connect to RDS including how to setup an IAM role (required).

There's also a blog with more details and, IMO, better instructions https://aws.amazon.com/blogs/big-data/announcing-amazon-redshift-federated-querying-to-amazon-aurora-mysql-and-amazon-rds-for-mysql/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM