Why is the Internet unreachable from this instance?

You have launched an Amazon Elastic Compute Cloud (EC2) instance into a public subnet
with a primary private IP address assigned, an internet gateway is attached to the VPC, and
the public route table is configured to send all Internet-based traffic to the Internet gateway.
The instance security group is set to allow all outbound traffic but cannot access the internet.
Why is the Internet unreachable from this instance?

You have launched an Amazon Elastic Compute Cloud (EC2) instance into a public subnet
with a primary private IP address assigned, an internet gateway is attached to the VPC, and
the public route table is configured to send all Internet-based traffic to the Internet gateway.
The instance security group is set to allow all outbound traffic but cannot access the internet.
Why is the Internet unreachable from this instance?

A.
The instance does not have a public IP address.

B.
The internet gateway security group must allow all outbound traffic.

C.
The instance security group must allow all inbound traffic.

D.
The instance “Source/Destination check” property must be enabled.

Explanation:
Ensure that instances in your subnet have public IP addresses or Elastic IP addresses.
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Internet_Gateway.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *