Establishing the Connection to AWS EMR
A Connection object contains the parameters that make the communication between the Agent and the target system possible. These parameters (target system endpoint, login data and so on) are required to authenticate on and connect to the target cloud solution.
As an administrator user, you create the EMR Connection object. As a developer or object designer, you assign the respective EMR Connection object to the AWS EMR Jobs to execute and monitor them on the target cloud solution without leaving Automic Automation. This page explains how to configure the EMR Connection object.
This page includes the following:
Adding an AWS EMR Connection Object
-
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.
-
You have two options:
-
Right-click anywhere on the list and select Add > Add Object.
-
Click the Add Object button on the toolbar.
-
-
On the Add Object dialog, start typing the name of the relevant integration in the Search field.
-
Select the corresponding Connection object and click Add. The Object Name dialog is displayed.
-
Enter a descriptive Name.
-
Optionally, enter a short and descriptive Title that helps you recognize the purpose of the object.
-
Click OK. A new page opens where you can start with the object definitions.
EMR Page
The EMR 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.
AWS EMR-Specific Connection Section
In this section, you define the parameters relevant for the connection to the AWS EMR environment.
-
Endpoint
URL that identifies the network address of AWS EMR, for example:
https://us-east-1.elasticmapreduce.amazonaws.com/
-
Region
(Optional) Define the region in the AWS account where EMR 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.
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.
-
Profile Instance Name: Enter the name of the profile available on the VM.
Secret Access Key(default)
-
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.
Assume Role
Allows you temporarily to assume a role and access different services with the credentials that you are assuming.
-
Access Key: Define the access key.
-
Secret Access Key: Define the encrypted access key secret value.
-
Role ARN: Enter the Amazon Resource Name (ARN) of the role to be assumed by the user.
-
Role Session Name: Define a name for the respective session to differentiate it from other sessions that you might have using the same assumed role.
-
Proxy Section
If the AWS EMR 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 EMR Add Steps to Cluster Jobs and Start Notebook Execution Jobs.
See also: