GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lapozzo/rds-proxy-example: Simple RDS Proxy example

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
lambda
lambda
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
build-lambda.sh
build-lambda.sh
 
 
lambda.tf
lambda.tf
 
 
main.tf
main.tf
 
 
outputs.tf
outputs.tf
 
 
rds.tf
rds.tf
 
 
rds_proxy.tf
rds_proxy.tf
 
 
rds_proxy_role.tf
rds_proxy_role.tf
 
 
terraform.tfvars
terraform.tfvars
 
 
variables.tf
variables.tf
 
 
vpc.tf
vpc.tf
 
 

Repository files navigation

Introduction

Simple RDS Proxy example with Terraform

Requirements

  • aws-cli/2.0.56+
  • Python/3.7.3+

Provisioned Components

  • VPC and Subnets
  • RDS Mysql 8.0.27 (db.t3.micro)
  • RDS Proxy, Secrets, Roles and Policies
  • Lambda (simple connection test with RDS Proxy)

Troubleshooting

If you have some problem with RDS Proxy, try to describe the RDS Proxy components and look for the state and reason fields:

aws rds describe-db-proxy-targets --db-proxy-name rdsproxy
aws rds describe-db-proxies --db-proxy-name rdsproxy
aws rds describe-db-proxy-target-groups --db-proxy-name rdsproxy

Verify the CloudWatch /aws/rds/proxy/rdsproxy log group and Proxy metrics for some hints.

Carefully read the 'Quotas and limitations for RDS Proxy', for example: 'all proxies listen on port 3306 for MySQL' event if your MySql listen on another port, that can lead to Time Out if your security group not allow 3306.

More info: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.troubleshooting.html

About

Simple RDS Proxy example

Topics

lambdapython3rds-mysqlrds-proxyterraform

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.