Skip to content

Commit 76af847

Browse files
authored
Merge pull request #208281 from asudbring/ipv6ds-portal
Streamlined instructions for create VM with dual stack network Azure portal
2 parents 8926120 + 7cb33c9 commit 76af847

File tree

1 file changed

+22
-123
lines changed

1 file changed

+22
-123
lines changed

articles/virtual-network/ip-services/create-vm-dual-stack-ipv6-portal.md

Lines changed: 22 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -92,115 +92,6 @@ You'll create two public IP addresses in this section, IPv4 and IPv6.
9292

9393
4. Select **Create**.
9494

95-
## Create network security group
96-
97-
You'll create a network security group to allow SSH connections to the virtual machine.
98-
99-
1. In the search box at the top of the portal, enter **Network security group**. Select **Network security groups** in the search results.
100-
101-
2. Select **+Create**.
102-
103-
3. Enter or select the following information in the **Basics** tab.
104-
105-
| Setting | Value |
106-
| ------- | ----- |
107-
| **Project details** | |
108-
| Subscription | Select your subscription. |
109-
| Resource group | Select **myResourceGroup**. |
110-
| **Instance details** | |
111-
| Name | Enter **myNSG**. |
112-
| Region | Select **East US 2**. |
113-
114-
4. Select **Review + create**.
115-
116-
5. Select **Create**.
117-
118-
### Create network security group rules
119-
120-
In this section, you'll create the inbound rule.
121-
122-
1. In the search box at the top of the portal, enter **Network security group**. Select **Network security groups** in the search results.
123-
124-
2. In **Network security groups**, select **myNSG**.
125-
126-
3. In **Settings**, select **Inbound security rules**.
127-
128-
4. Select **+ Add**.
129-
130-
5. In **Add inbound security rule**, enter or select the following information.
131-
132-
| Setting | Value |
133-
| ------- | ----- |
134-
| Source | Leave the default of **Any**. |
135-
| Source port ranges | Leave the default of *. |
136-
| Destination | Leave the default of **Any**. |
137-
| Service | Select **SSH**. |
138-
| Action | Leave the default of **Allow**. |
139-
| Priority | Enter **200**. |
140-
| Name | Enter **myNSGRuleSSH**. |
141-
142-
6. Select **Add**.
143-
144-
## Create virtual machine
145-
146-
In this section, you'll create the virtual machine and its supporting resources.
147-
148-
### Create network interface
149-
150-
You'll create a network interface and attach the public IP addresses you created previously.
151-
152-
1. In the search box at the top of the portal, enter **Network interface**. Select **Network interfaces** in the search results.
153-
154-
2. Select **+ Create**.
155-
156-
3. In the **Basics** tab of **Create network interface, enter or select the following information.
157-
158-
| Setting | Value |
159-
| ------- | ----- |
160-
| **Project details** | |
161-
| Subscription | Select your subscription. |
162-
| Resource group | Select **myResourceGroup**. |
163-
| **Instance details** | |
164-
| Name | Enter **myNIC1**. |
165-
| Region | Select **East US 2**. |
166-
| Virtual network | Select **myVNet**. |
167-
| Subnet | Select **myBackendSubnet (10.1.0.0/24,2404:f800:8000:122:/64)**. |
168-
| Network security group | Select **myNSG**. |
169-
| Private IP address (IPv6) | Select the box. |
170-
| IPv6 name | Enter **Ipv6config**. |
171-
172-
4. Select **Review + create**.
173-
174-
5. Select **Create**.
175-
176-
### Associate public IP addresses
177-
178-
You'll associate the IPv4 and IPv6 addresses you created previously to the network interface.
179-
180-
1. In the search box at the top of the portal, enter **Network interface**. Select **Network interfaces** in the search results.
181-
182-
2. Select **myNIC1**.
183-
184-
3. Select **IP configurations** in **Settings**.
185-
186-
4. In **IP configurations**, select **Ipv4config**.
187-
188-
5. In **Ipv4config**, select **Associate** in **Public IP address**.
189-
190-
6. Select **myPublicIP-IPv4** in **Public IP address**.
191-
192-
7. Select **Save**.
193-
194-
8. Close **Ipv4config**.
195-
196-
9. In **IP configurations**, select **ipconfig-ipv6**.
197-
198-
10. In **Ipv6config**, select **Associate** in **Public IP address**.
199-
200-
11. Select **myPublicIP-IPv6** in **Public IP address**.
201-
202-
12. Select **Save**.
203-
20495
### Create virtual machine
20596

