Skip to content

Commit 3204f3d

Browse files
RoRoJbene2k1
andauthored
fix(vpc): add limitations and faq (#4479)
* fix(vpc): add limitations and faqé * fix(vpc): corrections * Apply suggestions from code review Co-authored-by: Benedikt Rollik <[email protected]> * Update faq/vpc.mdx --------- Co-authored-by: Benedikt Rollik <[email protected]>
1 parent 00e625f commit 3204f3d

File tree

3 files changed

+52
-12
lines changed

3 files changed

+52
-12
lines changed

faq/vpc.mdx

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,64 @@ category: network
1010
productIcon: VpcProductIcon
1111
---
1212

13-
## What is the difference between VPC and a Private Network?
13+
## VPC basics
14+
15+
### What is the difference between VPC and a Private Network?
1416

1517
One default VPC (**V**irtual **P**rivate **C**loud) for every available region is automatically created in each Scaleway [Project](/organizations-and-projects/concepts/#project). A VPC offers layer 3 network isolation.
1618

17-
Within each VPC, you can create multiple **Private Networks** and attach Scaleway resources to them, as long as the resources are in an AZ within the network's region. Attached resources can then communicate between themselves in an isolated and secure layer 2 network, away from the public internet.
19+
Within each VPC, you can create multiple **Private Networks** and attach Scaleway resources to them, as long as the resources are in an AZ within the network's region. Attached resources can then communicate between themselves in an isolated and secure layer 2 network, away from the public internet. VPC routing facilitates communication between resources on the different Private Networks within the VPC.
1820

1921
In the future, VPC will allow you to interconnect your VPC with other networks, define access control lists and more.
2022

21-
## Can I route traffic between different Private Networks on the same VPC?
23+
### What happened to my classic, mono-AZ Private Network?
24+
25+
When VPC and regional Private Networks moved from Public Beta to General Availability, all mono-AZ Private Networks were automatically migrated to be regional. [Read the documentation](/vpc/reference-content/vpc-migration/) to find out more about the migration process.
26+
27+
### What is a default VPC and why can I not delete it?
28+
29+
Scaleway currently has three regions: Paris, Amsterdam and Warsaw. One default VPC is automatically created for each region, in each Scaleway [Project](/organizations-and-projects/concepts/#project). 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.
30+
31+
You cannot delete a default VPC, but you can rename it, and/or create other VPCs and use those rather than the default VPCs, if you prefer. Default VPCs do not prevent you from deleting an otherwise empty Project.
32+
33+
### How much does it cost to create a VPC, Private Network or reserved private IP addresses?
34+
35+
The following resources and features are free of charge:
36+
37+
- VPCs and VPC routing
38+
- Private Networks (except for [Elastic Metal servers](https://www.scaleway.com/en/pricing/elastic-metal/) and [Apple silicon](https://www.scaleway.com/en/pricing/apple-silicon/))
39+
- Reserved private IP addresses on IPAM
40+
41+
### Why can I not delete my Private Network even though it is empty?
42+
43+
You might have a reserved IP address that is blocking the deletion - check out our [troubleshooting page](/vpc/troubleshooting/cant-delete-vpc-pn/).
44+
45+
## VPC routing
46+
47+
### Can I route traffic between different Private Networks on the same VPC?
2248

2349
Yes, [VPC routing](/vpc/concepts#routing) allows you to automize the routing of traffic between resources in different Private Networks within the same VPC.
2450

25-
## Can I route traffic between different Private Networks in different VPCs or different Scaleway Projects?
51+
### Can I route traffic between different Private Networks in different VPCs or different Scaleway Projects?
2652

2753
This is not currently possible. You may consider using a VPN tunnel to achieve this, for example [IPsec](https://en.wikipedia.org/wiki/IPsec) or [WireGuard](https://en.wikipedia.org/wiki/WireGuard). Scaleway also offers an [OpenVPN InstantApp](/tutorials/openvpn-instant-app/), making it easy to install a VPN directly on an Instance.
2854

29-
## What happened to my classic, mono-AZ Private Network?
55+
### Why can I not route traffic to my Managed Database on another Private Network?
3056

31-
When VPC and regional Private Networks moved from Public Beta to General Availability, all mono-AZ Private Networks were automatically migrated to be regional. [Read the documentation](/vpc/reference-content/vpc-migration/) to find out more about the migration process.
57+
Managed Databases do not currently support VPC routing - see our [dedicated documentation](/vpc/reference-content/understanding-routing/#limitations)
58+
59+
## IPAM and IP addressing
60+
61+
### What is IPAM?
62+
63+
**IP** **A**ddress **M**anager (IPAM) is Scaleway’s tool for planning, tracking, and managing the IP address space of Scaleway products. It acts as a single source of truth for the IP addresses of Scaleway resources, and has a number of associated functionalities to help manage your Scaleway IPs, such as the ability to reserve an IP on a Private Network and attach it to a specific resource. See our [IPAM FAQ](/faq/ipam/) for more detail.
3264

33-
## Do resources' IP addresses on a Private Network risk changing when allocated by managed DHCP?
65+
### Do resources' IP addresses on a Private Network risk changing when allocated by managed DHCP?
3466

35-
With managed DHCP, the IP is allocated when the resource is attached to a Private Network, and released only when the resource is detached or deleted. The IP address remains stable across reboots and long power offs, and will not change except upon deletion or detachment from the Private Network.
67+
With Private Networks' inbuilt managed DHCP, a private IP is allocated when the resource is attached to a Private Network, and released only when the resource is detached or deleted. The IP address remains stable across reboots and long power offs, and will not change except upon deletion or detachment from the Private Network.
3668

3769
Nonetheless, you can also reserve specific IPs from a Private Network's CIDR block, and use these IPs to attach specific resources, if you prefer. See our documentation on [how to reserve IPs](/ipam/how-to/reserve-ip/).
3870

39-
## How can I manage IP addresses for my Proxmox Virtual Machines (VMs) on Elastic Metal servers?
71+
### How can I attach my VMs on a Proxmox cluster on Elastic Metal to a Private Network?
4072

4173
We recommend that you use our IPAM product for this purpose. See [how to reserve a private IP address with an attached MAC address](/ipam/how-to/reserve-ip/#how-to-reserve-a-private-ip-address-with-an-attached-mac-address).

pages/vpc/how-to/manage-routing.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ Each VPC has auto-generated, managed routes to local subnets and Public Gateways
8686

8787
For example, you may wish to route all traffic for a certain private IP range to an Instance hosting a manually configured VPN tunnel, allowing secure connection to a corresponding subnet at the other end of the tunnel.
8888

89+
<Message type="note">
90+
Custom routes are scoped to the Private Network(s) of the "next hop" resource. Their routes are not propagated to other Private Networks in the VPC. In the scenario mentioned above of routing traffic towards a VPN tunnel, the origin of the packet must be in the same Private Network as the resource hosting the VPN.
91+
</Message>
92+
8993
Follow the steps below to define a custom route:
9094

9195
1. Click **VPC** in the **Network** section of the side menu. The list of your VPCs displays.
@@ -164,3 +168,7 @@ It is not possible to manually delete an auto-generated, managed route. Only cus
164168
5. Click **Delete route** to confirm.
165169

166170
The custom route is deleted, and you are returned to the list of your VPC's routes.
171+
172+
## Routing limitations and best practices
173+
174+
Read more about the VPC routing feature, including detailed explanations, usage considerations, limitations and best practices in our [dedicated reference content](/vpc/reference-content/understanding-routing/).

pages/vpc/reference-content/understanding-routing.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Bear in mind the following when activating VPC routing:
6363
- When routing is activated, all Private Networks on the VPC can communicate.
6464
- We do not currently offer an ACL/firewall feature to prevent communication between certain Private Networks/resources once routing is activated. However, users may choose to configure ACLs directly on certain resources (e.g. Instances, Elastic Metal servers) using tools such as `iptables` or `nftables`.
6565
- Public Gateways remain scoped to the Private Network to which they are attached. They do not advertise the default route on other Private Networks in the VPC. For example, an Instance attached to Private Network A will not be able to access the internet via a Public Gateway in Private Network B.
66+
- Custom routes are scoped to the Private Network(s) of the "next hop" resource. Their routes are not propagated to other Private Networks in the VPC. For example, in the scenario of using a custom route to route traffic towards a VPN tunnel, the origin of the packet must be in the same Private Network as the resource hosting the VPN.
6667

6768
## Best practices
6869

@@ -78,6 +79,5 @@ For example, you may use one Private Network for frontend resources and another
7879

7980
## Limitations
8081

81-
Managed Databases are not currently compatible with routing. The VPC cannot automatically route between Managed Databases on different Private Networks, or (for example) between a Managed Database on one Private Network and an Instance on a different Private Network.
82-
83-
82+
- Managed Databases are not currently compatible with routing. The VPC cannot automatically route between Managed Databases on different Private Networks, or (for example) between a Managed Database on one Private Network and an Instance on a different Private Network.
83+
- VPC routing does not currently support virtual IPs.

0 commit comments

Comments
 (0)