Search

RDS

Cluster

RDS Engine Version 가져오기

aws rds describe-db-clusters --db-cluster-identifier <ClusterName> --query 'DBClusters[0].EngineVersion' --output tex
Shell
복사

RDS Master UserName 가져오기

aws rds describe-db-clusters --db-cluster-identifier <ClusterName> --query 'DBClusters[0].MasterUsername' --output text
Shell
복사

RDS 인스턴스 타입 가져오기

aws rds describe-db-instances --query "DBInstances[?DBClusterIdentifier=='<ClusterName>'].DBInstanceClass" --output text
Shell
복사

RDS Endpoint 가져오기

aws rds describe-db-cluster-endpoints --query "DBClusterEndpoints[?EndpointType=='WRITER'].Endpoint" --output text
Shell
복사
Instance

RDS Engine Version 가져오기

aws rds describe-db-instances --db-instance-identifier <InstanceName> --query "DBInstances[0].EngineVersion" --output text
Shell
복사

RDS Master UserName 가져오기

aws rds describe-db-instances --db-instance-identifier <InstanceName> --query "DBInstances[0].MasterUsername" --output text
Shell
복사

RDS 인스턴스 타입 가져오기

aws rds describe-db-instances --db-instance-identifier <InstanceName> --query "DBInstances[0].DBInstanceClass" --output text
Shell
복사

RDS Endpoint 가져오기

aws rds describe-db-instances --db-instance-identifier <InstanceName> --query "DBInstances[0].Endpoint.Address" --output text
Shell
복사