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?
4 days ago in AWS by Hannah
• 14,960 points
8 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 4 days ago 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,750 points
494 views
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,090 points
216 views
0 votes
1 answer

Amazon EC2 instance unable to resolve host.

Here is my checklist of things you ...READ MORE

answered Aug 23, 2018 in AWS by Archana
• 4,090 points
505 views
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 in AWS by Aysha

edited Jun 25 436 views