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
asked 4 years ago841 views
1 Answer
0
Accepted Answer

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
SUPPORT ENGINEER
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions