Difference between revisions of "Aws rds describe-db-instances"
Jump to navigation
Jump to search
Line 36: | Line 36: | ||
[[Storage]] data: | [[Storage]] data: | ||
* <code>[[AllocatedStorage]]</code> | * <code>[[AllocatedStorage]]</code> | ||
− | * <code>[[StorageType]]: standard, [[io1]] | + | * <code>[[StorageType]]: standard, [[io1]] and [[gp2]]. |
* <code>[[StorageEncrypted]], [[MaxAllocatedStorage]]</code> | * <code>[[StorageEncrypted]], [[MaxAllocatedStorage]]</code> | ||
Revision as of 08:40, 26 November 2021
aws rds describe-db-instances
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-instances.html
aws rds describe-db-instances | grep -w DBInstanceIdentifier
aws rds describe-db-instances | grep Address
aws rds describe-db-instances | grep MultiAZ
aws rds describe-db-instances --db-instance-identifier MY_DB_NAME
aws rds describe-db-instances --output table
aws rds describe-db-instances --output text --query 'DBInstances[*].[DBInstanceArn,Engine,DBInstanceIdentifier,DBInstanceStatus]'
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... } ] }
Engine: mysql, postgres
Storage data:
AllocatedStorage
StorageType: standard, io1 and gp2.
StorageEncrypted, MaxAllocatedStorage
Related terms
DBINSTANCES
DBInstanceStatus
DBInstanceIdentifier
MasterUsername
aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE
aws list all
- VpcId:
aws rds describe-db-instances | grep VcpId
See also
Advertising: