SlideShare a Scribd company logo
SIMPLIFYINGCLOUDSTACK
DEPLOYMENTWITHAN
AUTOMATIONPORTAL
Vivek Kumar
Lead Devops Engineer
• Introduction
• Why was it needed
• What we Built
• Modules of the Portal
• Module 1 - CloudStack Management & DB
• Module 2 - Install KVM Hosts
• Module 3 - CloudStack Test Cases
• Technical Stack
• Key Benefits
• What’s Next?
• Q&A
TABLEOF
CONTENTS
ABOUTME
• Living in Noida
• Lead DevOps Engineer at Yotta.
• Working on CloudStack since 2016.
• 10+ Years Experience in IaC.
• Expertise in Automation, CloudStack, DevOps
In short, I translate infrastructure challenges into clean,
repeatable code so teams can deploy faster, scale
confidently, and sleep better at night.
WHYWASITNEEDED The Problem:
• Manual CloudStack setup was time-consuming, repetitive, and
error-prone
• Teams were configuring:
⚬ Netplan (NICs, Bonds, Bridges)
⚬ MySQL primary-replica
⚬ CloudStack management nodes
⚬ KVM hosts with consistent topology
The Risk:
• Human errors caused delays (typos, wrong NIC names,
misconfigured replication)
• No standard way to deploy or review settings before applying
The Goal:
• Make deployments consistent, fast, and error-free
• Enable non-experts to provision complex infrastructure
WHATWE
BUILT
A Flask-based automation portal for Installing &
Configuring CloudStack, setup MySQL replication
cluster, setup KVM hosts, predefined CloudStack
use cases.
Features:
• GUI-based input collection
• Ansible inventory and var file generation
• Jinja2 templating for Netplan
• Real-time streaming output from playbooks
• Dynamic cloudstack.ini for test cases
MODULES
OFTHE
PORTAL
Install/Configure
Management + DB Servers
Install/Configure
KVM Hosts
Run CloudStack
Test Cases
MODULE1-CLOUDSTACK
MANAGEMENT&DB
• Define number of MGMT and DB nodes
• Assign hostnames, roles (master/slave)
• Enter passwords and MySQL credentials
• Generates:
⚬ inventory.ini
⚬ variable_file.yml
• Executes:
⚬ MySQL installation
⚬ CloudStack mgmt node install
• Live playbook streaming
MODULE2-INSTALLKVM
HOSTS
• User Specifies:
⚬ Number of KVM hosts
⚬ NIC layout
⚬ Bond/Bridge config (shared or per-host)
• Generates:
⚬ inventory_kvm.ini
⚬ Netplan config per host
• Applies:
⚬ Netplan configs via playbook
⚬ KVM installation steps
⚬ Handles bonding, bridging, IPs, DNS
MODULE3-CLOUDSTACKTEST
CASES
• Inputs: API URL, Key, Secret, Zone
• Dynamically generates cloudstack.ini
• Runs selected playbooks (Example: VPC
Workflow, Kubernetes Workflow)
• Shows live output
• Fully decoupled from backend infra
TECHNICAL
STACK
• Frontend: HTML + Bootstrap (Jinja2 templates)
• BACKEND: FLASK + SQLALCHEMY
• AUTOMATION: ANSIBLE + JINJA2
• LIVE LOGS: FLASK STREAM_WITH_CONTEXT
KEY
BENEFITS
• Reduces deployment time from
hours to minutes
• Reduced error from manual steps
• Consistency across environments
• Avoids configuration drift and typos
• Promotes standardization and
collaboration
• Non-experts can perform infra tasks
WHAT’SNEXT
• Fine tune the portal
• Potential open-source release
• Add more automation use cases, i.e. Storage
installation, Monitoring Setup, Logging Setup
THANKYOU
NAME
VIVEK KUMAR
EMAIL ADDRESS
VAKUMAR@YOTTA.COM
Thanks for listening! If you have questions, don’t worry — I do too.
Let’s figure it out together.

More Related Content

PDF
Openstack In Action 1st Edition V K Cody Bumgardner
PDF
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
PDF
Cloud stack3.0.0 3.0.2quickinstallguide
PPSX
CloudStack + KVM: Your Local Cloud Lab
DOCX
Muraliupdatedpersonal091215
PPTX
DR_PRESENT 1
DOCX
Hemanth kumar vadupu email
DOCX
Muraliupdatedpersona150716
Openstack In Action 1st Edition V K Cody Bumgardner
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
Cloud stack3.0.0 3.0.2quickinstallguide
CloudStack + KVM: Your Local Cloud Lab
Muraliupdatedpersonal091215
DR_PRESENT 1
Hemanth kumar vadupu email
Muraliupdatedpersona150716

