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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则