We have seen the concepts of a VPC and a private subnet. An RDS instance is recommended to be launched into a private subnet of a VPC so that it is not publicly accessible.
Moving RDS into a VPC's private subnet
Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.