- Newest
- Most votes
- Most comments
Hi,
I assume you have read this When the service fails to connect to Amazon RDS or downstream service. It appears your settings are aligned with this.
I would suggest the following:
Test the connectivity: From an EC2 instance within the same VPC as the RDS instance, try connecting to the RDS instance to ensure the network configuration is correct. If connection is not successful, review your VPC, subnet, and security group configurations.
Enable VPC flow logs: Enable VPC flow logs and look for traffic related to the ENIs associated with the App Runner service's VPC Connector. This will help you identify any network traffic issues.
Use Reachability Analyzer: Use the Reachability Analyzer tool to identify any network misconfigurations between the App Runner service and the RDS instance. Enter the App Runner ENI as the source and the RDS ENI as the destination.
Contact AWS Support: If you're still unable to resolve the issue after following the above steps, contact AWS Support for further assistance.
Thanks, Rama
Relevant content
- asked 3 months ago
I am trying to connect my AWS App Runner service to an Amazon RDS database that is privately accessible and located in the default VPC. Here is the configuration and the issue I'm facing:
Current Configuration:
RDS Configuration:
The RDS instance is in the default VPC. It has associated subnets and security groups. App Runner Configuration:
Incoming Traffic: Set to be publicly accessible. Outgoing Traffic: Created a VPC connector and added it to the outgoing traffic configuration. Selected the same VPC, subnets, and security groups as those used by the RDS instance. Issue: When I save these changes and deploy the App Runner service, the deployment fails and rolls back with the message: "Successfully rolled back update of my-service-name."
Question: Do I need to make changes in both incoming and outgoing traffic settings in App Runner, or just in the outgoing traffic, to successfully connect to the privately accessible RDS instance? What specific settings should I use for the VPC, subnets, and security groups in the VPC connector?