Uploading an Orchestration v2

To use an orchestration to control the provisioning and life cycle of objects in Compute Classic, you must define the orchestration in a JSON-format file and then upload the orchestration to Compute Classic.


  • To complete this task, you must have the Compute_Operations role. If this role isn’t assigned to you or you’re not sure, then ask your system administrator to ensure that the role is assigned to you in Oracle Cloud Infrastructure Classic Console. See Modifying User Roles in Managing and Monitoring Oracle Cloud.

  • You must have already created the orchestration file that you want to upload. See Building Your First Orchestration v2

  • You should also validate your JSON file. You can do this by using a third-party tool, such as JSONLint, or any other validation tool of your choice. If your JSON isn’t valid, then an error occurs when you upload the orchestration. Oracle doesn’t support or endorse any third-party JSON-validation tool.


  1. Sign in to the Compute Classic console. If your domain spans multiple sites, select the appropriate site. To change the site, click the Site menu near the top of the page.
  2. Click the Orchestrations tab.
  3. Click Upload Orchestration and select the orchestration file that you want to upload.

    The orchestration is uploaded. If you upload an orchestrations v2 file with the desired_state specified as active, the orchestration is started automatically and the objects defined in it are created.

To upload an orchestration using the CLI, use the opc compute orchestration-v2 add command. For help with that command, run the command with the -h option. For the instructions to install the CLI client, see Preparing to Use the Compute Classic CLI in CLI Reference for Oracle Cloud Infrastructure Compute Classic.

To upload orchestrations v2 using the API, use the POST /platform/v1/orchestration/ method. See REST API for Oracle Cloud Infrastructure Compute Classic.