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.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions