Creating a Compartment

The Oracle Cloud Console is designed to display your resources by compartment within the current region. When you work with your resources in the Oracle Cloud Console, you must choose which compartment to work in from a list on the page. That list is filtered to show only the compartments in the tenancy that you have permission to access. If you're an administrator, you'll have permission to view all compartments and work with any compartment's resources, but if you're a user with limited access, you probably won't.

You can create compartments in your Oracle cloud account, across regions, to organize your environments. When you create a compartment, it is available in every region that your tenancy is subscribed to.

To create a compartment:

  1. Sign in to the Oracle Cloud Console.
  2. Go to the Navigation menu, search for Identity, select Compartment.

    A list of the compartments you have access to in the tenancy is displayed.

  3. To create the compartment in the tenancy (root compartment) select Create Compartment. Otherwise, select through the hierarchy of compartments until you reach the detail page of the compartment in which you want to create the compartment. Then, on the details page, select Create Compartment.
    Create compartment

  4. Enter the name, description, parent compartment, and tags.
  5. Click Create Compartment.