0

I have created an Amazon EC2 instance and an Amazon RDS DB(MySQL) instance that both run in Amazon Virtual Private Cloud. I was looking to connect these instances using Python, but I have never connected an RDS before.

Does anyone have experience doing this that could assist?

Matt Oliva
  • 1
  • 1
  • 2

1 Answers1

0

Connecting to RDS is no different than connecting to a standard MySQL instance. This answer should help - How do I connect to a MySQL Database in Python?

Also, routing and networking might be a limiting factor to establishing a connecting. You will need a public IP on the instance or be able to route to the private IP space.

BryceH
  • 2,740
  • 2
  • 21
  • 24