Step 5: Configure the Instance Using the RPA cloud-init Script

After you create the instance, you must configure the required settings using the rpa-cloud-init-script-agent-install script.

  1. Open the Oracle Cloud Console navigation menu, click Compute, and then click Instance Configurations.
  2. Click Create instance configuration.
  3. Enter or select the following
    • Name: Enter a name. For example, rpa-inst-config-preprod.
    • Create in compartment and Compartment to create instances in: Select the compartment created in Step 1: Create an Oracle Cloud Infrastructure Compartment.
    • Image and Shape:
      • Image: Choose the custom image that you have created earlier (for example, rpa-agent-image-prerequisite-<os>-v1.0.).
      • Shape: Choose the shape (size) of the instance you want to launch (for example, VM.Standard2.2).
  4. Click to expand Advanced options.
    1. Under Instance metadata service, you MUST select the Require an authorization header option.
    2. Under Initialization script, select Choose cloud-init script file.
    3. Drop or select the /autonomous/<OS>/rpa-cloud-init-script-agent-install file.

      Note:

      • By default, one agent starts per instance. If there is a need to start multiple agents at the same instance, based on the instance size and capacity, you must update the configuration before uploading the initialization script.
      • To do this, edit the /autonomous/<OS>/rpa-cloud-init-script-agent-install file, locate the AGENT_COUNT variable (which is set to 1 by default), change it to the required number of agents, save the changes, and then upload the script again for it to take effect.
      • For Production environments, the default setting of one agent per instance is recommended.
  5. Click Next, review the Security section and then click Next.
  6. In the Networking section, you must select the VCN and subnet created in Step 3: Create a VCN.
  7. In the Add SSH keys section, upload or download the SSH key details to access the instance later.
  8. Click Next and then click Create.