VPC - Quickstart
VPC allows you to build your own Virtual Private Cloud on top of Scaleway’s shared public cloud. One default VPC per region is automatically created per Scaleway Project, and you can create more if you wish. Within each VPC, you can create Private Networks and attach Scaleway resources (Instances, Elastic Metal servers, Load Balancers etc.) to them, as long as the resources are within the network’s region. Attached resources can then communicate between themselves in an isolated and secure virtual layer 2 network, away from the public Internet. More features and resources will be coming to the VPC product in the future.
- You have an account and are logged into the Scaleway console
Click VPC in the Network section of the Scaleway console side menu. Your VPC dashboard displays:
You see three default VPCs, one for each of the following regions:
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.
Click VPC in the Network section of the side menu. The list of your VPCs displays:
Each Private Network must be created within a VPC.
Click the VPC you wish to create your Private Network in.
If you already have existing Private Networks in this VPC, a list of these displays. Otherwise, you see a welcome screen.
Click + Create Private Network. The creation screen displays.
Enter a name for the network, or leave the randomly-generated name in place. Optionally, you can also add tags to help organize your Private Networks. Each tag should be separated by a space.
Leave the Advanced Settings at default values, to create a network with an auto-generated CIDR block, which will be used by DHCP to assign private IP addresses to resources you attach to the network.
Click Create Private Network to finish. Your Private Network is created.
Click VPC in the Network section of the side menu. Your VPC dashboard displays:
Click the VPC containing the Private Network to which you want to attach a resource.
A list of Private Networks in this VPC displays.
Click the Private Network to which you want to attach a resource.
The Private Network’s dashboard displays.
Click the Attached resources tab.
If you already have resources attached to the Private Network, a list of these displays. Otherwise, you see a welcome screen.
Click +Attach resource. The following screen displays.
Select the type of resource (Instance, Elastic Metal server etc.) that you want to attach. Then select the specific resource to attach. Only resources within the same region (or one of its Availability Zones) as the Private Network will be displayed.
Click Attach resource to finish.
You are returned to the list of attached resources, where the newly-attached resource now displays.
When you attach a resource to a Private Network, it is automatically assigned an IPv4 and IPv6 address on that network. This is assigned from the CIDR block defined at the time of the Private Network’s creation.
You can view a resource’s IPv4 or v6 address in the Attached Resources tab of the Private Network itself (follow steps 1 - 5 above)
It can also be viewed via the Private Networks tab of the resource’s own dashboard.
Click VPC in the Network section of the side menu.
Each Private Network exists within a VPC.
Click the VPC containing the Private Network you want to delete.
A list of your Private Networks in this VPC displays:
Click the «See more Icon» icon next to the Private Network you want to delete, then click Delete on the pop-up menu.
A screen displays asking you to confirm that you want to delete the network, and that you have detached all resources from it.
Type DELETE and click Delete Private Network.
Your Private Network is deleted.