Reputation: 1597
I am trying to download the aws codedeploy agent on amazon linux ami. But it does not work. I made sure that role to access s3(full access) has been attached to the EC2 instance. Please find the command below:
wget https://aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com/latest/install
--2020-07-25 03:59:12-- (try: 2) https://aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com/latest/install
Connecting to aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com (aws-codedeploy-us-east-1.s3.us-east-1.amazonaws.com)|52.216.248.88|:443... failed: Connection timed out.
Retrying.
aws s3 cp s3://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/latest/install . --region=us-east-2
Also, noticed that aws-cli command to list s3 buckets is not working aws s3 ls What could be wrong ?
Thanks
Upvotes: 0
Views: 738
Reputation: 35146
You are not able to connect to S3, there are many possible reasons these are detailed below:
443
as well as the ephemeral ports.0.0.0.0/0
route (and ::/0
if you support IPv6).0.0.0.0/0
route (and ::/0
if you support IPv6).Upvotes: 1