A company hosts an application on Amazon EC2 instances in a private subnet of a VPC. The instances are configured with IPv6 CIDR blocks and must be able to initiate outbound connections to the internet to download security updates. However, any inbound connections from the internet to these instances must be completely blocked. A SysOps administrator discovers that the instances currently cannot reach any external IPv6 addresses. Which combination of actions must the SysOps administrator take to resolve this connectivity issue? (Select TWO.)
- Create an egress-only internet gateway for the VPC.Cevap
- Add a route in the private subnet's route table with a destination of `::/0` pointing to the egress-only internet gateway.Cevap
- CCreate a NAT gateway in a public subnet of the VPC, and add a route in the private subnet's route table with a destination of `::/0` pointing to the NAT gateway.
- DAdd a route in the private subnet's route table with a destination of `::/0` pointing to the VPC's existing internet gateway.
- EConfigure the security group of the EC2 instances to block all inbound traffic and add a route in the private subnet's route table with a destination of `0.0.0.0/0` pointing to the egress-only internet gateway.
Cevap
Create an egress-only internet gateway for the VPC, and add a route in the private subnet's route table with a destination of `::/0` pointing to the egress-only internet gateway.
To support outbound-only IPv6 traffic, AWS provides the Egress-Only Internet Gateway. Creating this gateway and pointing the private subnet's `::/0` route to it fulfills the requirement of allowing internet access for downloads while completely preventing inbound connections at the routing layer.
Adım Adım Çözüm
Anahtar Kavram
Egress-Only Internet Gateway routing configuration for IPv6 private subnets