Configuring RDS with EC2

When configuring RDS with EC2, ensure that your EC2 instance meet the following
criteria:

  • EC2 instance has to be in the same security group as the RDS instance (note,
    you can actually configure an instance to be in multiple security groups)
  • RDS instance’s security group, has to accept traffic coming from the EC2
    instance’s public facing ip (elastic ip) if available.