Create Required OCI Resources

Visual Builder instances use the Oracle Cloud Infrastructure (OCI) as their underlying infrastructure. If you're the tenant administrator, create the required OCI resources Visual Builder instances need.

To do this: See this:
Create a compartment.

To create an instance, you must first create a compartment. You can use the root compartment and the tenancy user that was created when the OCI account was created, but it's recommended to create a dedicated compartment to host the Visual Builder instance.

Create a Compartment for Visual Builder

If you want someone else to create the compartment and other OCI resources, add the user to the OCI_Administrators group. See Add an Existing User to the OCI_Administrators IDCS Group.

Add users who can manage the Visual Builder instance.

If you want other non-admin users to create and manage Visual Builder instances, assign them the required OCI policies. Skip this step if you plan to create and manage the instances yourself.

Create Oracle Cloud Infrastructure Groups and Policies
Map a custom endpoint to the Visual Builder instance use it to access the instance instead of the original URL generated in the OCI Console Create and Configure a Custom Endpoint for Your Visual Builder Instance
Set Visual Builder instance quotas Set Instance Quotas for a Compartment

Add an Existing User to the OCI_Administrators IDCS Group

If you're a tenant administrator and plan to create the OCI resources yourself, skip this procedure.
  1. On the OCI console, in the upper-left corner, click Navigation Menu the Menu icon.
  2. Select Identity & Security and then under Identity, select Federation.
  3. Select the OracleIdentityCloudService link to view the default Oracle Identity Cloud Service identity federation.
  4. Select Groups from the Resources options.
  5. Click the OCI_Administrators group.
  6. Click Add to IDCS Group.
  7. In the Add User to IDCS Group dialog box, select the user and click Add.

Create a Compartment for Visual Builder

To create a compartment, you must be either a tenant administrator or a user in the OCI_Administrators IDCS group.
  1. On the OCI console, in the upper-left corner, click Navigation Menu the Menu icon.
  2. Select Identity & Security and then under Identity, select Compartments.
  3. To create the compartment in the tenancy (root compartment), click Create Compartment.
  4. In the Create Compartment dialog box, fill in the fields and click Create Compartment.
    To learn more about compartments, see Managing Compartments.

Set Instance Quotas for a Compartment

As you can create multiple Visual Builder instances in a compartment, you should set a limit on number of instances your users can create.

  1. Sign in to the OCI Console.
  2. Open the navigation menu and click Identity & Security. Under Identity, click Policies.
  3. Click Create Policy.
  4. In the Create Policy window, enter a name (for example, instanceCreationQuota) and a description. Under Policy Builder, choose Show manual editor.
  5. Complete the Policy Statements field. As an example, to set a quota limit of 10 instances for the compartment named MyCompartment, enter the following statement:
    Set visualbuilder quota instance-count to <number_of_instances> in compartment <compartment-name>

    Here's an example:

    Set visualbuilder quota instance-count to 10 in compartment MyVBCompartment
    Where:
    • visualbuilder: Is the family name for Visual Builder.
    • instance-count: Is the quota name.
  6. Click Create.

    The policy statement is validated and any syntax errors are displayed.