Amazon Athena


Amazon Athena


Setup Guide

Follow these steps to connect Amazon Athena to your CData Connect Cloud account:

  1. Open the Connections page of the CData Connect Cloud dashboard.

  2. Click + Add Connection in the upper-right corner.

  3. Type Amazon Athena into the search field, then click the data source name.

  4. On the Basic Settings tab of the new connection, enter a connection name or keep the default name.

  5. Enter the S3 Staging Directory that Amazon Athena uses to store the results of a query.

  6. Enter the Amazon Athena Data Source.

  7. Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

ADFS

  1. Enter the ADFS User Id.

  2. Add the Password for that account.

  3. Enter the SSO Login URL to the URL used by the SSO provider.

  4. Select the AWS Region that hosts your AWS account.

  5. Enter the Amazon Athena Database. If this is blank, the default database set is used instead.

  6. In Amazon Athena, add the CData Connect Cloud static IP addresses to your connection whitelist.

  7. At the top of the CData Connect Cloud Add Amazon Athena Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

AWSRootKeys

  1. Enter the AWS Access Key associated with the AWS root account.

  2. Enter the AWS Secret Key associated with the AWS root account.

  3. Select the AWS Region that hosts your AWS account.

  4. Enter the Amazon Athena Database. If this is blank, the default database set is used instead.

  5. In Amazon Athena, add the CData Connect Cloud static IP addresses to your connection whitelist.

  6. At the top of the CData Connect Cloud Add Amazon Athena Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

AWSIAMRoles

  1. Enter the AWS Access Key associated with the AWS root account.

  2. Enter the AWS Secret Key associated with the AWS root account.

  3. Enter the AWS Role ARN for the authenticating User Id.

  4. (Optional) Enter the AWS External Id only if emulating a different role.

  5. Select the AWS Region that hosts your AWS account.

  6. Enter the Amazon Athena Database. If this is blank, the default database set is used instead.

  7. In Amazon Athena, add the CData Connect Cloud static IP addresses to your connection whitelist.

  8. At the top of the CData Connect Cloud Add Amazon Athena Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

Okta

  1. In User enter the Amazon Athena username for authentication.

  2. In Password enter the user password.

  3. Enter the SSO Login URL.

  4. Enter all relevant SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.

  5. Select the AWS Region that hosts your AWS account.

  6. Enter the Amazon Athena Database. If this is blank, the default database set is used instead.

  7. In Amazon Athena, add the CData Connect Cloud static IP addresses to your connection whitelist.

  8. At the top of the CData Connect Cloud Add Amazon Athena Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

PingFederate

  1. In User enter the Amazon Athena username for authentication.

  2. In Password enter the user password.

  3. Enter the SSO Login URL.

  4. Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.

  5. Add the SSO Exchange URL.

  6. (Optional) Enter the AWS Role ARN only if you have multiple Identity Providers in your AWS account.

  7. Select the AWS Region that hosts your AWS account.

  8. Enter the Amazon Athena Database. If this is blank, the default database set is used instead.

  9. In Amazon Athena, add the CData Connect Cloud static IP addresses to your connection whitelist.

  10. At the top of the CData Connect Cloud Add Amazon Athena Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

AzureAD

  1. Enter the SSO Properties, with the format ‘ssoproperty1=value1;sooproperty2=value2;sooproperty3=value3;’. Make sure to separate all property-value pairs with semicolons.

  2. Enter the OAuth Client Id assigned when you registered your Amazon Athena account for OAuth.

  3. Enter the OAuth Client Secret for your Amazon Athena account for OAuth.

  4. Select the AWS Region that hosts your AWS account.

  5. Enter the Amazon Athena Database. If this is blank, the default database set is used instead.

  6. Click Sign in to connect securely through OAuth. This action opens the Amazon Athena sign-in page in a new tab.

  7. Log in to your Amazon Athena account and provide the requested permissions (if applicable).

  8. In Amazon Athena, add the CData Connect Cloud static IP addresses to your connection whitelist.

  9. At the top of the CData Connect Cloud Add Amazon Athena Connection page, click Save & Test.

    • If the connection test succeeds, a message indicates that your connection has been created. The Status on the Edit Connection page also changes to Authenticated.

    • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. CData Connect Cloud displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.

More Information

For more information about interactions between CData Connect Cloud and Amazon Athena, see this information page.