All IPv6 addresses are public by default. But sometimes there’s a need to keep instances private. In this hands-on lab we are going to enable IPv6 on a VPC. We will then configure a subnet to be private, and then validate that our instance will not be accessible over the internet over IPv6.
NOTE: If you do not have IPv6 in your environment, please consider using Linux Academy Cloud Playground to validate the IPv6 connectivity.
Successfully complete this lab by achieving the following learning objectives:
- Create a VPC
Add an IPv6 CIDR to the VPC.
- Create an Egress-Only Internet Gateway
Create the egress-only internet gateway, and associate it to a Private Route Table.
Verify the connectivity to and from the private instance using the