How to change a IPv6 address without deleting the instance

When I create a double-stack VPC and launch an instance using this double-stack VPC, I get an IPv6 /64 CIDR for the instance. But after I launch the instance I find out that it only has an IPv6 address such as 2600:1000:41af:1234:0:0:0:0/128. How can I reassign a new IPv6 address and release the old one?

We all know that an ephemeral IPv4 address attached to an instance will change as long as I stop the instance and launch it again, but that doesn’t work on IPv6 address when I reboot the instance. It is still the original address (2600:1000:41af:1234:0:0:0:0 to 2600:1000:41af:1234:0:0:0:0, etc.).

Can anyone tell me how to solve it? Thanks

Hi @Legend307

Please use below steps

  1. Stop VM

  2. Click on Edit VM and Change IP stack to “IPV4 Single Stack” for VM only as shown in below and start VM.

  1. Again stop VM and change stack to Dual Stack and start VM , it will started with new IP.
2 Likes

Wow thanks!!!

You suggestion really worked and the public IPv6 address successfully changed!