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,030 points

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

+2 votes
2 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,760 points
0 votes
1 answer
0 votes
1 answer

How to set up a SPF(Sender Policy Framework) for AWS EC2 instance?

Setting up a SPF record is pretty ...READ MORE

answered Aug 16, 2018 in AWS by Archana
• 4,150 points
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 2,177 views