Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to Create a VPC and Associate a TIER in Plenit

A VPC lets you organize the network of your Server environment into separate subnets, the TIERs.

In this tutorial you create a VPC and associate its first TIER to it, the basis for segmenting by layers (application, database) or for later setting up a VPN between networks.

👍 What you get

A VPC network created and with an associated TIER, ready to attach your servers to it and define access from outside.

What a VPC is and what a TIER is

A VPC is defined with a Super CIDR, the main network that contains all subnets. Each subnet is a TIER, which corresponds to a VLAN. All the TIERs in a VPC communicate with each other and with the Internet through a virtual router.

Diagrama de una VPC con Super CIDR 10.1.0.0/16 y tres TIERs conectados a Internet a través de un router virtual; un servidor cuelga del TIER1
A VPC groups several TIERs under a Super CIDR, connected by a virtual router
Concept
What it is

Super CIDR

The global range of the VPC, within which the TIERs live (for example 10.1.0.0/16)

TIER

A subnet within the VPC (for example 10.1.0.0/24)

Virtual router

What connects the TIERs to each other and to the Internet

📘 Why segment into TIERs

Separating the application layer from the database layer into different TIERs lets you control who talks to whom, instead of having everything in a flat network.

A VPC supports up to three TIERs on the same virtual router.

Before you start

  • Have an active Servers subscription.

  • If you don't already have one, deploy a server first: Deploy your server.

Step 1. Access the Servers subscription

Enter the Servers subscription from its card in the service.

Access to the Servers subscription

Step 2. Open Networks/IP and create the VPC network

In the fields below your server's name, open Networks/IP, select VPC Networks and click Create VPC network.

VPC Networks section with the Create VPC network button

Step 3. Name and Locate the VPC

Enter a name to identify it easily, for example VPC1. Then add the location where you want to deploy this network.

If you leave it blank, we generate it automatically. Click Continue.

VPC naming with the auto-generated Super CIDR

📘 The Super CIDR, automatically generated but yours

We generate the Super CIDR automatically, but you can change it. If you do, note the range: the TIERs you create later must fit within it.

Step 4. Add and name a TIER

Once the VPC is created, you'll see the notice that it doesn't yet contain any TIER. Click the three dots of the VPC and choose Add Tier. Enter a name, for example TIER1. If you leave it blank, we'll fill it in for you.

The platform assigns by default a range 10.1.0.0/24, which is contained within the Super CIDR 10.1.0.0/16. When finished, the VPC and its TIER appear in Networks/IP → VPC Networks.

Add a TIER to the VPC from the three-dots menu

👍 Use clear names from the start

Naming VPC and TIERs well (by function or by layer) saves you time when the network grows and you need to know at a glance what each thing is.

Check the network from a server

When you connect a server to the TIER, confirm from inside that it has received the correct IP and gateway.

On Linux:

On Windows, from PowerShell or CMD:

To check connectivity with another server on the network, do ping to its IP. On Windows, the firewall blocks incoming ICMP by default, so allow it on the destination server with an inbound rule:

Plan the ranges before growing

The biggest oversight when setting up several VPCs is overlapping ranges, which breaks routing as soon as you connect them. Reserve a different Super CIDR per VPC from the start.

Item
VPC1
VPC2

Super CIDR

10.1.0.0/16

10.2.0.0/16

Example TIER

10.1.0.0/24

10.2.0.0/24

Next steps

  • To connect two VPCs, create a second one (for example VPC2 with 10.2.0.0/16, without overlapping) and bring up the tunnel: How to create a site-to-site VPN tunnel.

  • The VPC is the only network type with site-to-site IPSec VPN, and you can connect it with VPCs from other cloud providers or with compatible equipment (Cisco ISR with IOS 12.4 or higher, Juniper J-Series routers with JunOS 9.5 or higher).

  • To review the network types: Server Networks.

Last updated

Was this helpful?