Skip to main content

RDS Subnet Group

The RDS Subnet Group is a collection of subnets within a Virtual Private Cloud (VPC) that you group together to provide a selection for hosting Amazon Relational Database Service (RDS) instances. These subnet groups make it easier to manage and deploy RDS instances in a multi-AZ (Availability Zone) deployment, ensuring fault tolerance and high availability. For more detailed information, you can refer to the official AWS documentation.

Terraform Mappings:

  • aws_db_subnet_group.arn

Supported Methods​

  • GET: Get a subnet group by name
  • LIST: List all subnet groups
  • SEARCH: Search for subnet groups by ARN

ec2-vpc​

The RDS Subnet Group is directly related to the ec2-vpc type as it is a collection of subnets within a particular VPC. This association ensures that RDS instances that use the subnet group for deployment are contained within the specified VPC's network boundaries.

ec2-subnet​

The RDS Subnet Group is a gathering of multiple ec2-subnet types, each representing an isolated network segment within a VPC. By using these subnets, the RDS Subnet Group ensures that instances are distributed across different subnets, increasing redundancy and availability of the database services.