Skip to main content

Create an Instance in a Dual-Stack Subnet

This guide helps you create an Instance that receives both an IPv4 and an IPv6 address by selecting a dual-stack subnet.

Before you start

  • Logged in to the Console Portal with the instance:Create permission
  • You have a subnet with ipv6Enabled = true and ipv6Remaining > 0
  • See Create a Dual-Stack Subnet if you don't have one

Steps

  1. Go to Compute EngineInstances.
  2. Click Create instance.
  3. Choose the Operating system and Instance size (storage policy and size).
  4. Under Subnet, select the dual-stack subnet.
  5. Fill in the Name and Authentication (password or SSH key), then click Create instance.

The Instance automatically receives an IPv6 address via DHCPv6 from the dual-stack subnet — there is no separate IPv6 field to fill in on this form.

Create instance form with a dual-stack subnet selected under Subnet

Result

  • The Instance is created with one IPv4 address and one IPv6 address on the primary NIC.
  • The IPv6 address column in the Instances List shows the Instance's IPv6 address.

Instances List with the IPv6 address column populated for dual-stack instances

note

If you select an IPv4-only subnet, the Instance receives IPv4 only and the IPv6 address column shows -.

Next steps