Can not remote connect to RDS DB instance of AWS

后端 未结 2 947
抹茶落季
抹茶落季 2021-01-17 01:41

I have a problem with connect to DB instance of AWS after I config that:

http://www.test.htmlcssworld.com/CDN/rds-dashboard.png

I already add this DB instanc

2条回答
  •  庸人自扰
    2021-01-17 02:06

    A couple of things to check

    • Security group (you did that already, looks good)
    • Subnet is public ? i.e. it has a Routing Table that includes a Rule that says 0.0.0.0/0 DST Internet Gateway
    • Internet Gateway is attached to your VPC

    On a side note, I would strongly discourage to make your database publicly available on the internet. In an ideal world, your database must have only a private IP address and must be available only from your app servers. Should you really need to be able to access your database from the Internet, your Security Group should be restricted to a /32 IP address

提交回复
热议问题