Skip to content

Instantly share code, notes, and snippets.

@ahmedbadawy4
Created January 21, 2025 12:37
Show Gist options
  • Select an option

  • Save ahmedbadawy4/6e5a7c8d38b08e22ecc5c33dbd196fbe to your computer and use it in GitHub Desktop.

Select an option

Save ahmedbadawy4/6e5a7c8d38b08e22ecc5c33dbd196fbe to your computer and use it in GitHub Desktop.

How RDS Proxy Works

Setup

  1. Create an RDS Proxy for your existing RDS or Aurora database.
  2. The proxy connects to the database and manages connection pooling and authentication.

Application Connection

  • Applications (or users) connect to the RDS Proxy endpoint instead of directly connecting to the database.
  • The proxy handles the underlying database connections, ensuring efficient connection pooling and failover management.

Authentication

RDS Proxy supports the following authentication mechanisms:

  1. IAM Authentication:
    • Applications/users authenticate using AWS IAM roles or tokens.
  2. Secrets Manager Integration:
    • The proxy securely fetches database credentials from AWS Secrets Manager.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment