S3 bucket access

0

I am downloading cloudwatch agent in EC2 instances in Us-east-2 region and I have S3 gateway endpoint from S3 bucket using URL https://s3.amazonaws.com/amazoncloudwatch-agent/amazon_linux/redhat/amd64/latest/amazon-cloudwatch-agent.rpm which I believe is pointing to us-east-1 region bucket and ec2 is not able to download without internet. Can someone provide the Us-east-2 region bucket URL so that agen tcan be downloaded without using public internet.

1 Answer
2
Accepted Answer

To download the CloudWatch agent without using the public internet you need to point to an S3 bucket in the us-east-2 region.

Here is the URL for the Amazon CloudWatch agent in the us-east-2 region:

https://amazoncloudwatch-agent-us-east-2.s3.us-east-2.amazonaws.com/redhat/amd64/latest/amazon-cloudwatch-agent.rpm

You can use this URL to download the CloudWatch agent in the us-east-2 region:

wget https://amazoncloudwatch-agent-us-east-2.s3.us-east-2.amazonaws.com/redhat/amd64/latest/amazon-cloudwatch-agent.rpm

This URL should work if you have an S3 gateway endpoint configured in the us-east-2 region, allowing your EC2 instances to access the S3 bucket without requiring public internet access.

profile picture
EXPERT
A_J
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
iBehr
reviewed a month 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