In this article
Overview
Use this account type to connect Hadoop Snaps with data sources that use AWS S3 accounts.
Prerequisites
- S3 accounts must have full access.
- S3 ListAllMyBuckets permission is required for the S3 account to be validated successfully.
Limitations and Known Issues
- None.
Account Settings
Parameter | Data Type | Description | Default Value | Example |
---|---|---|---|---|
Label | String | Required. Unique user-provided label for the account. We recommend that you update the account name if there is more than one account of the same account type in your project. | N/A | S3 Account |
Access-key ID | String | Required when IAM role is deselected. The unique access key ID part of AWS authentication. | N/A | ASTPPGC2DCFDB5DW9GHI |
Secret key | String | Required when IAM role is deselected. The secret key part of AWS authentication. | N/A | FGSDFG5465F4G6D5F4DFG5DFD5FGD5F5FGD58 |
Server-side encryption | Check box | Required for writing to S3. Specifies that server-side encryption be used for the objects. For more information see Protecting Data Using Server-Side Encryption with Amazon S3-Managed Encryption Keys. | Deselected | N/A |
IAM role | Check box | If this check box is selected, the IAM role stored in the EC2 instance is used to access the S3 bucket.
| Deselected | N/A |
IAM Role properties | N/A | Use this fieldset to enter information associated with the IAM Role. Use this fieldset only if you do not plan to provide the Access key ID and Secret key, and if IAM role, above, is selected. | N/A | |
AWS account ID | String | The Amazon Web Services account ID associated with the AWS S3 account that you want to use. | N/A | |
IAM role name | String | The name of the IAM role that can access the AWS S3 account identified above. | N/A | |
Region Endpoint name | String | The endpoint name of the region to which the target AWS S3 bucket belongs. Protocols supported: S3 | N/A | s3.us-east-2.amazonaws.com |
Troubleshooting
Error Message | Reason | Resolution |
---|---|---|
Failed to validate account: Invalid IAM role setting | Access-key ID and Secret key should be empty if IAM role is selected. This means that you selected the IAM role check box but also provided access-key ID and secret key information. | Address the reported issue. Do not provide both IAM role and access-key details for the same account. |
Failed to validate account | Failed to validate account This typically means that your IAM role details are incorrect. | Please verify if the provided credentials are correct |
Access key cannot be null. | ||
Failed to validate account: The AWS Access Key Id you provided does not exist in our records. | Access key is invalid. |