Virtual Private Cloud (VPC)
What a VPC is, and how to create one with network tiers.
What a VPC is
A VPC (Virtual Private Cloud) is a private, isolated part of your infrastructure with its own virtual network topology -- much like a traditional physical network. You choose the address range yourself (for example 10.0.0.0/16) and divide it into one or more network tiers, each with its own address range within the VPC's overall CIDR (for example 10.0.1.0/24, 10.0.2.0/24).
A VPC consists of:
- Network tiers: each tier is an isolated network with its own VLAN and CIDR, where you place groups of servers.
- Virtual router: created automatically with the VPC, connecting its tiers to each other and to the internet.
- Public gateway: traffic to and from the internet.
- Network ACL: the rule set governing which traffic may enter and leave a given tier.
A few practical limits worth knowing:
- A VPC can only belong to one zone at a time.
- Each tier must have a unique CIDR within the VPC's own CIDR.
- All tiers in a VPC must belong to the same account.
- Only one tier in a VPC can use the load balancing service.
Create a VPC
- Select Network in the left-hand navigation and choose VPC in the view.
- Click Add VPC.
- Specify:
- Name and Description.
- Zone: the zone the VPC is created in.
- CIDR: the overall address range for all tiers in the VPC, for example
10.0.0.0/16. - Network domain (optional): a custom DNS suffix applying to every tier in the VPC.
- VPC offering: if there is more than one to choose from.
- Click OK.
Add network tiers
Once the VPC exists, you add one or more tiers to it:
- Open your VPC and click Configure.
- Click Create Network (or Create Network Tier, if you already have one or more).
- Specify:
- Name: unique to this tier.
- Network offering: Internal LB, for example, or an ordinary isolated offering without load balancing.
- Gateway: must fall within the VPC's CIDR and must not overlap an existing tier.
- Netmask: for example
255.255.255.0for a tier with CIDR10.0.1.0/24.
- Click OK.
The tier then needs a network ACL attached before it can actually send and receive traffic -- covered on a separate page.
Release an IP from a VPC
An IP address can only be released from a tier once every rule using it (port forwarding, load balancing, Static NAT) has been removed. The released IP remains part of the same VPC.
- Open your VPC and click Configure.
- Select Public IP Addresses under the router.
- Click the IP you want to release.
- Click Release IP under the Details tab.