Compartments:
It is a Logical Collection of OCI resource (Compute Machines,
Subnets, object Storage etc).
You can apply the IAM to each compartment. It provides a logical division so that access can be provided accordingly
Below are its characteristics:
- - Each resource can go to single compartment
-Compartments can be nested (Six level deep)
- -Resources can interact with other resources in
different compartments
- -Resources and compartments can be added and
deleted anytime
- -Resource can be moved from one compartment to other
- -You can give access to group of users for a
compartment