How do I create a ec2 launch template that automatically assigns an ipv6 address?

StevieD asked:

Trying to figure out what I need to put in the ipv6 setting to have one automatically assigned when creating an instance on ec2. I tried the following but get and error: "Invalid addresses: [2600:1f18:26e1:4c01::/64]" when I try to create an instance from the template.

See

My answer:


You specified a subnet. The field for IPv6 IP wants a single address. But if you really want the address automatically assigned, you should be leaving that blank anyway. Rather, your instance must start a DHCPv6 client to get its IPv6 address and related network information.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.