Accessing RDS from within a Docker container not getting through security group?

前端 未结 5 2085
野性不改
野性不改 2020-12-13 10:29

I\'m attempting to run a webserver that uses an RDS database with EC2 inside a docker container.

I\'ve setup the security groups so the EC2 host\'s role is allowed

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 11:05

    The inbound rule for the RDS should be set to the private IP of the EC2 instance rather than the public IPv4.

提交回复
热议问题