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.
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.
Relevant questions
S3 Bucket cannot be reached in GroundTruth Labeling
asked a month agoGround Truth - Error loading Image for Task
asked 3 years agoError in Creation of dataset using Manifest File in AWS Rekognition
asked 5 months agoIssue with S3 bucket
asked a month agoObjects Not Visible Within S3 Bucket for GroundTruth Labeling Job
asked a month agoAccess Forbidden when accessing manifest.json from S3 Batch operation
Accepted AnswerSeeding of a Elasticache cluster in another account in another region
asked 7 days agoHow to use an Augmented Manifest File for AWS SageMaker Ground Truth?
Accepted Answerasked 3 years agoProvide Autopilot own data
asked 2 years agoCustom entity annotation with groundtruth
asked 2 years ago
I have already created the execution role as shown in 4:02 in the tutorial link: https://www.youtube.com/watch?v=_FPI6KjDlCI&t=217s
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.