RDS Proxy raises InvalidParameterValue error

0

Hi, I'm glad RDS Proxy was generally available.
I'm applying RDS Proxy to my Aurora MySQL 5.7.12 cluster, referring to https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.html.
But I cannot register DB Proxy Targets as follows:

% aws rds register-db-proxy-targets --db-proxy-name my-rds-proxy --db-instance-identifier my-rds-cluster

An error occurred (InvalidParameterValue) when calling the RegisterDBProxyTargets operation: Database engine OSCAR 5.7.12 for DB Instance my-rds-cluster is not supported. Register the DB cluster instead of DB instance, or use another DB instance that is supported.

Document said, "You can simplify connection management for your Amazon RDS DB instances and Amazon Aurora DB clusters by using RDS Proxy." My aurora can't though.
Any solutions?

chck
質問済み 4年前906ビュー
1回答
0
承認された回答

Hello,

As per the command used by you, I can see that the AWS CLI command for registering target group of RDS Proxy uses --db-instance-identifiers option which needs a "instance identifier" and I suspect that the "Cluster Identifier" was mentioned.

For cluster, you can use the option "--db-cluster-identifiers". The above information is mentioned in the below document.
[+] https://docs.aws.amazon.com/cli/latest/reference/rds/register-db-proxy-targets.html

AWS
サポートエンジニア
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン