Skip to content

Unable to access the installation sources for AWS ATX Blu Age SDE from AWS S3 bucket provided

0

In order to set up the AWS Transform Mainframe - Blu Age Standard Delivery Environment (SDE), we need to download the installation sources from the S3 bucket, but we get an error: Access denied

aws s3 ls "s3://aws-bluage-sde-982534369611-eu-west-3/"

An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied

Error message

The AWS account should have access to it. Account no (727646489071)

1 Answer
1

This "Access Denied" error when trying to access the S3 bucket suggests there are permission issues preventing your account from accessing the installation sources. Here are several potential causes and solutions:

  1. Explicit Deny Statement: There might be an explicit deny statement in an identity-based policy attached to your IAM user or role. Check if there are any policies with Deny statements for S3 actions.

  2. Cross-Account Access Issue: Since you're trying to access a bucket that appears to be in a different AWS account (982534369611) from your account (727646489071), you need proper cross-account access permissions. This requires:

  • The bucket owner must grant your account access through a bucket policy
  • Your IAM user/role must have permissions to access the bucket
  1. IP Restrictions: If your IAM role has IP address restrictions and you're trying to access S3 objects encrypted with SSE-KMS, you might need to modify the policy to include the aws:ViaAWSService condition.

  2. Missing S3 Permissions: Ensure your IAM user or role has the necessary S3 permissions (s3:ListBucket, s3:GetObject).

To resolve this issue:

  • Contact AWS Support or the Blu Age team to confirm you should have access to this specific bucket
  • If cross-account access is intended, ensure both sides have the correct permissions set up
  • Check for any IP restrictions in your policies that might be blocking access
  • Verify if the bucket has Block Public Access settings enabled
  • If you're using a role, ensure you've properly assumed the role before attempting to access the bucket

If you have administrative access, you might need to update relevant IAM policies to explicitly allow access to this specific bucket.
Sources
Resolve access denied errors in S3 for IP-restricted IAM roles | AWS re:Post
Troubleshoot access denied (403 Forbidden) errors in Amazon S3 - Amazon Simple Storage Service
Unable to access cross account s3 | AWS re:Post
Troubleshoot 403 Access Denied error in Amazon S3 | AWS re:Post

answered a year 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.