DEV Community

ojo temitope seun
ojo temitope seun

Posted on • Updated on

Enabling IPV6 on an Amazon EC2 instance

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:

  1. No more NAT (Network Address Translation)
  2. Auto-configuration
  3. No more private address collisions
  4. Better multicast routing
  5. Simpler header format
  6. Simplified, more efficient routing
  7. True quality of service (QoS), also called "flow labeling"
  8. Built-in authentication and privacy support
  9. Flexible options and extensions
  10. Easier administration (no more DHCP)

I'll walk you through setting up your EC2 instance with an IPV6 address in no time today.

TOPOLOGY

Image description

STEP1 .

GO TO YOUR VPC AND EDIT CIDR

Image description
STEP2.

Edit CIDR , there is no associated IPV6 by default

Image description

STEP 3
Add new IPV6 CIDR

Image description

STEP 4
IPv6 will now associate itself with the VPC , the same way ipv4 was associated by default

Image description

Image description
STEP 5
Go to the subnet and enable IPV6 on us-east-1a subnet

Image description

STEP 6
Add subnet CIDR block

Image description

STEP 7
Edit ROUTE TABLES and point default ipv6 routes to INTERNET GATEWAY

Image description
STEP 8
Go ahead and launch your EC2 instance using the VPC edited

Image description

STEP 9
EC2 has been launched successfully with associated IPV6

Image description
STEP 10
Check your ipv6 configuration and ping to IPV6 google public DNS (2001:4860:4860::8888)

Image description

Image description

Top comments (4)

Collapse
 
damdev95 profile image
Sulaiman Olubiyi

Awesome
Well detailed and insightful

Collapse
 
ojotemitopseun profile image
ojo temitope seun

Thanks Sulaiman

Collapse
 
gafol profile image
Afolabi Gabriel Olaoluwa

Great and helpful content...

Collapse
 
ojotemitopseun profile image
ojo temitope seun

Thanks Gabriel