Difference between revisions of "Aws rds describe-db-instances"

From wikieduonline
Jump to navigation Jump to search
 
Line 3: Line 3:
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-instances.html
 
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-instances.html
  
* <code>aws rds describe-db-instances | egrep -w "DBInstanceIdentifier|[[Address]]|[[PubliclyAccessible]]"</code>
+
* <code>aws rds describe-db-instances | egrep -w "DBInstanceIdentifier|[[Address]]|[[PubliclyAccessible]]|[[DBInstanceStatus]]"</code>
 
* <code>aws rds describe-db-instances | egrep "DBInstanceIdentifier|[[AllocatedStorage]]"</code>
 
* <code>aws rds describe-db-instances | egrep "DBInstanceIdentifier|[[AllocatedStorage]]"</code>
 
* <code>aws rds describe-db-instances | [[grep -w]] [[DBInstanceIdentifier]]</code>
 
* <code>aws rds describe-db-instances | [[grep -w]] [[DBInstanceIdentifier]]</code>

Latest revision as of 11:29, 28 December 2022

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-instances.html


Replication[edit]

Storage data[edit]

arn:aws:rds:eu-central-1:4523523466:db:my_branches_name	postgres  my_branches_name	available

Version:

  • aws rds describe-db-instances | egrep -w "EngineVersion|DBInstanceIdentifier"

Example Output[edit]

{
    "DBInstances": [
        {
            "DBInstanceIdentifier": "mydbinstancecf",
            "DBInstanceClass": "db.t3.small",
            "Engine": "mysql",
            "DBInstanceStatus": "available",
            "MasterUsername": "masterawsuser",
            "Endpoint": {
                "Address": "mydbinstancecf.abcexample.us-east-1.rds.amazonaws.com",
                "Port": 3306,
                "HostedZoneId": "Z2R2ITUGPM61AM"
            },
            ...some output truncated...
        }
    ]
}
  • Engine: mysql, postgres

Related terms[edit]

See also[edit]

Advertising: