Restrict RDS Inbound Rules for AWS App Runner Access Only

0

this is to update the security configuration of our PostgreSQL RDS instance. Currently, our RDS security group allows connections from any IP address (0.0.0.0). However, this is not secure and we want to limit the inbound rules to only allow connections from our AWS App Runner service. is it possible? if yes how to do that?

1 Answer
0
Accepted Answer

Hi,

AWS App Runner services can now communicate with other applications hosted in an Amazon VPC. Within App Runner, you can now create VPC connectors that specify which VPC, subnets, and security groups to use for private networking.

Once you have configured the App Runner with VPC connector, you can configure RDS security group to accept traffic from the subnet range of the VPC which you connected with App Runner, or accept the traffic from the security group configured with App Runner.

Please take a look at this documentation for Enabling VPC access for outgoing traffic.

Additional documentation

Deep Dive on AWS App Runner VPC Networking

New for App Runner – VPC Support

AWS
answered 10 months ago

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