Establishing the Connection to AWS Batch

{"URL":["/*.*/awa/pa_view_pa_view_CONN_batch"],"heroDescriptionIdentifier":"ice_hero_CONN_AWS_Batch","customCards":[{"id":"ice_specific_CONN_AWS_Batch","title":"Defining the Connection Parameters","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/IG_AWS_BATCH/*.*/Agent%20Guide/Content/AWS_Batch/AWS_Batch_EstablishConnection.htm","languages":["en-us"]},{"id":"ice_Proxy_CONN_AWS_Batch","title":"Defining the Proxy Parameters","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/IG_AWS_BATCH/*.*/Agent%20Guide/Content/AWS_Batch/AWS_Batch_EstablishConnection.htm","languages":["en-us"]},{"id":"ice_related_information_CONN_AWS_Batch","title":"Related Information","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/IG_AWS_BATCH/*.*/Agent%20Guide/Content/AWS_Batch/AWS_Batch_EstablishConnection.htm","languages":["en-us"]}]}

The communication between the AWS Batch Agent and the target system is established by Connection objects. The Batch Connection object contains the parameters (target system endpoint, credentials and so on) required to authenticate on and connect to AWS Batch.

As an administrator user, you create the Batch Connection object. As a developer or object designer, you assign the respective Batch Connection object to the AWS Batch Jobs to execute and monitor them on the target cloud solution without leaving Automic Automation. This page explains how to configure the Batch Connection object.

This page includes the following:

Adding an AWS Batch Connection Object

  1. In the Automic Web Interface, go to the Process Assembly perspective. It opens to the Explorer view which contains the list of jobs that are available to you in your system.

  2. You have two options:

    • Right-click anywhere on the list and select Add > Add Object.

    • Click the Add Object button on the toolbar.

  3. On the Add Object dialog, start typing the name of the relevant integration in the Search field.

  4. Select the corresponding Connection object and click Add. The Object Name dialog is displayed.

  5. Enter a descriptive Name.

  6. Optionally, enter a short and descriptive Title that helps you recognize the purpose of the object.

  7. Click OK. A new page opens where you can start with the object definitions.

Batch Page

The Batch page contains two sections:

  • Connection

    Here you define the parameters relevant for the connection to the AWS system.

  • Proxy

    If the AWS system is behind a proxy server, you define the parameters relevant for the connection to the AWS system in this section.

Connection Section

In this section, you define the parameters relevant for the connection to the AWS Batch environment.

  • Endpoint

    URL that identifies the network address of AWS Batch, for example:

    https://batch.us-east-1.amazonaws.com

  • Region

    Optionally, define the region in the AWS account where Batch resides, for example:

    us-east-1

    If you do not define the region, the system uses the URL defined in the Endpoint.

  • Credentials Method

    Select one of the credential methods available:

    AWS Credentials File Path

    • Profile Name: Define the credential profile name.

    • Credentials File Path: Specify the file location of the AWS credential file on the agent machine.

      Example

      Windows: C:\Users\user\Documents\AWS\credential

      UNIX:/home/user/aws/credentials

    EC2 Profile Instance

    Allows you to connect to a EC2 VM within an AWS cloud application.

    • Profile Instance Name: Enter the name of the profile available on the VM.

    Note:

    To use this option, you must have an EC2 instance profile. For instructions on how to set it up, please refer to the official AWS documentation.

    Secret Access Key

    • Access Key: Define the access key.

    • Secret Access Key: Define the encrypted access key secret value.

    External Provider

    Allows you to set up single sign-on (SSO) with SAML using either a service or an identity provider.

    Note:

    Azure is the identity provider supported. To set it up as your AWS identity provider, please refer to the official Azure and AWS documentations, respectively.

    Define the authentication data required to access the AWS system using single sign-on (SSO):

    • Tenant ID

      Identifier of the Azure AD tenant.

    • Authentication URL

      URL that identifies the network address of the Azure AD used to secure the application.

      By default, the URL (https://login.microsoftonline.com) points to the Azure AD log in. If you do not want to use this URL, make sure you change the default definition.

    • SAML Username

      Username used for SAML authentication when setting up Azure as your AWS identity provider.

    • SAML Password

      Password for the user used for SAML authentication.

    • Principal ARN

      Enter the Amazon Resource Name (ARN) of the account's principal.

    • Role ARN

      Enter the Amazon Resource Name (ARN) of the role to be assumed by the user.

    • Identity Provider

      Azure is the identity provider supported.

Proxy Section

If the AWS Batch system is behind a proxy server, you define the parameters relevant for the connection to that system in this section.

  • Proxy Host Name

    Host name or IP address of the proxy server to which you want to connect.

  • Proxy Port

    Port used by the proxy server.

  • Proxy Username

    User name used to authenticate the proxy server.

  • Proxy Password

    Password of the user used to authenticate the proxy server.

Common Definition Pages

In addition to the Agent-specific connection parameters, you can also specify optional properties. You do so on the following definition pages:

Once the Connection object is configured, developers and object designers can select it when defining the Batch Submit Jobs.

See also: