Unit 2cloudstack Architecture 3
Unit 2cloudstack Architecture 3
Unit-2
Cloudstack Network Architecture
• Physical network :
– A zone in the CloudStack deployment can be
associated with one or more physical networks.
– A physical network can be used to carry one or
more types of network traffic.
– A zone can use the basic network configuration or
advanced network configuration, which will decide
the type of network traffic that flows through the
physical networks.
Physical Network
• In a zone with basic network
configuration, only one physical network
can be present.
• There are basically three types of network
traffic that are allowed. They are:
– Guest Network traffic
– Management traffic
– Storage traffic
Guest Network traffic
• This is the traffic flowing over the guest network for
communication between the guest VMs when they are
running.
• All the guest networks which are of type isolated share
the same subnet which is set at the zone level.
• Guest traffic of a VM within one zone is carried in one
network, VMs in different zones cannot communicate
with each other.
• In order for the VMs in different zone to
communicate, they must do it via a router through a
public IP address.
Management traffic:
• This traffic is generated by the internal resources of
CloudStack.
• This basically comprises of the traffic between the hosts in
the clusters, system VMs (these VMs perform various
tasks by CloudStack in the cloud).
• The administrator must configure the IP ranges of the
system VMs.
• The management traffic is should be isolated from the
other traffic. The management traffic contains all the UDP
traffic for heartbeats. It is highly recommended to isolate
the management traffic from the other network traffic.
Storage traffic:
• This traffic is the traffic flowing between
the primary and secondary storage servers.
• These can be the VM templates which are
placed on the secondary storage and when
the user requests to create a VM based on
some template, that template data has to
flow from secondary storage server to the
primary storage server
Virtual network
• In order to enable multi-tenancy on a single physical network,
the physical network has to be logically divided into several
logical constructs, each logical construct is known as virtual
network.
• All the information about the virtual networks and their setting
are configured and stored in CloudStack.
• These settings are activated only when the first VM is started
and assigned to this network and the virtual network is also
deleted or garbage collected when all the VMs are removed
from that network.
• CloudStack helps in preserving the network resources and
optimizing wastage. CloudStack allows the virtual network to be
shared or isolated..
Isolated networks
• These networks, as the term suggests, are isolated
and can be accessed only on virtual machines of a
single account except for the domain administrators.
• The resources such as VLAN are allocated to these
types of networks and the garbage collection is done
dynamically.
• The isolated network can be upgraded or
downgraded only if it is done for the entire network
because it is unique for the entire network.
Basic and Advanced
Networking
• CloudStack provides two styles of networking: