A SysOps Administrator is configuring IPv6 connectivity for a web application tier located in a private subnet. The instances must be able to initiate outbound connections to external IPv6 services for software updates, but external hosts must not be allowed to initiate connections to the instances. The administrator has created and attached an egress-only internet gateway to the VPC. Which of the following actions must the administrator perform to allow the instances to successfully establish these connections? (Select TWO.)
- Add a route to the private subnet's route table with a destination of `::/0` pointing to the egress-only internet gateway.Answer
- Configure the private subnet's Network ACL to allow outbound IPv6 traffic to `::/0` and allow inbound IPv6 traffic from `::/0` on TCP ports -.Answer
- CConfigure the instance security group's inbound rules to allow traffic from `::/0` on TCP ports -.
- DAdd a route to the private subnet's route table with a destination of `::/0` pointing to a NAT gateway located in a public subnet.
- EEnable the 'Assign IPv6 Address' attribute on the NAT gateway and configure it as the target for `::/0` in the private subnet's route table.
Answer
To allow private subnet instances to make outbound IPv6 connections, you must add a route in the subnet's route table for `::/0` targeting the egress-only internet gateway, and configure the stateless Network ACL to allow outbound IPv6 traffic and inbound response traffic on ephemeral ports (-).
The correct solution involves configuring routing and network ACLs. First, adding a route for `::/0` targeting the egress-only internet gateway in the subnet's route table ensures that outbound IPv6 traffic is correctly forwarded. Second, because Network ACLs are stateless, they do not track connection states. Therefore, an inbound rule must be configured to allow the return traffic from the external servers on ephemeral ports (TCP -).
Step-by-Step Solution
Key Concept
Egress-Only Internet Gateway routing and stateless Network ACL rules for IPv6 traffic