A compartment is a collection of related resources. It helps us isolate and control access to our resources.
Tenancy / Root Compartment
Root Compartment can hold all the Cloud Resources. Best Practice is to create dedicated compartments when we need to isolate resources.
Point to Note :-
Each resource belong to a single compartment.
Resources can interact with other resources in different compartment.
Resources and Compartments can be added and deleted anytime.
Resources can be moved from one compartment to another.
Resources from multiple regions can be in the same compartment.
Compartment can be nested (six level deep). We can give group of users access to compartments by writing policies.
Analyze cost and assign budget for resources in compartments.