Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 930 Bytes

File metadata and controls

9 lines (8 loc) · 930 Bytes

Step -6 : Creating Database in Private Subnet

  1. To create an RDS DB in a private subnet, we need to configure a Subnet group first ,Follow these steps to configure the Subnet group:
  • Create a new file with an appropriate name for the Subnet group configuration.
  • Copy the code from the db-subnet-group.tf file and paste it into the new file you just created.
  1. Next, proceed to configure the RDS DB:
  • Create a new file for RDS configuration.
  • Copy the code from the rds.tf file and paste it into the new file.
  1. By following these steps, you will have successfully configured the RDS DB in a private subnet."