Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which RDS DB instances are supported for DB Proxy?

I'm trying to create a RDS DB Proxy for a Postgres 12.3 RDS instance (not Aurora) via CloudFormation. Stack creation fails with the following message:

Database engine POSTGRES 12.3 for DB Instance db-name is not supported. Register the DB cluster instead of DB instance, or use another DB instance that is supported. (Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterValue; Request ID: ...)

I cannot find any documentation on which DB instances are supported, i.e. will Postgres 12.2 be OK? Will configuring a cluster make any difference? From the documentation I've seen it appears only Aurora databases support clusters so that may not be an option.

According to this Amazon blog post RDS proxies for Postgres are now 'generally available'.

EDIT: 11.2 also fails Database engine POSTGRES 11.2 for DB Instance db-name is not supported.

like image 538
tomfumb Avatar asked Jul 25 '20 05:07

tomfumb


People also ask

What is RDS database proxy?

RDS Proxy is a fully-managed, highly available, and easy-to-use database proxy feature of Amazon RDS that enables your applications to: 1) improve scalability by pooling and sharing database connections; 2) improve availability by reducing database failover times by up to 66% and preserving application connections ...

What databases are supported by RDS?

Amazon RDS supports Amazon Aurora, MySQL, MariaDB, Oracle, SQL Server, and PostgreSQL database engines.

When would you use an RDS proxy?

RDS proxy helps improve application availability during failure scenarios such as a database failover. RDS Proxy gives you the choice to use IAM authentication for connecting to the database, thus removing the need for database credentials in the application code.

Does RDS proxy work with Aurora?

Amazon RDS Proxy is available for Amazon Aurora with MySQL compatibility, Amazon Aurora with PostgreSQL compatibility, Amazon RDS for MariaDB, Amazon RDS for MySQL, and Amazon RDS for PostgreSQL.


2 Answers

I finally managed to find some information in another blog post - not the first place I'd look for RDS documentation but apparently this is all I'm going to get.

According to https://aws.amazon.com/blogs/aws/amazon-rds-proxy-now-generally-available/

Currently, RDS Proxy is available for the MySQL and PostgreSQL engine family. This engine family includes RDS for MySQL 5.6 and 5.7, PostgreSQL 10.11 and 11.5.

like image 195
tomfumb Avatar answered Oct 22 '22 09:10

tomfumb


Supported versions are listed in the Amazon Aurora documentation located in the following path:

Configuring Your Aurora DB Cluster => Connecting to a DB Cluster => Managing Connections with RDS Proxy

Here's a link directly to that section. You will find supported versions of DBs under the header "Limitations for RDS Proxy"

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-proxy.html#rds-proxy-setup

like image 23
scotty1031 Avatar answered Oct 22 '22 08:10

scotty1031