Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (19.1k points)

I have Ec2 instance on AWS with Amazon Ubuntu.

When I try to download anything, I am unable to do so.

For Ex:

~# apt-get update

0% [Connecting to ap-southeast-1.ec2.archive.ubuntu.com (103.246.148.161)] [Connecting to security.ubuntu.com (91.189.91.15)

Another Ex will be

~# wget https://s3.amazonaws.com/aws-cli/awscli-bundle.zip

--2014-04-09 07:27:17--  https://s3.amazonaws.com/aws-cli/awscli-bundle.zip

Resolving s3.amazonaws.com... 207.171.189.80

Connecting to s3.amazonaws.com|207.171.189.80|:443...

This remains forever.

I was able to download files until I created Group and user for AWS Console.

Please suggest what can be issues here.

1 Answer

0 votes
by (44.3k points)

Check in the outbound rule’s whether you have not configured your EC2 instance’s security group. You have to set it to 0.0.0.0/0 as a rule for All Traffic.

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94k users

Browse Categories

...