LAB 01 ‐ Compartment - gautam-amitesh/OCI GitHub Wiki

Compartment

In OCI compartment is a logical separation of services inside a tenancy.

Navigation

To navigate to the compartment inside OCI tenancy

Navigation menu > Identity & Security > Compartments




Compartment hierarchy

  1. root compartment
  2. application compartment
  3. service compartment

Root compartment

Root compartment is the first layer of compartment. When tenancy is created, a root compartment with the same tenancy name is automatically created. In my case devoncloud01 (root) is the root compartment.


Application compartment

Application compartment is the second layer of compartment. It is created to separate each application by its name and for ease of access to services related to a particular application. In my case hub_compartment is the application compartment inside root compartment.


Service compartment

Service compartment is the third layer of compartment. It is created to separate different services for an application based on the service type. In my case hub_compute_and_storage_compartment and hub_network_compartment are service compartments inside application compartment.