Skip to main content

AWS Bedrock Llama3 Integration with Orkes Conductor

To use system AI tasks in Orkes Conductor, you must integrate your Conductor cluster with the necessary AI/LLM providers. This guide explains how to integrate AWS Bedrock Llama3 with Orkes Conductor. Here’s an overview:

  1. Get the required credentials from AWS Bedrock Llama3.
  2. Configure a new AWS Bedrock Llama3 integration in Orkes Conductor.
  3. Add models to the integration.
  4. Set access limits to the AI model to govern which applications or groups can use them.

Step 1: Get the AWS Bedrock Llama3 credentials

To integrate AWS Bedrock Llama3 with Orkes Conductor, retrieve the following credentials from your AWS account:

Step 2: Add an integration for AWS Bedrock Llama3

After obtaining the credentials, add an AWS Bedrock Llama3 integration to your Conductor cluster.

To create an AWS Bedrock Llama3 integration:

  1. Go to Integrations from the left navigation menu on your Conductor cluster.
  2. Select + New integration.
  3. In the AI/LLM section, choose AWS Bedrock Llama3.
  4. Select + Add and enter the following parameters:
ParametersDescriptionRequired/Optional
Integration nameA name for the integration.Required.
Connection typeThe connection type, depending upon how to establish the connection. Supported values:
  • Current Conductor Role–Use the current Conductor role to establish the connection.
  • Assume External Role–Assume a role belonging to another AWS account to establish the connection. Learn more.
  • Access Key/Secret–Establish the connection using the access key and secret.
Required.
RegionThe valid AWS region where the resource is located. For example, us-east-1.Required.
Account IDThe AWS account ID.Optional.
Role ARNThe Amazon Resource Name (ARN) to set up the connection.Required if the Connection Type is chosen as Assume External Role.
External IDThe external ID that will assume the role, if applicable. External ID is used in an IAM role trust policy to designate the person who will assume the role.Required if the Connection Type is chosen as Assume External Role.
Access keyThe access key of the AWS account.Required if the Connection Type is chosen as Access Key/Secret.
Access secretThe access secret of the AWS account.Required if the Connection Type is chosen as Access Key/Secret.
DescriptionA description of your integration.Required.

AWS Bedrock Llama3 Integration with Orkes Conductor

  1. (Optional) Toggle the Active button off if you don’t want to activate the integration instantly.
  2. Select Save.

Add AWS Bedrock Llama3 models

Once you’ve integrated AWS Bedrock Llama3, the next step is to configure specific models.

AWS Bedrock Llama3 has different models, such as Llama 3.2 1B Instruct, Llama 3.2 90B Instruct, and more, each designed for various use cases. Choose the model that best fits your use case.

To add a model to the AWS Bedrock Llama3 integration:

  1. Go to the Integrations page and select the + button next to the integration created.

Create AWS Bedrock Llama 2 Integration Model from Listed Integrations

  1. Select + New model.
  2. Enter the Model name and a Description. Get the complete list of AWS Bedrock Llama3 models.

Create AWS Bedrock Llama 2 Integration Model

This saves the model for future use in AI tasks within Orkes Conductor.

Step 4: Set access limits to integration

Once the integration is configured, set access controls to manage which applications or groups can use the models.

To provide access to an application or group:

  1. Go to Access Control > Applications or Groups from the left navigation menu on your Conductor cluster.
  2. Create a new group/application or select an existing one.
  3. In the Permissions section, select + Add Permission.
  4. In the Integration tab, select the required AI models and toggle the necessary permissions.
  5. Select Add Permissions.

Add Permissions for Integrations

The group or application can now access the AI model according to the configured permissions.

With the integration in place, you can now create workflows using AI/LLM tasks.

More resources