1 Answer
- Newest
- Most votes
- Most comments
0
To connect to your S3 buckets from your EC2 instances, you must do the following:
- Create an AWS Identity and Access Management (IAM) profile role that grants access to Amazon S3.
- Attach the IAM instance profile to the instance.
- Validate permissions on your S3 bucket.
- Validate network connectivity from the EC2 instance to Amazon S3.
- Validate access to S3 buckets.
Reference
Relevant content
- asked 8 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 months ago
Have you setup an S3 Gateway endpoint, assuming your ec2 is in a vpc?
Yes, i did have create a access point in S3 and i pointed for VPC that have connection in EC2
Does ec2 have an iam role that allows access to the bucket? Can you share the policy associated and any bucket policy if any?
So I created the role in IAM. I have connected this IAM role on the EC2 instance. As before i could make an upload and yet can, but i don't can to make a download of file
Is the download (GetObject) request coming from the EC2 instance or the user's browser (HTTP/S)?