Say I have two AWS EKS clusters, one in Europe and another one in North America, with the same app configured on both clusters. How can I configure the apps so they target the same managed PostgreSQL database that is running in the EU EKS ?
@emmanuelcohenlaroque , 2 main solutions:
- Preferred option if possible: Using inter-region VPC Peering to connect your US EKS cluster to the Postgres RDS VPC.
- Exposing your database publicly and whiteliste your US EKS cluster (must be created with Static IPs - It’s possible with Qovery).
Both are valid options, but I would recommend using the first one which is much more “state of the art” and secure.
Can you tell me which regions exactly your EKS clusters are running?
Side note: EU EKS and EU Postgres RDS (Managed Database) are running on different VPCs but EKS VPC has access to the EU RDS VPC since Qovery manages it for you. I assume that what you want is to give access to your EU RDS instance to your US EKS cluster.