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

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
* <code>[[aws rds describe-db-instances --output text --query]] 'DBInstances[*].[DBInstanceArn,Engine,[[DBInstanceIdentifier]],[[DBInstanceStatus]]]'</code>
 
* <code>[[aws rds describe-db-instances --output text --query]] 'DBInstances[*].[DBInstanceArn,Engine,[[DBInstanceIdentifier]],[[DBInstanceStatus]]]'</code>
 
  [[arn]]:aws:rds:eu-central-1:4523523466:db:my_branches_name postgres  my_branches_name available
 
  [[arn]]:aws:rds:eu-central-1:4523523466:db:my_branches_name postgres  my_branches_name available
Version:
+
[[PostgreSQL version|Version]]:
 
* <code>aws rds describe-db-instances | grep [[EngineVersion]]</code>
 
* <code>aws rds describe-db-instances | grep [[EngineVersion]]</code>
  

Revision as of 09:21, 20 January 2022

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

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

Version:


Output:

{
    "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

Storage data:

Related terms

See also

Advertising: