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,410 points
290 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 in AWS by rossboulet
• 120 points
624 views
+2 votes
3 answers

Is it possible to ping AWS EC2 instance

Start by adding a new EC2 security group inbound ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,800 points
1,747 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 5,163 views