Similar to Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automation Portal (20)

PPT
Docker and CloudStack
PPTX
Automating CloudStack and hypervisor installation and configuration
PDF
AWS System Administration Best Practices for Sysadmins in the Amazon Cloud 1s...
PPTX
Stacki at the Seattle Scalability Meetup
PDF
TryStack: A Sandbox for OpenStack Users and Admins
DOCX
Bijeet_ITInfra_CV
PDF
OpenStack Operations Guide 1st Edition Tom Fifield
PPT
Openstack devops challenges a journey from dump baremetal to functional ope...
PDF
Ammeon See OpenStack in Action
PDF
OpenStack in 10 minutes with Devstack
PPTX
Secret Techniques to Manage Apache Cloudstack with ActOnCloud
PPT
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
PDF
Salt conf 2014 - Using SaltStack in high availability environments
PPTX
OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStac...
PPTX
CloudStack EU user group - CloudStack news
PDF
Openstack Operations Guide 1st Edition Tom Fifield Diane Fleming
PDF
StackiFest 16: Stacki Overview- Anoop Rajendra
PPTX
Openstack in 10 mins
PPTX
Openstack
Docker and CloudStack
Automating CloudStack and hypervisor installation and configuration
AWS System Administration Best Practices for Sysadmins in the Amazon Cloud 1s...
Stacki at the Seattle Scalability Meetup
TryStack: A Sandbox for OpenStack Users and Admins
Bijeet_ITInfra_CV
OpenStack Operations Guide 1st Edition Tom Fifield
Openstack devops challenges a journey from dump baremetal to functional ope...
Ammeon See OpenStack in Action
OpenStack in 10 minutes with Devstack
Secret Techniques to Manage Apache Cloudstack with ActOnCloud
SaltConf14 - Ben Cane - Using SaltStack in High Availability Environments
Salt conf 2014 - Using SaltStack in high availability environments
OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStac...
CloudStack EU user group - CloudStack news
Openstack Operations Guide 1st Edition Tom Fifield Diane Fleming
StackiFest 16: Stacki Overview- Anoop Rajendra
Openstack in 10 mins
Openstack
Ad

More from ShapeBlue (20)

PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
PDF
CloudStack GPU Integration - Rohit Yadav
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
PDF
Fully Open-Source Private Clouds: Freedom, Security, and Control
PPTX
Pushing the Limits: CloudStack at 25K Hosts
PPTX
Stretching CloudStack over multiple datacenters
PPTX
Proposed Feature: Monitoring and Managing Cloud Usage Costs in Apache CloudStack
PDF
I’d like to resell your CloudStack services, but...
PDF
Storage Setup for LINSTOR/DRBD/CloudStack
PDF
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
PDF
Development of an Оbject Storage Plugin for CloudStack, Christian Reichert, s...
PDF
VM-HA with CloudStack and Linstor, Rene Peinthor
PDF
How We Use CloudStack to Provide Managed Hosting, Swen Brüseke, proIO
PDF
Internet Facing VMs and the DDoS Problem, Wido den Hollander, Your.Online
PDF
Transitioning from VMware to Apache CloudStack: A Path to Profitability and C...
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
Extensions Framework (XaaS) - Enabling Orchestrate Anything
CloudStack GPU Integration - Rohit Yadav
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
Ampere Offers Energy-Efficient Future For AI And Cloud
Empowering Cloud Providers with Apache CloudStack and Stackbill
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
Fully Open-Source Private Clouds: Freedom, Security, and Control
Pushing the Limits: CloudStack at 25K Hosts
Stretching CloudStack over multiple datacenters
Proposed Feature: Monitoring and Managing Cloud Usage Costs in Apache CloudStack
I’d like to resell your CloudStack services, but...
Storage Setup for LINSTOR/DRBD/CloudStack
Apache CloudStack 101 - Introduction, What’s New and What’s Coming
Development of an Оbject Storage Plugin for CloudStack, Christian Reichert, s...
VM-HA with CloudStack and Linstor, Rene Peinthor
How We Use CloudStack to Provide Managed Hosting, Swen Brüseke, proIO
Internet Facing VMs and the DDoS Problem, Wido den Hollander, Your.Online
Transitioning from VMware to Apache CloudStack: A Path to Profitability and C...
Ad

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Modernizing your data center with Dell and AMD
PDF
Approach and Philosophy of On baking technology
PPTX
Cloud computing and distributed systems.
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Monthly Chronicles - July 2025
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Mobile App Security Testing_ A Comprehensive Guide.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Modernizing your data center with Dell and AMD
Approach and Philosophy of On baking technology
Cloud computing and distributed systems.
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Review of recent advances in non-invasive hemoglobin estimation
Diabetes mellitus diagnosis method based random forest with bat algorithm

Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automation Portal

  • 2. • Introduction • Why was it needed • What we Built • Modules of the Portal • Module 1 - CloudStack Management & DB • Module 2 - Install KVM Hosts • Module 3 - CloudStack Test Cases • Technical Stack • Key Benefits • What’s Next? • Q&A TABLEOF CONTENTS
  • 3. ABOUTME • Living in Noida • Lead DevOps Engineer at Yotta. • Working on CloudStack since 2016. • 10+ Years Experience in IaC. • Expertise in Automation, CloudStack, DevOps In short, I translate infrastructure challenges into clean, repeatable code so teams can deploy faster, scale confidently, and sleep better at night.
  • 4. WHYWASITNEEDED The Problem: • Manual CloudStack setup was time-consuming, repetitive, and error-prone • Teams were configuring: ⚬ Netplan (NICs, Bonds, Bridges) ⚬ MySQL primary-replica ⚬ CloudStack management nodes ⚬ KVM hosts with consistent topology The Risk: • Human errors caused delays (typos, wrong NIC names, misconfigured replication) • No standard way to deploy or review settings before applying The Goal: • Make deployments consistent, fast, and error-free • Enable non-experts to provision complex infrastructure
  • 5. WHATWE BUILT A Flask-based automation portal for Installing & Configuring CloudStack, setup MySQL replication cluster, setup KVM hosts, predefined CloudStack use cases. Features: • GUI-based input collection • Ansible inventory and var file generation • Jinja2 templating for Netplan • Real-time streaming output from playbooks • Dynamic cloudstack.ini for test cases
  • 6. MODULES OFTHE PORTAL Install/Configure Management + DB Servers Install/Configure KVM Hosts Run CloudStack Test Cases
  • 7. MODULE1-CLOUDSTACK MANAGEMENT&DB • Define number of MGMT and DB nodes • Assign hostnames, roles (master/slave) • Enter passwords and MySQL credentials • Generates: ⚬ inventory.ini ⚬ variable_file.yml • Executes: ⚬ MySQL installation ⚬ CloudStack mgmt node install • Live playbook streaming
  • 8. MODULE2-INSTALLKVM HOSTS • User Specifies: ⚬ Number of KVM hosts ⚬ NIC layout ⚬ Bond/Bridge config (shared or per-host) • Generates: ⚬ inventory_kvm.ini ⚬ Netplan config per host • Applies: ⚬ Netplan configs via playbook ⚬ KVM installation steps ⚬ Handles bonding, bridging, IPs, DNS
  • 9. MODULE3-CLOUDSTACKTEST CASES • Inputs: API URL, Key, Secret, Zone • Dynamically generates cloudstack.ini • Runs selected playbooks (Example: VPC Workflow, Kubernetes Workflow) • Shows live output • Fully decoupled from backend infra
  • 10. TECHNICAL STACK • Frontend: HTML + Bootstrap (Jinja2 templates) • BACKEND: FLASK + SQLALCHEMY • AUTOMATION: ANSIBLE + JINJA2 • LIVE LOGS: FLASK STREAM_WITH_CONTEXT
  • 11. KEY BENEFITS • Reduces deployment time from hours to minutes • Reduced error from manual steps • Consistency across environments • Avoids configuration drift and typos • Promotes standardization and collaboration • Non-experts can perform infra tasks
  • 12. WHAT’SNEXT • Fine tune the portal • Potential open-source release • Add more automation use cases, i.e. Storage installation, Monitoring Setup, Logging Setup
  • 13. THANKYOU NAME VIVEK KUMAR EMAIL ADDRESS VAKUMAR@YOTTA.COM Thanks for listening! If you have questions, don’t worry — I do too. Let’s figure it out together.