Difference between revisions of "Aws rds describe-db-instances"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
[[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 | ||
+ | Output: | ||
+ | <pre> | ||
+ | { | ||
+ | "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... | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | </pre> | ||
== Related terms == | == Related terms == |
Revision as of 14:55, 3 November 2021
aws rds describe-db-instances
https://docs.aws.amazon.com/cli/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 --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... } ] }
Related terms
DBINSTANCES
AllocatedStorage
DBInstanceStatus
DBInstanceIdentifier
MasterUsername
aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE
- aws list all
See also
- AWS RDS:
AWS::RDS
,aws rds
[create-db-instance | create-db-instance-read-replica
|describe-db-instances
|modify-db-instance | modify-db-cluster | create-db-subnet-group
|delete-db-instance
|create-db-snapshot | aws rds create-db-parameter-group
],AllocatedStorage, FreeStorageSpace
- Amazon databases: AWS RDS, storage,
aws rds
, Amazon RDS Proxy, RDS FAQs, PostgreSQL, MySQL, SQL Server, AWS Outposts, Amazon Aurora, Amazon Aurora Serverless , Amazon DocumentDB, Amazon DynamoDB, Amazon Redshift, Amazon QLDB, Amazon RDS Performance Insights, DataFileRead, DMS, Amazon Neptune, Amazon MemoryDB for Redis, Amazon RDS query editor for Aurora Serverless, Amazon Redshift query editor, AWS RDS Snapshots, AWS RDS Instance Types,rds_superuser
, Authentication, autoscaling
Advertising: