3 Answers
- Newest
- Most votes
- Most comments
0
Hello,
This timeout error can happen when an instance runs in a private VPC with no Internet access, as the repositories are hosted on S3.
To access the repositories from the instance you can setup an Internet Gateway in your VPC or configure a VPC endpoint to access the repositories: https://aws.amazon.com/amazon-linux-ami/faqs/?nc1=h_ls#vpc-endpoint
Thanks,
Paul
answered 5 years ago
0
Try checking the inbound & outbound rules of the instance security group. It should work if the http & https ports are open to the internet.
If you are using a VPC, then check the NAT Instance/NAT Gateway.
Edited by: krshnteja on Jul 25, 2021 11:42 AM
answered 3 years ago
0
Hi,
Enable the HTTP and HTTPS outbound connections under the SG attached to that instance and that should work!
Cheers
answered 3 years ago
Relevant content
- asked a month ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago