1 Answer
- Newest
- Most votes
- Most comments
2
Hello.
You can connect RDS even if it is launched in a different VPC than EKS.
However, in order to connect, you need to be able to connect the VPC where RDS is running and the VPC where EKS is running using VPC peering or TransitGateway.
The following document uses EC2 as an example, but the same applies to EKS as well.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Scenarios.html#USER_VPC.Scenario3
If they are in the same VPC, you can connect if you allow connections from EKS in the RDS security group as described in the document below.
https://docs.aws.amazon.com/eks/latest/best-practices/sgpp.html
Relevant content
asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
