OCI

Textual representation of a simplified diagram illustrating the relationship between compartments and networking resources in Oracle Cloud Infrastructure

        +-------------------------------------------+
        |             OCI Tenancy                   |
        +-------------------------------------------+
                      | (Logical Isolation)
                      |
      +---------------|----------------+
      |               |                |
 +----|--------+ +----|--------+ +-----|--------+
 | Compartment | | Compartment | | Compartment |
 |     (Dev)    | |   (Test)    | |   (Prod)   |
 +--------------+ +-------------+ +------------+
      |                  |                 |
      |                  |                 |
 +----|--------+ +-------|--------+ +------|--------+
 |   VCN       | |    VCN       | |     VCN      |
 |  (Subnets,  | |  (Subnets,   | |   (Subnets,  |
 |  Gateways,  | |  Gateways,  | |   Gateways, |
 |  Route      | |  Route      | |   Route     |
 |  Tables,    | |  Tables,    | |   Tables,   |
 |  Security   | |  Security   | |   Security  |
 |  Lists,     | |  Lists,     | |   Lists,    |
 |  etc.)      | |  etc.)      | |   etc.)     |
 +-------------+ +-------------+ +-------------+
  1. The OCI Tenancy represents the top-level organizational unit in OCI.
  2. Compartments (e.g., Development, Test, Production) are used to logically segregate resources within the tenancy.
  3. Each compartment can contain various networking resources such as Virtual Cloud Networks (VCNs), subnets, gateways, route tables, security lists, etc.
  4. Although networking resources are not directly separated by compartments, access to these resources can be controlled using IAM policies attached to compartments.