AppRunner-RDS connection issues

1

I'm deploying an AppRunner service using an ECR Image, this service is public (both outgoing and incoming) and the actual issue is that I can't connect to a public RDS database. Actually RDS database is public just for debugging purposes and rapid testing of the image but my application can't reach (ETIMEOUT) that public database. Database endpoint is public and sg is allowing all inbound and all outbound. The same image deployed in ECS Fargate works correctly and also in my local environment while pointing to the public RDS instance.

Is that an issue or am I missing something?

  • Can you please confirm if you are passing the DB endpoint details as an environment variable and the same has defined correctly in AppRunner configuration ?

  • Yes, I confirm.

  • Are you using App Runner VPC connector resource? If yes, please make sure that it is configured with private subnets with NAT gateway enabled.

  • I'm using the public option, no VPC connector resource. This issue is quite unexplainable and I've no idea how to debug it.

  • We would need your App Runner service ARN or setup which we can reproduce to do further investigation on this.

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南