Set Up Oracle Visual Builder Studio Generation 2
Like other Oracle Cloud services, you must create an instance of Oracle Visual Builder Studio (VB Studio) before you can start using it. You can create only one VB Studio instance per cloud tenancy. Your users can manage their development and deployment processes by taking advantage of VB Studio's many capabilities including development team management, issue tracking, Agile planning, Git version management, and continuous integration and deployment pipelines.
VB Studio Generation 2 refers to VB Studio running natively on Oracle Cloud Generation 2 Infrastructure.
It’s important that you determine if you’re running on Gen 2 so you know which chapter to read for set-up instructions. Let’s do a quick test: Open the OCI console, then open Developer Services. Scan the list for "Visual Builder Studio". If you don’t see it, that means you’re not running on Gen 2 and should refer to Set Up Oracle Visual Builder Studio instead of this chapter. If you do see it, then this chapter is the one you need.
After you finish creating an instance and setting it up, you'll need to set the build system up for CI/CD, by referring to Set Up VB Studio for CI/CD. Then, if you want to set up VB Studio to customize certain Oracle Cloud Applications through application extensions, see Set Up VB Studio to Extend Oracle Cloud Applications or, if you want to set up VB Studio to develop web and mobile visual applications and deploy them to Visual Builder instances, see Set Up VB Studio for Developing Visual Applications.
Availability
Visual Builder Studio Generation 2 is currently available in the regions listed in the OCI Data Regions page.
Select your region, then scroll down the list until you find the row for VB Studio. Alternatively, you can use Ctrl+F and search for "Oracle Visual Builder Studio". The row shows the data centers in the selected region where the VB Studio is currently available.
Service Limits
When you sign up for Oracle Cloud Infrastructure, a set of service limits is configured for your tenancy. The service limit is the quota or allowance set on a resource. Review the following service limits for VB Studio Generation 2 resources.
Resource | Service Limit |
---|---|
VB Studio instance count | 1 instance per region |
To learn more about service limits, see Service Limits.
IAM Policy Details for VB Studio
This section provides information about writing policies to control access to VB Studio.
Resource Types
These are the resources available for VB Studio:
- vbstudio-instance/vbstudio-instances
Supported Variables
Variables are used when adding conditions to a policy. The conditions are evaluated by the OCI authorization service when API requests are authorized.
For the complete list of general variables that are applicable to all requests, including those that can be used in policy statements authorizing VB Studio API requests, see General Variables for All Requests.
Details for Meta-Verb + Resource-Type Combinations
The following table shows the permissions and API operations covered by each meta-verb. The level of access is cumulative as you go from inspect > read > use > manage.
Verb | Permissions | APIs Fully Covered | APIs Partially Covered |
---|---|---|---|
INSPECT |
|
|
None |
READ |
|
|
None |
USE |
|
|
None |
MANAGE |
|
|
None |
Permissions Required for Each API Operation
API Operation | Permissions Required to Use the Operation | Description |
---|---|---|
ListVbsInstances |
VBS_INSTANCE_INSPECT |
List the VB Studio instances |
GetVbsInstance |
VBS_INSTANCE_READ |
Get the VB Studio instance |
CreateVbsInstance |
VBS_INSTANCE_CREATE |
Create a VB Studio instance |
DeleteVbsInstance |
VBS_INSTANCE_DELETE |
Delete a VB Studio instance |
UpdateVbsInstance |
VBS_INSTANCE_UPDATE |
Update a VB Studio instance |
ListWorkRequests |
VBS_INSTANCE_INSPECT |
List a Visual Builder instance's work requests |
GetWorkRequest |
VBS_INSTANCE_READ |
Get a Visual Builder instance's work request |
ListWorkRequestErrors |
VBS_INSTANCE_READ |
List a Visual Builder instance's work request errors |
ListWorkRequestLogs |
VBS_INSTANCE_READ |
List a Visual Builder instance's work request logs |
Example OCI IAM Policy Statements that Grant These Permissions
This example grants fine-grained permissions to a group called devteam1:
Allow devteam1 to {VBS_INSTANCE_INSPECT,VBS_INSTANCE_READ,VBS_INSTANCE_CREATE,VBS_INSTANCE_UPDATE,VBS_INSTANCE_DELETE,VBS_INSTANCE_MOVE} in tenancy
Here's another example that uses the friendlier meta-verbs to grant the same permissions to group devteam1 and a lesser set to another group, devteam2:
Allow devteam1 to manage vbstudio-instances in tenancy Allow devteam2 to use vbstudio-instances in tenancy
Additional Permissions Required to Create or Update VB Studio Instances with CI/CD Authorization
When a VB Studio instance is created and the "Yes, I authorize this" option is selected during the CI/CD setup, an additional policy will be automatically created to authorize VB Studio to perform the necessary operations in the selected compartment for the CI/CD resources. For this automatic policy creation to succeed, the user who creates the instance must also have permissions to manage policies in the root compartment (as well as permissions to manage dynamic groups). Typically, tenancy administrators have these permissions, so the easiest way to create a VB Studio instance is to have a tenancy administrator do it. If that isn't feasible, it's also possible to create the VB Studio instance without the CI/CD authorization and then set it up by performing an edit operation at a later time.
Service Events
Actions that you perform on Oracle Visual Builder Studio instances emit events. You can use the Oracle Cloud Console to define rules that trigger a specific action when an event occurs. For example, you might define a rule that sends a notification to administrators when someone either creates, deletes, or updates an instance.
See Overview of Events and Get Started with Events.
This table lists the Visual Builder Studio events that you can reference.
Event Name | Event Type |
---|---|
Visual Builder Studio - Create Instance - begin | com.oraclecloud.vbstudioinst.createvbsinstance.begin |
Visual Builder Studio - Create Instance - end | com.oraclecloud.vbstudioinst.createvbsinstance.end |
Visual Builder Studio - Delete Instance - begin | com.oraclecloud.vbstudioinst.deletevbsinstance.begin |
Visual Builder Studio - Delete Instance - end | com.oraclecloud.vbstudioinst.deletevbsinstance.end |
Visual Builder Studio - Update Instance - begin | com.oraclecloud.vbstudioinst.updatevbsinstance.begin |
Visual Builder Studio - Update Instance - end | com.oraclecloud.vbstudioinst.updatevbsinstance.end |
Get the Right IDCS Roles
If you're the Oracle Cloud account subscriber, you're assigned the required roles to set up the VB Studio instance. If you're not the subscriber, ensure that you are assigned the correct roles in Oracle Identity Cloud Service (IDCS).
You must be assigned this role: | To ... |
---|---|
Cloud Account Administrator | Set up Oracle Cloud Infrastructure (OCI) compartments, policies, dynamic groups, and permission to create and
manage the VB Studio instance.
If you're not an account administrator, contact the administrator to add you to the OCI_Administrators IDCS group. |
Identity Domain Administrator or User Administrator | Add users and assign IDCS roles.
If you're not an administrator, make sure that your OCI group is assigned a policy like this:
|
Configure Your OCI Resources for CI/CD
To allow your organization's members to run CI/CD builds, you should configure VB Studio to connect to an OCI account. Before you create the VB Studio instance, open the OCI console and create a compartment to host VB Studio's resources, such as Compute instances and Storage objects.
You can also run VB Studio on the free build executor (see VB Studio's Free VM Build Executor), but if you want to add more executor templates to reduce the wait time for your organization's members, create custom executor templates, or use advanced features (such as use your own VCN or use a different VM shape), you should configure VB Studio to connect to your own OCI account.
Create the VB Studio Instance
You can create only one VB Studio instance in an Oracle Cloud account. You must create it in your tenancy's root compartment.
Here's an example:

After you create the instance:
- You're assigned the DEVELOPER_ADMINISTRATOR IDCS role, which enables you to set up VB Studio, manage the VM build executors, and update the organization details. After you're assigned the role, you're also called the VB Studio's Organization Administrator.
- You receive an email with the subject Verify your Oracle Visual Builder Studio email. Open the email and click the URL link in the email body to
verify your email. This is required to receive email notifications from the
service.
After verifying the email address, you’ll receive another email with the subject Welcome to Oracle Visual Builder Studio. This email contains the VB Studio URL that you can bookmark.
- Default tags are created that help you identify the instance. On the VB Studio's Instance Details page, click the Tags tab to see the created tags. If you don't know how tags help, see How Tagging Works.
- Provide access for additional users. See Add Users to IDCS to add individuals or Manage Your Organization's Groups to add groups of users.
Access VB Studio from the Oracle Cloud Home Page
If you've signed out of the Oracle Cloud or VB Studio, follow these steps to sign back in.
The VB Studio Organization page opens, which displays all the projects you're a member of, as well as your favorite projects, the projects you own, and all the shared projects in your organization.
Here's an example of the Organization page with some projects:

Manage the VB Studio Instance
After creating the VB Studio instance, you change the CI/CD compartment and the instance's display name, but can't change the name displayed in the instance's URL.
Change the CI/CD Compartment
You can switch to another OCI compartment any time. When you switch, your current compartment's executor templates and VM executors migrate to the new compartment, but Object Storage buckets do not migrate. The data in buckets may include build artifacts, Maven artifacts, NPM artifacts, and exported project data.
- Open the Visual Builder Studio Instances page and click the VB Studio instance.
- Click Edit.
- In the Edit Instance box, under CI/CD Setup, select the compartment you want to use for VM executors and storage.
- Click Submit.
If you switch to the built-in free account, you'll lose access to data in Object Storage, and your current account's executor templates and VM executors. Instead, you'll get access to only one free VM build executor and the default executor template.
Switch to the Built-In Free Account
If you switch to the built-in free account, build executor templates and build executors of your current account are deleted and you get access to only one free VM build executor with fixed software in the default build executor template. You can't add more build executors or edit the executor template's software.
- Open the Visual Builder Studio Instances page and click the VB Studio instance.
- Click Edit.
- Deselect the Yes, I authorize this check box.
- In the Confirm Delete dialog box, click Delete Resources.
- In the Edit Instance dialog box, click Submit
Manage VB Studio Instance Tags
OCI tags enable you to tag your OCI resources, such as your VB Studio instance, and help you organize resources based on your business needs. You can manage VB Studio tags from the VB Studio Instance Details page.
If you're new to OCI tags, see Tagging Overview.
Action | How To |
---|---|
Add a tag |
|
Edit a tag |
|
Remove a tag |
|
Terminate the VB Studio Instance
When you terminate your VB Studio instance, all projects and their data (such as Git repositories, workspaces, build jobs, and build artifacts) are deleted. OCI resources, such as VM executors, are destroyed and OCI Object Storage buckets are deleted too.
- Open the Visual Builder Studio Instances page and click the VB Studio instance.
- Click Terminate.
- In the Confirm dialog box, enter the VB Studio instance's name and click Terminate.
Get a VB Studio Project's Identifier
The project identifier can be used with the OCI Resource Manager API at https://docs.oracle.com/iaas/api/#/en/resourcemanager/20180917/. It is used in URLs when working with the project's Git repositories and branches.
If you're a project owner, select Project
Administration in the navigator, click the
Properties tile, then look in the
Identifier field to find project identifier. Click to copy the ID to the clipboard.
If you're a project member, go to the project's Project Home page, click on
the Repositories tab, and examine the details of the Maven or Git
repository URL. Look for the part before /maven/
or
/scm/repository-name.git
at the end. Some project identifiers may
also include a numeric value appended to the project name. Click to copy the URL to the clipboard.