RDS Instance
An Amazon Relational Database Service (RDS) instance is a managed database service that simplifies set-up, operation, and scaling of a relational database in the cloud. It automates time-consuming database administration tasks such as hardware provisioning, database setup, patching, and backups. More information can be found in the official AWS documentation.
Terrafrom Mappings:
aws_db_instance.identifier
aws_db_instance_role_association.db_instance_identifier
Supported Methods​
GET
: Get an instance by IDLIST
: List all instancesSEARCH
: Search for instances by ARN
Possible Links​
dns
​
The RDS instance may be associated with a DNS record that resolves to the instance's endpoint, allowing applications to connect using a human-readable domain name.
route53-hosted-zone
​
RDS instances can have their endpoints registered within an Amazon Route 53 hosted zone to facilitate connections through custom domain names managed within the AWS infrastructure.
ec2-security-group
​
RDS instances use EC2 security groups to control inbound and outbound traffic rules, ensuring only authorised network communication can reach the database.
rds-db-parameter-group
​
An RDS DB parameter group acts as a container for engine configuration values that are applied to one or more RDS instances, allowing fine-tuning of database operations.
rds-db-subnet-group
​
RDS instances are deployed within a specific DB subnet group, which defines the subnets and the IP range within a VPC where the database instances can run.
rds-db-cluster
​
In the context of RDS, instances may be part of a DB cluster, particularly for certain database engines like Amazon Aurora, requiring interaction between the instance and the cluster's resources.
kms-key
​
RDS instances can use AWS Key Management Service (KMS) keys to encrypt data at rest, supporting both automatic encryption during storage and decryption during retrieval.
iam-role
​
IAM roles can be associated with RDS instances to provide the necessary permissions for services like Amazon RDS to access other AWS services securely.
iam-instance-profile
​
Though typically linked with EC2 instances, IAM instance profiles may also interact with RDS instances in certain advanced configurations where EC2 integration is required.