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