20697
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
@@ -238,8 +129,9 @@ You'll associate the IPv4 and IPv6 addresses you created previously to the netwo
238129
| **Network interface** | |
239130
| Virtual network | Select **myVNet**. |
240131
| Subnet | Select **myBackendSubnet (10.1.0.0/24,2404:f800:8000:122:/64)**. |
241-
| Public IP | Select **None**. |
242-
| NIC network security group | Select **None**. |
132+
| Public IP | Select **myPublicIP-IPv4**. |
133+
| NIC network security group | Select **Advanced**. |
134+
| Configure network security group | Select **Create new**. </br> Enter **myNSG** in Name. </br> Select **OK**. |
243135

244136
6. Select **Review + create**.
245137

@@ -257,30 +149,37 @@ You'll associate the IPv4 and IPv6 addresses you created previously to the netwo
257149

258150
### Network interface configuration
259151

260-
A network interface is automatically created and attached to the chosen virtual network during creation. In this section, you'll remove this default network interface and attach the network interface you created previously.
152+
A network interface is automatically created and attached to the chosen virtual network during creation. In this section, you'll add the IPv6 configuration to the existing network interface.
261153

262154
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
263155

264156
2. Select **myVM**.
265157

266-
3. Select **Networking** in **Settings**.
158+
3. Select **Stop**, to stop the virtual machine. Wait for the machine to shut down.
267159

268-
4. Select **Attach network interface**.
160+
4. Select **Networking** in **Settings**.
269161

270-
5. Select **myNIC1** that you created previously.
162+
5. The name of your default network interface will be **myvmxx**, with xx a random number. In this example, it's **myvm281**. Select **myvm281** next to **Network Interface:**.
271163

272-
6. Select **OK**.
164+
6. In the properties of the network interface, select **IP configurations** in **Settings**.
273165

274-
7. Select **Detach network interface**.
166+
7. In **IP configurations**, select **+ Add**.
275167

276-
8. The name of your default network interface will be **myvmxx**, with xx a random number. In this example, it's **myvm281**. Select **myvm281** in **Detach network interface**.
168+
8. In **Add IP configuration**, enter or select the following information.
169+
170+
| Setting | Value |
171+
| ------- | ----- |
172+
| Name | Enter **Ipv6config**. |
173+
| IP version | Select **IPv6**. |
174+
| **Private IP address settings** | |
175+
| Allocation | Leave the default of **Dynamic**. |
176+
| Public IP address | Select **Associate**. |
177+
| Public IP address | Select **myPublicIP-IPv6**. |
277178

278179
9. Select **OK**.
279180

280181
10. Return to the **Overview** of **myVM** and start the virtual machine.
281182

282-
11. The default network interface can be safely deleted.
283-
284183
## Test SSH connection
285184

286185
You'll connect to the virtual machine with SSH to test the IPv4 public IP address.
@@ -293,9 +192,9 @@ You'll connect to the virtual machine with SSH to test the IPv4 public IP addres
293192

294193
4. Open an SSH connection to the virtual machine by using the following command. Replace the IP address with the IP address of your virtual machine. Replace **`azureuser`** with the username you chose during virtual machine creation. The **`-i`** is the path to the private key that you downloaded earlier. In this example, it's **~/.ssh/mySSHKey.pem**.
295194

296-
```bash
297-
ssh -i ~/.ssh/mySSHkey.pem [email protected]
298-
```
195+
```bash
196+
ssh -i ~/.ssh/mySSHkey.pem [email protected]
197+
```
299198

300199
## Clean up resources
301200

0 commit comments

Comments
 (0)