EC2 instance unable to connect to internet - aws

0 votes
My ec2 instances are not able to connect to the internet through the internet gateway. Why is this happening?
Oct 9, 2019 in AWS by Hannah
• 18,520 points
1,209 views

1 answer to this question.

0 votes

The security group attached to the instance’s elastic network interface must allow outbound traffic on the following ports:

  • Port 80 for HTTP traffic
  • Port 443 for HTTPs traffic
So make sure you've got the right security group configuration.
answered Oct 9, 2019 by Neel

Related Questions In AWS

0 votes
0 answers

connect to aws ec2 instance via public ip

I have an EC2 instance with an ...READ MORE

Apr 7, 2020 in AWS by rossboulet
• 120 points
1,990 views
+2 votes
3 answers

Is it possible to ping AWS EC2 instance

1.Go to EC2 Dashboard and click "Running ...READ MORE

answered Nov 13, 2020 in AWS by shivam
• 140 points

edited Nov 13, 2020 by Gitika 20,595 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to create an EC2 instance using Python?

Hey JunDevOps, Have a look these scripts: 1. ...READ MORE

answered Jun 24, 2019 in AWS by Aysha

edited Jun 25, 2019 9,373 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP