@@ -3,7 +3,7 @@ title: Creating and managing an Instance with CLI (v2)
33description : This page explains how to create and manage a Scaleway Instance with CLI (v2)
44tags : instance create manage cli cli-v2 scw
55dates :
6- validation : 2025-09-11
6+ validation : 2025-09-25
77 posted : 2021-08-05
88---
99import Requirements from ' @macros/iam/requirements.mdx'
@@ -86,79 +86,89 @@ Scaleway Instances provide you with resources to develop, test code and deploy y
8686
87871 . Type the following command in your terminal to obtain a local-image UUID:
8888
89- ` scw marketplace image get label=ubuntu_focal `
89+ ` scw marketplace image get label=ubuntu_noble `
9090
91- A list of local-images UUIDs from marketplace images displays :
91+ Details of the image as well as its ID are displayed :
9292
9393 ```
9494 Image:
95- Label ubuntu_focal
96- Name Ubuntu 20.04 Focal Fossa
97- ModificationDate 3 months ago
98- CreationDate 2 years ago
99- Description Ubuntu is the ideal distribution for scale-out computing, Ubuntu Server helps you make the most of your infrastructure.
100-
101- Local Images:
102- ID ZONE ARCH
103- 401a8e7b-f215-49b5-af8d-e39d9efff24c fr-par-2 x86_64
104- 42e3c57b-f907-4685-8a6a-f016445d867a pl-waw-1 x86_64
105- 9a40a4cd-87bb-410a-86a2-39af87d12667 fr-par-2 x86_64
106- 91edfd06-3eb7-44ad-a903-be54363135a7 pl-waw-1 x86_64
107- 70c3e86b-918d-42bd-af7d-e6be485d3f8b fr-par-1 x86_64
108- 223b6d78-1aa4-4234-b8ce-e5d39e762ef3 nl-ams-1 x86_64
109- 87b79530-0bf4-46da-beeb-f6dc950ab225 fr-par-3 x86_64
110- dcd8d994-b859-4e9e-aa91-2ceca41663fb nl-ams-1 x86_64
111- ff48b73a-097d-4685-b996-d3ebe50636ea fr-par-1 x86_64
95+ ID 607b12c2-685d-45f7-905f-57bc23863834
96+ Label ubuntu_noble
97+ Name Ubuntu 24.04 Noble Numbat
98+ UpdatedAt 1 week ago
99+ CreatedAt 1 year ago
100+ Description Ubuntu is the ideal distribution for scale-out computing, Ubuntu Server helps you make the most of your infrastructure.
112101 ```
1131022 . Run the following command to create an Instance:
114103
115- ` scw instance server create zone=xx-xxx-x image=ubuntu_focal `
104+ ` scw instance server create zone=fr-par-1 image=ubuntu_noble type=DEV1-S `
116105
117106 <Message type = " note" >
118- Replace ` xx-xxx-x ` with the Availability Zone you want to create your Instance in. If you want your Availability Zone to be France, Paris 1, for example, use ` fr-par-1 ` . Refer to our [ documentation] ( /instances/concepts/#availability-zone ) for more information about Availability Zones.
107+ Replace ` fr-par-1 ` with the Availability Zone you want to create your Instance in. If you want your Availability Zone to be France, Paris 1, for example, use ` fr-par-1 ` . Refer to our [ documentation] ( /instances/concepts/#availability-zone ) for more information about Availability Zones.
119108 </Message >
120109
121110 An output similar to the following should display:
122111
123112 ```
124- ID 12345678-1234-1234-4321-123456789123
125- Name cli-srv-naughty-stonebraker
126- Organization 12345678-1234-1234-4321-123456789123
127- Project 12345678-1234-1234-4321-123456789123
128- AllowedActions.0 poweron
129- AllowedActions.1 backup
130- CommercialType DEV1-S
131- CreationDate now
132- DynamicIPRequired false
133- EnableIPv6 false
134- Hostname cli-srv-naughty-stonebraker
135- Image.ID 12345678-1234-1234-4321-123456789123
136- Image.Name Ubuntu 20.04 Focal Fossa
137- Image.Arch x86_64
138- Image.CreationDate 4 months ago
139- Image.ModificationDate 4 months ago
140- Image.ExtraVolumes 0
141- Image.FromServer -
142- Image.Organization 12345678-1234-1234-4321-123456789123
143- Image.Public true
144- Image.RootVolume 12345678-1234-1234-4321-123456789123
145- Image.State available
146- Image.Project 12345678-1234-1234-4321-123456789123
147- Image.Zone fr-par-2
148- Protected false
149- PublicIP.ID 12345678-1234-1234-4321-123456789123
150- PublicIP.Address 51.159.163.11
151- PublicIP.Dynamic false
152- ModificationDate now
153- State archived
154- Bootscript x86_64 mainline 4.4.230 rev1
155- BootType local
156- Volumes 1
157- SecurityGroup.ID 12345678-1234-1234-4321-123456789123
158- SecurityGroup.Name Default security group
159- StateDetail -
160- Arch x86_64
161- Zone fr-par-2
113+ ID 12345678-1234-1234-4321-123456789123
114+ Name cli-srv-romantic-einstein
115+ Organization 12345678-1234-1234-4321-123456789123
116+ Project 12345678-1234-1234-4321-123456789123
117+ AllowedActions.0 poweron
118+ AllowedActions.1 backup
119+ CommercialType DEV1-S
120+ CreationDate 1 second ago
121+ DynamicIPRequired true
122+ RoutedIPEnabled true
123+ EnableIPv6 false
124+ Hostname cli-srv-romantic-einstein
125+ Image.ID 12345678-1234-1234-4321-123456789123
126+ Image.Name Ubuntu 24.04 Noble Numbat
127+ Image.Arch x86_64
128+ Image.CreationDate 1 week ago
129+ Image.ModificationDate 1 week ago
130+ Image.ExtraVolumes 0
131+ Image.FromServer -
132+ Image.Organization 12345678-1234-1234-4321-123456789123
133+ Image.Public true
134+ Image.RootVolume 12345678-1234-1234-4321-123456789123
135+ Image.State available
136+ Image.Project 12345678-1234-1234-4321-123456789123
137+ Image.Zone fr-par-1
138+ Protected false
139+ PublicIP.ID 12345678-1234-1234-4321-123456789123
140+ PublicIP.Address 51.158.x.y
141+ PublicIP.Gateway 62.210.0.1
142+ PublicIP.Netmask 32
143+ PublicIP.Family inet
144+ PublicIP.Dynamic false
145+ PublicIP.ProvisioningMode dhcp
146+ PublicIP.IpamID 12345678-1234-1234-4321-123456789123
147+ PublicIP.State attached
148+ PublicIPs.0.ID 12345678-1234-1234-4321-123456789123
149+ PublicIPs.0.Address 51.158.x.y
150+ PublicIPs.0.Gateway 62.210.0.1
151+ PublicIPs.0.Netmask 32
152+ PublicIPs.0.Family inet
153+ PublicIPs.0.Dynamic false
154+ PublicIPs.0.ProvisioningMode dhcp
155+ PublicIPs.0.IpamID 12345678-1234-1234-4321-123456789123
156+ PublicIPs.0.State attached
157+ MacAddress de:00:00:ca:58:55
158+ ModificationDate 1 second ago
159+ State archived
160+ BootType local
161+ Volumes.0.ID 12345678-1234-1234-4321-123456789123
162+ Volumes.0.VolumeType sbs_volume
163+ Volumes.0.State available
164+ Volumes.0.Boot false
165+ Volumes.0.Zone fr-par-1
166+ SecurityGroup.ID 12345678-1234-1234-4321-123456789123
167+ SecurityGroup.Name Base group
168+ StateDetail -
169+ Arch x86_64
170+ Zone fr-par-1
171+ EndOfService false
162172 ```
163173
164174## Creating an Instance local volume
0 commit comments