By using AWS re:Post, you agree to the Terms of Use

S3 Bucket cannot be reached in GroundTruth Labeling


I am currently using GroundTruth Labeling, and have created a manifest file successfully. Right now, I am encountering the error "NetworkingError: Network Failure - The S3 bucket you entered in Input dataset location cannot be reached. Either the bucket does not exist, or you do not have permission to access it. If the bucket does not exist, update Input dataset location with a new S3 URI. If the bucket exists, give the IAM entity you are using to create this labeling job permission to read and write to this S3 bucket, and try your request again."

I have made the contents of the S3 bucket and the bucket itself public to everybody, so I was wondering why this error occurs.

2 Answers

First of all, please do not make your S3 bucket public. Doing this way, anybody in the world can access your bucket. Please remove public access immediately from your S3 bucket.

Now coming to the actual problem, while you create the groundtruth labeling job, you need to provide an execution role. That execution role must have access to s3 bucket where you are storing the unlabeled data. If you want to simplify things, you can add a policy to the execution role, which provides access to any s3 bucket in your account. While this will solve it temporarily, as a best practice, please always use only least required permissions in your role policies. Hope this helps.

answered 6 months ago
  • I have already created the execution role as shown in 4:02 in the tutorial link:

    Somehow it does not work for my case.

    Another strange thing is that at 3:25 in the video, I was able to see my bucket, but I could not see the contents of my bucket. I was still able to successfully create a manifest file however.


I think Diffgram is a better option!

answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions