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

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* <code>aws rds describe-db-instances | [[grep -w]] [[DBInstanceIdentifier]]</code>
 
* <code>aws rds describe-db-instances | [[grep -w]] [[DBInstanceIdentifier]]</code>
 
* <code>aws rds describe-db-instances | grep [[Address]]</code>
 
* <code>aws rds describe-db-instances | grep [[Address]]</code>
 +
* <code>aws rds describe-db-instances | grep [[MultiAZ]]</code>
 
* <code>[[aws rds describe-db-instances --db-instance-identifier MY_DB_NAME]]</code>
 
* <code>[[aws rds describe-db-instances --db-instance-identifier MY_DB_NAME]]</code>
 
* <code>[[aws rds describe-db-instances --output table]]</code>
 
* <code>[[aws rds describe-db-instances --output table]]</code>

Revision as of 11:37, 24 November 2021

https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-instances.html

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

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...
        }
    ]
}

Related terms

See also

Advertising: