Skip to content

Commit d2fea01

Browse files
committed
docs(ins): add pn command
1 parent 0d1263b commit d2fea01

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

pages/instances/reference-content/migrating-vms-vmware-scaleway.mdx

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ meta:
55
h1: Migrating VMware virtual machines to Scaleway Instances
66
paragraph: Find out how to migrate virtual VMware machines to Scaleway Instances.
77
dates:
8-
validation: 2025-04-29
9-
posted: 2024-04-29
8+
validation: 2025-05-14
9+
posted: 2025-05-14
1010
categories:
1111
- compute
1212
tags: instance type production vmware esxi migration
@@ -101,35 +101,36 @@ qemu-img convert -O qcow2 <vm_name>.vmdk <vm_name>.qcow2
101101
Make any changes (e.g., install cloud-init, add VirtIO drivers, remove VMware tools).
102102

103103
2. Unmount the file:
104-
105-
```bash
106-
qemu-nbd -d /dev/nbd0
107-
```
104+
```bash
105+
qemu-nbd -d /dev/nbd0
106+
```
108107

109108
## Uploading the QCOW2 image to Scaleway Object Storage
110109

111110
Upload the converted disk:
112-
113-
```bash
114-
aws s3 cp <vm_name>.qcow2 s3://<bucket_name>/
115-
```
111+
```bash
112+
aws s3 cp <vm_name>.qcow2 s3://<bucket_name>/
113+
```
116114

117115
## Importing the QCOW2 image from Object Storage into Scaleway as a SBS snaphot
118116

119117
1. Import the image into a new snapshot:
120-
121-
```bash
122-
scw block snapshot import-from-object-storage bucket=<my_bucket> key=<my-qcow2-file-name.qcow2> name=<my-imported-snapshot> size=<size-in-GB>
123-
```
118+
```bash
119+
scw block snapshot import-from-object-storage bucket=<my_bucket> key=<my-qcow2-file-name.qcow2> name=<my-imported-snapshot> size=<size-in-GB>
120+
```
124121
2 . Create a Scaleway image from the snapshot:
125-
126-
```bash
127-
scw instance image create snapshot-id=<snapshot-id> arch=x86_64
128-
```
122+
```bash
123+
scw instance image create snapshot-id=<snapshot-uuid> arch=x86_64
124+
```
129125

130126
3. Create the server from the image:
127+
```bash
128+
scw instance server create image=<image-uuid> type=<commercial-type>
129+
```
131130

132-
```bash
133-
scw instance server create image=<image-id> type=<commercial-type>
134-
131+
### Adding private NICs to the Instance (otional)
135132

133+
Create a private NIC for the Instance, allowing it to connect to an [existing Private Network](/vpc/quickstart/#how-to-create-a-private-network)
134+
```bash
135+
scw instance private-nic create server-id=<server-uuid> private-network-id=<private-network-uuid> ipam-ip-ids.{0}=<ipam-ip-uuid>
136+
```

0 commit comments

Comments
 (0)