LAB 1 Compartment - arunsinghchauhan38-arch/CLOUDARCHITECTDOC GitHub Wiki

Compartment

  • Definition:- A Compartment is a logical container used to organize and isolate cloud resources within a tenancy.

  • Purpose:- A Compartment provide security isolation and access control by grouping resources and applying policies.

  • Scope:- Compartments are global across all OCI regions within a tenancy.

  • Access Control:- IAM policies determine who can access resources in a compartment.

  • Organization:- They Can reflect your company's structure (e.g., separate compartments for Finance,HR,IT)

  • Flexibility:- Most resources can be moved between compartment if needed.

Compartment Created under the root compartment {tech141275(root)}. Every compartment created under this root compartment called child compartment.

Steps we follow to create a compartment under the root compartment

Step- 1 Login to OCI Account

  • Enter your Cloud Account Name
  • Enter your user id & password
  • Step- 2 In the top left-hand corner, click on the navigation menu/Burger Menu and scroll down to find identity & security menu and click on it.
  • Step- 3 In Identity list click on Compartments. after click on compartments we show the main compartments window or screen its called the root compartment in tenancy. Its show like tech141275(root) this show in my case.
  • Step- 4 Click on root compartment for make child compartment
  • Step- 5 Now Click on create compartment for create a child compartment.
  • Step- 6 Enter the name of child compartment, Description of child compartment for which work its make and select the parent compartment as root compartment. after filling the all details click on Create Compartment.

After Creating a child compartment we will start creating the service level compartment.

  • Step- 7 Click on the Child Compartment recently we make - flipkartaap and create the services.
  • Step - 8 Fill the Name of the Service, Description and select the perent compartment as "flipkartapp". because we create service compartment into the child compartment. after in click or create compartment button.
  • Step- 9 Now we create another service compartment into the child compartment.