Connecting to Secure S3 Bucket

603
5
Jump to solution
05-07-2024 11:57 AM
PLee
by
New Contributor

I am trying to connect to an S3 bucket that is secured and requires credentials to access (government).  Is there a way to do that since so far I have not seen the buckets I would like to connect to in the available drop down list?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
BethanyScott
Esri Contributor

Good morning @PLee ,

Thank you for the additional information, this is helpful. The region that corresponds with "us-gov-east-1" is AWS GovCloud (Us-Gov-East) in the dropdown, so it looks like you've tried the correct one.

Could you please share the error message you get when you try and create the connection? That could help us identify what is causing the issue.

Additionally, please note that in order to connect to Amazon S3, the credentials you specify must have the following permissions associated with them: "s3:GetBucketAcl", "s3:GetObject", "s3:ListBucket".

I suggest contacting your Amazon S3 admin and confirming your credentials have at least those permissions, and that the provided credentials are correct.

If the issue still persists, I'll provide some suggested next steps.

Thank you for your time!

Bethany

 

View solution in original post

5 Replies
BethanyScott
Esri Contributor

Hi @PLee ,

Thank you for reaching out.

Data Pipelines does not provide a drop-down list for you to pick the bucket you want to read from. Instead, you must specify the bucket when you establish the connection. Here are the steps you should follow in order to connect to your secured bucket:

  1. In the Data Pipelines editor, open the Inputs pane and click Amazon S3.
  2. In the dialog that appears, select Add new then click Next.
  3. Here you'll be prompted to enter your credentials, including the Access key, Secret key, Region, Bucket name, and optionally the Folder within the bucket you want to connect to. Once you've specified your credentials, click Next.
  4. If the credentials are valid, the next page will be to create a new data store item which securely stores your credentials for future use. Provide a title and click Create connection.
  5. In the Select a dataset dialog, enter the Dataset path, or name, of the file that you want to use. The file must be present in the bucket that you specified earlier.
  6. Specify the format of the file and click Next.

Now you have successfully configured a connection to your Amazon S3 dataset.

After completing these steps, the next time you add an Amazon S3 input to your data pipeline, you can choose Browse existing and all you'll need to do is specify the dataset name and format. 

Please let me know if following these steps works for you. If not, please let me know what you've tried and where it's not working (include screenshots and any errors if there are any).

Thanks again,

Bethany

0 Kudos
PLee
by
New Contributor

Hello Bethany,

After trying a few options out, I found that in the list of available regions, there are two AWS GovCloud options (US-Gov-East and US-Gov-West). In the credentials I've been given to connect with this bucket, the region was listed as us-gov-east-1. I tried out using the US-Gov-East region with the Access key, Secret key, and Bucket name but the connection failed. Would the addition of the -1 mean that there are multiple US gov east region servers(?) and that I'm connecting to the wrong one?

0 Kudos
BethanyScott
Esri Contributor

Good morning @PLee ,

Thank you for the additional information, this is helpful. The region that corresponds with "us-gov-east-1" is AWS GovCloud (Us-Gov-East) in the dropdown, so it looks like you've tried the correct one.

Could you please share the error message you get when you try and create the connection? That could help us identify what is causing the issue.

Additionally, please note that in order to connect to Amazon S3, the credentials you specify must have the following permissions associated with them: "s3:GetBucketAcl", "s3:GetObject", "s3:ListBucket".

I suggest contacting your Amazon S3 admin and confirming your credentials have at least those permissions, and that the provided credentials are correct.

If the issue still persists, I'll provide some suggested next steps.

Thank you for your time!

Bethany

 

QuantitativeFuturist
Frequent Contributor

How do I connect to an unsecured bucket? User credentials are required fields..

0 Kudos
BethanyScott
Esri Contributor

Hi @QuantitativeFuturist

Thank you for reaching out. Unfortunately, unsecured buckets are not currently supported.

Could you please tell us more about the request so we can better prioritize? Is it a critical part of your workflow? What is the data (if you are able to share that information)?

Thanks again!

Bethany

0 Kudos