Skip to content

Commit 4f02135

Browse files
authored
fix(vpc): fix default info (#5113)
* fix(vpc): fix default info * fix(vpc): delete
1 parent bb3aa44 commit 4f02135

File tree

7 files changed

+27
-12
lines changed

7 files changed

+27
-12
lines changed

pages/elastic-metal/how-to/use-private-networks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You can also attach custom resources, such as virtual machines hosted on your El
6565
- Select **Attach to a new Private Network**, and enter a name for the new Private Network you wish to create.
6666
<Message type="note">
6767
The Private Network will have default settings, meaning:
68-
- It is created in your [default VPC](/vpc/concepts/#default-vpc) for the region. If you do not have an existing VPC for the appropriate region, one will be auto-created for you
68+
- It is created in your [default VPC](/vpc/concepts/#default-vpc) for the region, if you have one. If you do not have an existing VPC for the appropriate region, you must [create one](/vpc/how-to/create-vpc/#how-to-create-a-vpc) first.
6969
- It has an auto-generated [CIDR block](/vpc/concepts/#cidr-block) used to allocate private IP addresses to servers attached to the network. Each attached Elastic Metal server will get an IPv4 and an IPv6 address on the Private Network.
7070
</Message>
7171
6. Choose whether to **auto-allocate an available IP from the pool** (the [CIDR block](/vpc/concepts/#cidr-block) defined at the time of creating the Private Network), or use a [reserved IP address](/ipam/concepts/#reserved-ip-address) for the attachment. You must make this choice for both the IPv4 and IPv6 address that the Elastic Metal server will have on this Private Network.

pages/instances/how-to/use-private-networks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If you want to create a Private Network without immediately attaching any resour
3737
6. Enter a **Name** for your Private Network, or leave the randomly-generated name in place.
3838
7. Click **Attach to a Private Network** to finish.
3939

40-
Your Private Network is created in your [default VPC](/vpc/concepts/#default-vpc) for the region, if one exists. If you do not have an existing VPC for the appropriate region, one will be auto-created for you. The Private Network will have default settings, meaning an auto-generated [CIDR block](/vpc/concepts/#cidr-block).
40+
Your Private Network is created in your [default VPC](/vpc/concepts/#default-vpc) for the region, if one exists. If you do not have an existing VPC for the appropriate region, you must [create one](/vpc/how-to/create-vpc/#how-to-create-a-vpc) first. The Private Network will have default settings, meaning an auto-generated [CIDR block](/vpc/concepts/#cidr-block).
4141

4242
You are taken back to the Private Networks tab, where your new Private Network is now displayed in the list and you can see the IP address for your Instance on the network. For more information about resources' private IP addresses on a Private Network, see our [dedicated documentation](/vpc/how-to/attach-resources-to-pn/#how-to-view-the-resources-ip-address).
4343

pages/public-gateways/how-to/configure-a-public-gateway.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This page shows you how to attach a [Public Gateway](/public-gateways/concepts/#
3636
<Message type="note">
3737
Only Private Networks which are in the same region as the Public Gateway are displayed in this list.
3838
</Message>
39-
- If you want to create and attach a new Private Network, select **Attach to a new Private Network**. The Private Network will be created with default configuration (a [CIDR block](/vpc/concepts#cidr-block) will be automatically defined), in your default VPC for the region, if one exists. If you do not have an existing VPC for the appropriate region, one will be auto-created for you. A name for the Private Network will be suggested, but feel free to overwrite this with a new name of your choice. Dynamic NAT will be automatically activated on the Public Gateway for the Private Network.
39+
- If you want to create and attach a new Private Network, select **Attach to a new Private Network**. The Private Network will be created with default configuration (a [CIDR block](/vpc/concepts#cidr-block) will be automatically defined), in your default VPC for the region, if one exists. If you do not have an existing VPC for the appropriate region, you must [create one](/vpc/how-to/create-vpc/#how-to-create-a-vpc) first. A name for the Private Network will be suggested, but feel free to overwrite this with a new name of your choice. Dynamic NAT will be automatically activated on the Public Gateway for the Private Network.
4040
6. Choose whether to **auto-allocate an available IP from the pool** (the [CIDR block](/vpc/concepts/#cidr-block) defined at the time of creating the Private Network), or use a **[reserved IP address](/ipam/concepts/#reserved-ip-address)** for the attachment.
4141
7. Use the toggle to select whether to **Advertise the default route**. Find out more about this setting in our [concepts documentation](/public-gateways/concepts/#default-route).
4242
8. Click **Attach to Private Network** to finish. You are taken back to the Private Networks tab, where the network you attached now appears, along with the services configured and the IP address of the Public Gateway.

pages/vpc/concepts.mdx

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,26 @@ An IPv4 CIDR block and an IPv6 CIDR block are defined for each Scaleway Private
2424

2525
## Default VPC
2626

27-
If you created your Scaleway [Project](/organizations-and-projects/concepts/#project) before 13 May 2025, one **default VPC** was automatically created in it for each region (Paris, Amsterdam and Warsaw). Any new Private Networks that you create will be added to the default VPC for their region, unless you override this by specifying a different VPC.
28-
29-
If you created your Scaleway Project after 13 May 2025, default VPCs are no longer pre-created for you. The first VPC that you create in each region is designated as its default VPC.
27+
#### Projects created before 13 May 2025
28+
<br/>
29+
- One default VPC was automatically created for each region (Paris, Amsterdam and Warsaw).
30+
- New Private Networks that you create without specifying a VPC are added to the default VPC for their region.
31+
32+
33+
#### Projects created after 13 May 2025
34+
35+
- Default VPCs are no longer automatically created for you.
36+
37+
- **Console**:
38+
- The concept of default VPCs is no longer needed or relevant.
39+
- You must create a VPC for a given region before you can create a Private Network in that region.
40+
- You are prompted to specify a VPC every time you create a Private Network.
41+
- **API**:
42+
- The `is_default` field continues to exist, and as before, it cannot be updated or set by the user.
43+
- If you create your own VPCs, and always specify one of them when creating a Private Network, none of your VPCs will be flagged as `is_default`.
44+
- When you create a Private Network in a given Project/region **without specifying a pre-existing VPC** for the first time, a VPC is auto-created for you and designated as default for the Project/region via the `is_default` flag.
45+
- Any further Private Networks that you create in that Project/region without specifying a VPC will be added to the auto-created `is_default` VPC.
46+
- User-created VPCs cannot be set as default.
3047

3148
## DHCP
3249

pages/vpc/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You cannot delete a default VPC, but you can rename it, and/or create other VPCs
2828
Default VPCs do not prevent you from deleting an otherwise empty Project.
2929
</Message>
3030

31-
If you created your Scaleway Project after 13 May 2025, default VPCs are no longer pre-created for the Project. The first VPC that you create in each region is designated as its default VPC. If you try to create a Private Network without having an existing VPC for the appropriate region, a VPC will be auto-created for you.
31+
If you created your Scaleway Project after 13 May 2025, default VPCs are no longer pre-created for the Project. Find out more in our [dedicated documentation](/vpc/concepts/#default-vpc).
3232

3333
## VPC routing
3434

pages/vpc/how-to/create-vpc.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ VPC allows you to build your own **V**irtual **P**rivate **C**loud on top of Sca
2424

2525
### Before 13 May 2025
2626

27-
If you created your Scaleway [Project](/organizations-and-projects/concepts/#project) before 13 May 2025, one **default VPC** was automatically created in it for each region (Paris, Amsterdam and Warsaw). Any new Private Networks that you create will be added to the default VPC for their region, unless you override this by specifying a different VPC.
27+
If you created your Scaleway [Project](/organizations-and-projects/concepts/#project) before 13 May 2025, one **default VPC** was automatically created in it for each region (Paris, Amsterdam and Warsaw). Any new Private Networks that you create without specifying a VPC will be added to the default VPC for their region.
2828

2929
Click **VPC** in the **Network** section of the Scaleway console side menu. Your VPC [dashboard](https://console.scaleway.com/vpc/vpc) displays:
3030

@@ -42,12 +42,10 @@ It is currently not possible to change the default VPC for a region, nor to dele
4242

4343
### After 13 May 2025
4444

45-
If you created your Scaleway Project after 13 May 2025, default VPCs are no longer pre-created for you. The first VPC that you create in each region is designated as its default VPC.
45+
If you created your Scaleway Project after 13 May 2025, default VPCs are no longer pre-created for you. You must create a VPC before you can create a Private Network.
4646

4747
## How to create a VPC
4848

49-
If you want to create more VPCs beyond the default ones created for you, you can do so via the following steps:
50-
5149
1. Click **VPC** in the **Network** section of the Scaleway console side menu.
5250

5351
2. Click <Icon name="plus" /> **Create a VPC**. The VPC creation wizard displays.

pages/vpc/how-to/delete-vpc.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ categories:
2020
## How to delete a VPC
2121

2222
You can only delete VPCs that:
23-
- Do not contain any Private Networks
23+
- Do not contain any Private Networks or IPAM reserved IPs
2424
- Are not the [default VPC](/vpc/concepts/#default-vpc) for their region
2525

2626
1. Click **VPC** in the **Network** section of the Scaleway console side menu. The list of your VPCs displays:

0 commit comments

Comments
 (0)