What source do I use for inbound rules of database hosted with AWS RDS?

Hello. I'm hosting a Spring Boot app with a simple crud API and a MySQL DB on AWS RDS. Right now for the deployment to work I'm using 0.0.0.0/0 as a source for the inbound rule on the RDS service, it looks like this: IP Version: IPv4 Type: MYSQL/Aurora Protocol: TCP Port range: 3306 Source: 0.0.0.0/0 and everything works. However, 0.0.0.0/0 allows all connections... what source would I need to add to only allow the Spring Boot app connect to the database? Or does it need to stay as 0.0.0.0/0 ? Thank you!
5 Replies
Percy
Percy2y ago
Project ID: 7ace1db6-6524-48a6-96a1-f826f5229312
lotario
lotarioOP2y ago
7ace1db6-6524-48a6-96a1-f826f5229312
lotario
lotarioOP2y ago
thank you!
Brody
Brody2y ago
no problem!
Want results from more Discord servers?
Add your server