My Oracle Support Banner

OCI- How to retrieve instance metadata from command line (Doc ID 2570001.1)

Last updated on FEBRUARY 26, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


 How to gather the metadata for an instance including its OCID , display name, compartment , shape, region, availability domain , creation date, state, image, and any custom metadata from within the instance level.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.