Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudStack KVM Lab

A hands-on Apache CloudStack lab built on KVM/libvirt, focused on architecture, networking, storage planning, system VM behavior, and real troubleshooting.

This repository is not just an installation guide. It documents the design decisions, operational notes, and issues encountered while building a private cloud lab with CloudStack on a Linux host.

The installation flow used here follows the Apache CloudStack 4.22 Quick Installation Guide and then adds real lab notes from deployment/troubleshooting.

My Lab Environment

This lab was built to simulate real VPS/cloud infrastructure.

  • CPU: AMD EPYC 7713
  • RAM: 512GB
  • Storage: NVMe
  • Hypervisor: KVM / libvirt
  • Deployment model: single-node CloudStack
  • Network approach: bridge-based networking

Lab Snapshot (2026-03-31)

  • Host OS: AlmaLinux 9
  • CloudStack: 4.22.x LTS (management + agent)
  • Zone Type: Basic Zone
  • Physical NIC: enp1s0
  • Management bridge: cloudbr0
  • Guest bridge: cloudbr1 (optional)
  • Management subnet: 10.40.10.0/24
  • Guest subnet: 10.40.20.0/24
  • Primary storage path: /export/primary
  • Secondary storage path: /export/secondary

Project Goals

  • Build a working CloudStack lab on KVM/libvirt
  • Understand CloudStack architecture and component interaction
  • Design bridge-based networking for a simple cloud environment
  • Document primary and secondary storage choices
  • Record troubleshooting steps for real issues
  • Create a foundation for future automation and multi-node expansion

Stack

  • Apache CloudStack
  • KVM / libvirt
  • Linux host
  • Bridge networking
  • Primary and secondary storage
  • CloudStack system VMs
  • IPv4 / IPv6 aware design

Lab Design

This lab uses a single-node architecture:

  • CloudStack Management Server
  • CloudStack Agent
  • KVM Hypervisor
  • Primary Storage
  • Secondary Storage
  • Virtual Router / System VMs
  • Guest VM workloads

The goal of this design is to understand CloudStack fundamentals and infrastructure behavior before moving to a larger multi-node deployment.

What this repository demonstrates

  • private cloud fundamentals
  • KVM/libvirt host preparation
  • CloudStack installation and component layout
  • bridge networking design
  • storage planning for lab environments
  • system VM and guest VM behavior
  • practical debugging and troubleshooting

Repository Structure

How To Use This Repo

Follow this order if you want to reproduce the lab:

  1. Start with Host Preparation.
  2. Continue with Installation Notes.
  3. Apply Network Design and Storage Design.
  4. Execute Deployment Checklist.
  5. Use Troubleshooting when host, system VM, or guest networking issues appear.

Why this project matters

This project demonstrates infrastructure-level skills:

  • virtualization
  • cloud orchestration
  • networking
  • storage planning
  • debugging production-like issues

Current Scope

This is a lab environment, not a production deployment.

Current limitations:

  • single-node design
  • no high availability
  • simplified storage model
  • simplified network topology

About

Hands-on Apache CloudStack lab on KVM/libvirt with architecture, networking, storage, and troubleshooting notes.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages