By default, AWS EC2 instances are not connected to IPV6. Due to IPV6's benefits, we will want our EC2 instance to have it in a number of situations, including the following:
- No more NAT (Network Address Translation)
- Auto-configuration
- No more private address collisions
- Better multicast routing
- Simpler header format
- Simplified, more efficient routing
- True quality of service (QoS), also called "flow labeling"
- Built-in authentication and privacy support
- Flexible options and extensions
- Easier administration (no more DHCP)
I'll walk you through setting up your EC2 instance with an IPV6 address in no time today.
TOPOLOGY
STEP1 .
GO TO YOUR VPC AND EDIT CIDR
STEP2.
Edit CIDR , there is no associated IPV6 by default
STEP 3
Add new IPV6 CIDR
STEP 4
IPv6 will now associate itself with the VPC , the same way ipv4 was associated by default
STEP 5
Go to the subnet and enable IPV6 on us-east-1a subnet
STEP 6
Add subnet CIDR block
STEP 7
Edit ROUTE TABLES and point default ipv6 routes to INTERNET GATEWAY
STEP 8
Go ahead and launch your EC2 instance using the VPC edited
STEP 9
EC2 has been launched successfully with associated IPV6
STEP 10
Check your ipv6 configuration and ping to IPV6 google public DNS (2001:4860:4860::8888)
Top comments (4)
Awesome
Well detailed and insightful
Thanks Sulaiman
Great and helpful content...
Thanks Gabriel