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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인