What is cloudstack
Cloudstack is an open-source cloud computing platform with high availability and scalability. Currently, cloudstack supports most mainstream hypervisors, such as KVM, xenserver, VMWare, Oracle Vm, and xen. Cloudstack is an open-source cloud computing solution. It can accelerate the deployment, management, and configuration of highly scalable Public and Private clouds (IAAS. With cloudstack as the basis, data center operators can quickly and conveniently create cloud services through existing infrastructure.
Cloudstack conceptual architecture
User: access my virtual machines, buckets, and manage my personal templates through the network.
Administrator: deploy configuration, manage accounts, monitor resources, arrange jobs, and troubleshoot
Developers: Develop billing, monitoring, statistical reports, and other functional modules to customize graphical interfaces and workflows.
Cloudstack deployment architecture
ZONE: Zone corresponds to a data center in reality. It is the largest unit in cloudstack.
Pod: the pod corresponds to a rack. Machines in the same pod are in the same subnet (network segment.
Cluster: a cluster composed of multiple hosts. Hosts in the same cluster have the same hardware, hypervisor, and shared storage. Virtual machines in the same cluster can be migrated from one host to another without interrupting services.
HOST: the host that runs the VM.
That is, in terms of the Inclusion relationship, a zone contains multiple pods, a pod contains multiple clusters, and a cluster contains multiple hosts.
Primary storage: The primary storage is associated with the cluster. It provides disk volumes for all virtual machines in the cluster. A cluster must have at least one level of storage and be deployed near the host to provide high performance.
Secondary storage: the second-level storage is associated with the zone. It stores template files, ISO images, and disk volume snapshots.
- Template: the operating system image of the virtual machine that can be started, including other configurations such as installed applications.
- ISO image: A disk image that contains operating system data or boot media.
- Disk volume snapshot: The saved copy of the VM data, which can be used to recover data or create a new template.
Cloudstack Software Architecture
Is the software architecture of cloudstack:
Architecture deployed with cloudstack and KVM
Is the architecture deployed together cloudstack and KVM:
The agent program must be deployed on each KVM host.
Architecture deployed with cloudstack and vsphere
Is the architecture where cloudstack and vsphere are deployed together:
If you deploy VMware products, you must deploy vcenter server.
Storage types supported by cloudstack
Is the storage type supported by cloudstack:
Cloudstack APIs
- Web Services
- Rest Architecture
- Support Post/get requests
- Return XML or JSON response format
- Root administrator, domain administrator, and user
Comparison between cloudstack and openstack
Next we will look at the comparison of the two cloud platforms:
Comparison item |
Cloudstack |
Openstack |
Service Level |
IAAs |
IAAs |
Authorization Protocol |
In Apache 2.0 |
In Apache 2.0 |
In Apache 2.0 |
No |
No |
Dynamic Resource Allocation |
Automatic VM migration in maintainance Mode |
No ready-to-use functions, which must be implemented by the Nova-Scheduler Component |
VM Template |
Supported |
Supported |
VM Console |
Supported |
Supported |
Development language |
Java |
Python |
User Interface |
Web console with complete functions |
Dashboard, relatively simple |
Server Load balancer |
Virtual router and Hardware load balancing |
Software Load Balancing (NOVA-network or Openstack load balance API) and Hardware load balancing |
Virtualization Technology |
Xenserver, Oracle Vm, vcenter, KVM, bare metal |
Xenserver, Oracle VM, KVM, qemu, ESX/esxi, lxc (liunx container), etc. |
Minimal deployment |
One Management node and one host Node |
All in one (required for the Nova, Keystone, and glance components) |
Supported Databases |
MySQL |
PostgreSQL, MySQL, SQLite |
Components |
Console proxy Vm, second storage Vm, virtual router Vm, Host agent, Management Server |
Nova, glance, Keystone, Horizon, swift |
Network format |
Isolation (VLAN), share |
VLAN, flat, flatdhcp |
Version Problems |
Stable version release, no compatibility issues |
Compatibility issues of different versions |
VLAN |
Mutual access between VLANs is not allowed |
Support interconnection between VLANs |
Of course, things are evolving, and open-source developers make contributions every day. Therefore, functions that are not available or unsupported are likely to be supported in the next version.