Step 4: Create a Custom Image With Prerequisites Using the RPA cloud-init Script

We recommend creating a custom image that includes all the necessary prerequisite software required to run the RPA agent, such as JDK, Python, browsers, and other essential tools.

These are typically large software packages that can take significant time to download and set up. By using an instance pool with this custom image, you can ensure that provisioning new VMs will be faster, as they will already come preconfigured with the required software, reducing the time needed to get the RPA agent up and running in lesser time.

Supported System Configuration for Image

Before you create an instance, review the supported system configuration.

Linux

Architecture Browser

Oracle Linux 8+ (only AMD or Intel)

Headless Chrome or Headless Firefox

Windows

Architecture Supported

Standard Edition 2016

Google Chrome or Mozilla Firefox

Standard Edition 2019

Google Chrome or Mozilla Firefox

Standard Edition 2022

Google Chrome or Mozilla Firefox

Standard Edition 2025

Google Chrome or Headless Firefox

Step 4.1: Create an Instance

You can create an Oracle Linux or Windows instance.

  1. Open the Oracle Cloud Console navigation menu, click Compute, and then click Instances.
  2. Click Create instance. See Working with Instances.
  3. Enter or select the following
  4. Click to expand Advanced options.
    1. Under Initialization script, select Choose cloud-init script file.
    2. Drop or select the /autonomous/<OS>/rpa-cloud-init-script-prerequisite-software file.
  5. 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.

Step 4.2: Verify the Instance

Once you have created the instance, you must verify that the instance has successfully downloaded all the required software. This ensures that the custom image contains the necessary components as expected.

  1. Open the Oracle Cloud Console navigation menu, click Compute, and then click Instances.
  2. Select your instance and check the cloud-init-output.log file.
    • Linux: /var/log/cloud-init-output.log
    • Windows: C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log\cloud-init-output.log
    Verify that the message "RPA pre-requisite software has installed successfully" displays at the end of the file.

Step 4.3: Create a Custom Image

After you have created the instance, wait for atleast 3 minutes or follow these steps after you have verified the instance

  1. Open the Oracle Cloud Console navigation menu, click Compute, and then click Instances.
  2. Open the instance you created, click Actions, then click More Actions, and then click Create custom image.
  3. Enter or select the following
  4. Click Create custom image.
    It will take a few minutes to create the image.