Zergaw Cloud Docs

Virtual Network Types

Zergaw CloudStack provides a flexible networking model that allows users to deploy virtual machines (Instances) in various network topologies. Depending on the use case whether it requires strict isolation, shared resources, or complex multi-tier architectures users can choose between creating a Guest Network or VPC Network. With Zergaw CloudStack Guest Networks you can choose between creating an Isolated or L2 network.

Guest Networks

1. Isolated Networks

An Isolated network is a virtual network dedicated to a single account. It provides the highest level of segregation from other tenants on the cloud.

Key Characteristics

In an Isolated network, the infrastructure (VLAN/VXLAN) is dedicated to the account. A Virtual Router (VR) is automatically deployed to provide network services.

Network Services

The Virtual Router in an Isolated network typically provides the following services:

isolated-net-arch.png

2. L2 (Layer 2) Networks

L2 networks provide raw network isolation without any higher-level network services (Layer 3 routing, DNS, or DHCP). This type is effectively a "virtual wire."

Key Characteristics

This network type assumes the end-user or the guest operating system handles all IP address management (IPAM).

Use Case

L2 Networks are specially useful and widely adopted when using VNF or virtual network appliances. The provide the basic switching functionality while your VNF appliance do all the network functions

l2-net-arch.png

3. Shared Networks

A Shared Network allows Instances from different accounts to share the same network segment (for example, a specific VLAN or subnet).

Key Characteristics

Unlike Isolated networks, Shared networks do not usually utilize a Virtual Router for routing or NAT. Instead, they often mimic a traditional flat network where instances sit directly on the network with public or routable IPs.

shared-net-arch.png

VPC Network (Virtual Private Cloud)

A Zergaw CloudStack Virtual Private Cloud (VPC) is a private, isolated part of the cloud. It allows you to define a virtual network topology that resembles a traditional physical network in a datacenter.

Overview

A VPC acts as a container for multiple "Network Tiers." While an Isolated Network is a single segment, a VPC allows you to have multiple segments (subnets) that route to each other efficiently.

You can launch Instances in the virtual Network that can have private addresses in the range of your choice (CIDR), for example: 10.0.0.0/16.

Structuring a VPC

You define Network Tiers within your VPC Network range to group similar kinds of Instances.

Major Components of a VPC

Network ACL Lists

In Zergaw CloudStack terminology, a Network ACL is a group of Network ACL rules. Network ACL rules are processed by their order, starting with the lowest numbered rule. Each rule defines at least an affected protocol, traffic type, action and affected destination / source Network. The following table shows a exemplary content of a “default_deny” ACL.

Rule Protocol Traffic type Action CIDR
1 All Ingress Deny 0.0.0.0/0
2 All Egress Deny 0.0.0.0/0

Each Network ACL is associated with a VPC and can be assigned to multiple VPC Network Tiers. Every Network Tier needs to be associated with a Network ACL. Only one ACL can be associated with a Network Tier at a time. If no custom Network ACL is available at the time of Network Tier creation, a default Network ACL has to be used instead.

Currently two default ACL are available. The “default_allow” ACL allows in- and egress traffic while the “default_deny” blocks all in- and egress traffic. Default Network ACL cannot be removed or modified. Newly created ACLs, while showing empty, deny all incoming traffic to the associated tier and allow all outgoing traffic. To change the defaults add a deny all egress destination and / or “allow all ingress source” rule to the ACL. Afterwards traffic can be white- or blacklisted.

Network Architecture Options

In a VPC, you can configure four basic architectures:

  1. VPC with a public gateway only.
  2. VPC with public and private gateways.
  3. VPC with public and private gateways and site-to-site VPN access.

Connectivity Options

You can connect your VPC to:

VPC Network Considerations & Limitations

Before designing your VPC, consider the following rules:

vpc-net-arch.png

Comparison Summary

Feature Isolated Network Shared Network L2 Network VPC
Isolation VLAN/VXLAN Security Groups VLAN/VXLAN VLANs per Tier
Routing Virtual Router User / Provider Managed None VPC Virtual Router
Multi-tier No (Single Tier) No (Flat) No Yes (Multi-tier)
DHCP/DNS Yes (VR) No (Usually external) No Yes (VR)
Ideal For General VM workload DMZ, VNF Legacy, VNF Traditional Architecture