Fetch hardware details(Physical Ram, Number of Cores, Operating System) of a RDS(Postgresql, Aurora) instance

0

Fetch hardware details(Physical Ram, Number of Cores, Operating System) of an RDS(Postgresql, Aurora) instance. There are APIs to check the details of CPU usage, Memory usage, etc. But, the use case which I want to achieve is not the amount of resource consumed but the capacity of the instance where RDS is running. Is there any way to achieve this?

1 Antwort
0
Akzeptierte Antwort

Hi - Not sure what the use case is but you can try the following combination to get what you need.

  1. describe-db-instances - this will provide "DBInstanceClass"
  2. describe-instance-types - this will provide details on "DefaultVCpus", "MemoryInfo" which will be "SizeInMiB". You may have to remove "db." before making call e.g. aws ec2 describe-instance-types --instance-types r6i.12xlarge
profile pictureAWS
EXPERTE
beantwortet vor 2 Jahren
  • Hi - Yeah It surely worked, Thanks for the answer :), But the operating system still I'm not sure on which type of OS platform an rds instance is created. I have a use case to consider OS(like on which platform DB is installed). Can we consider it always getting created on the Linux platform? If yes, any idea if it's documented anywhere? Thanks in Advance!

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen