What’s New and What’s Upcoming in Apache CloudStack, Giles Sirett, ShapeBlue

ShapeBlue 230 views 64 slides Oct 14, 2024
Slide 1
Slide 1 of 64
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63
Slide 64
64

About This Presentation

Giles’s talk provided a detailed overview of the latest advancements and upcoming features in Apache CloudStack. Giles explored the 4.19 release, highlighting significant updates such as VNF Appliances Support, KVM Import, and VMware to KVM migration.
Looking ahead to version 4.20, the session out...


Slide Content

Apache CloudStack
What's New and What's
Upcoming in Apache CloudStack
Giles Sirett

Who am I
•PMC Member & committer Apache
CloudStack
•Chair & Founder, CloudStack European User
Group
•CEO & Founder, ShapeBlue
•Physicist, recovering software engineer, sailor,
hiker

2024 Recent Releases
Release Information
Release Date/ 2024 Type
4.19.0.0 2 February LTS
4.19.0.1 4 April Security
4.18.1.1 4 April Security
4.18.2.0 25 April Maintenance
4.18.2.1 5 July Security
4.19.0.2 5 July Security
4.18.2.2 19 July Security
4.19.1.0 19 July Maintenance
4.18.2.3 Aug 6 Security
4.19.1.1 Aug 6 Security
4.20.0.0 In code freeze LTS

Apache CloudStack 4.19
Release Information
•Released 2 Feb 2024
•315 new features, improvements and bug
fixes
•26 new features
•4.19 is an LTS release
•EOL. Aug 2025

VMware to KVM Migration

Apache CloudStack 4.19
VMware to KVM Migration

Apache CloudStack 4.19
VMware to KVM Migration
•Converts VMware Instances, including disks,
networks and configurations to KVM
•Admin only feature
•Can migrate
• existing CloudStack VMware Instances
•VMware VMs from an external vCenter
Datacenter
•Uses virt-v2v to convert the Instance disks
•Migration of Linux Instances can be performed
when running
•For Windows, the Instances need to be stopped
•Scalability/performance improvements in 4.19.1

Apache CloudStack 4.19
VMware to KVM Migration
Destination KVM Hosts Linux Distribution Supported Versions
Alma Linux 8, 9
Red Hat Enterprise Linux 8, 9
Rocky Linux 8, 9
Ubuntu 22.04 LTS
Destination Host limitations:
•For Ubuntu Hosts only: When installing virt-v2v, it does not install nbdkit which is required in the
conversion of VMWare vCenter guests:
•apt install nbdkit
•For Windows Guest Only: Importing Windows Guest VMs from vSphere requires installing the virtio
drivers on the hypervisor hosts for the virt-v2v conversion:
•dnf install virtio-win (RHEL)
•apt install virtio-win (Ubuntu)

KVM Import

Apache CloudStack 4.19
KVM Import
•Import external KVM Instances from:
•Remote KVM host
•QCOW2 from Shared or Local Storage
•Unmanaged Instances on KVM/CloudStack hosts
•Simple UI
•Likely to be used as batch tool (API/ Cloudmonkey)
•Allows the use of CloudStack as a KVM management layer

CloudStack DRS

Apache CloudStack 4.19
CloudStack DRS

•DRS automatically moves
Instances between Hosts
•Can be set globally or per
Cluster basis
•Hypervisor agnostic
•Supports two algorithms:
Balanced & Condensed
Apache CloudStack 4.19
CloudStack DRS

Apache CloudStack 4.19
CloudStack DRS
Balanced Algorithm
•Balances the load across hosts in a cluster
•Higher power consumption
•In case of a host failure, minimal impact on
running Instances
•Ideal for production environments
•Less likely to cause contention issues

Apache CloudStack 4.19
CloudStack DRS
Condensed Algorithm
•Reduces the number of hosts in use
•Lower power consumption
•In case of a host failure, likely
greater impact on running Instances
•Ideal for staging/testing
environments
•More likely to cause contention
issues

Apache CloudStack 4.19
CloudStack DRS

VNF Appliance Support

Apache CloudStack 4.19
VNF Appliance Support
Classic Network Appliance Network Function Virtualization
CDN WAN
Acceleration
Firewall Load
Balancing
IDS/IPS VoIP VPN Router
Fragmented non-commodity hardware
Physical installation and setup per site
Constrain Innovation and Evolution
High Capex/Opex
VNF VNF VNF VNF
Software
Functions
Standard Servers
and Switches
Network Function Provided in Software (VNFs)
Vendor agnostic
Run on Standard Hardware and Switches
Opex/Capex Saving and Better Time-to-Market
Opportunity for CSP’s

CloudStack VNF Appliance Support
Use Cases
•CSP’s selling “branded” network components
•SD WAN
•Load Balancing for High Availability
•Virtual Firewalls for Enhanced Security
•WAN Optimization for Improved Network Performance
•IDS/IPS for Intrusion Detection and Prevention
•VoIP and VPN for Secure Communications

Apache CloudStack 4.19
VNF Appliance Support
•Allows users to deploy and configure 3
rd
party
VNF appliances in their CloudStack environment
•Configures required network interfaces
•Configures network rules for access to the
Appliance admin console
•Based on VNF Templates created by admin
•Usage recorded for billing by CSP
•Support API and UI Set up and Deployment

Apache CloudStack 4.19
VNF Appliances Support
Template NIC Management
•Management
•WAN
•LANs
Template VNF Details
Used to add firewall rules and
display VNF details to the Users:
•User credentials
•Service port and protocol
•Vendor and Maintainer
•VNF Version
•Others

CloudStack Object Storage

Apache CloudStack 4.19
CloudStack Object Storage
Object Store Provider
MinIO
CEPH
CloudStack Object Storage Framework
CloudStack UI/API

Apache CloudStack 4.19
CloudStack Object Store
•Object storage framework
•Currently provider for MIN.IO, Ceph in progress,
simulator for testing
•UI browser for managing the data.
•Admin specifies the object storage provider(s)
•The underlying object-storage provider is responsible
for flexible storage management, multi-site
replication, security, and backup
•Supports features: bucket quota, encryption,
versioning, object lock and bucket policy (public,
private)

Apache CloudStack 4.19
CloudStack Object Store

CloudStack Snapshot copy

Apache CloudStack 4.19
CloudStack Snapshot Copy
Recuring SnapshotCopying existing SnapshotCreating new Snapshot

Scheduled Lifecycle operations

•Schedule based running of routine Instance tasks
•Start
•Stop
•Reboot
•An Instance can have multiple schedules
Apache CloudStack 4.19
Scheduled Instance Lifecycle Operations

OAuth2 Authentication

Apache CloudStack 4.19
OAuth2 Authentication
•OAuth2 framework
•Currently plugins for Currently Google
and GitHub
•Easy to configure

Apache CloudStack 4.19
Not covered today
•Configurable SNAT IP for VR
•Granular Storage Management
•Safe ACS Shutdown Feature
•Dashboard redesign for non-root accounts and projects
•CAPC aware CKS
•support for vSphere 8.0.0
•Domain migration (Move sum domains between domains)
•HPE Primera, Pure Flasharray Support
•Dynamic secondary storage selection
•KVM Host HA for StorPool

Apache CloudStack 4.19
Resources
•Source release
•https://cloudstack.apache.org/downloads/
•Documentation
•https://docs.cloudstack.apache.org/en/4.19.0.0/
•Convenience Packages
•https://download.cloudstack.org/
•https://www.shapeblue.com/cloudstack-packages/
•Contribute
•https://github.com/apache/cloudstack

Apache CloudStack 4.20
Release Information
•Code freeze 10/9/2024
•4.20.0 release expected
October 2024
•LTS release
•EOL c. April 2026
•My count: 31 new features

ARM64 Support and Multi Architecture Zones

•When creating an Instance, Users can
now choose between x86_64 and ARM64
Architectures
•Architecture type is specified when
creating:
•Templates
•ISO’s
•Kubernetes Versions
•CloudStack Clusters now have an
assigned Architecture type
•A zone can support both types
simultaneously
Apache CloudStack 4.20
ARM64 Support and Multi Architecture Zones

Apache CloudStack 4.20
ARM64 Support and Multi Architecture Zones

Shared FileSystems

•Users can create a file share for consumption in other Instances (think
EFS)
•CloudStack orchestrates the creation of an underlying Instance, volume,
etc.
Apache CloudStack 4.20
Shared FileSystems

•Framework architecture allows use of any file
share provider. Currently provider for NFS (XFX or
EXT4) hosted on CloudStack Instance
•Users Userdata/ udev to deploy/manage Fileshare
provider
•FileSystem object give access & mount information
•11 New API’s, including:
•CreateFileShare
•ListFileShare
Apache CloudStack 4.20
Shared FileSystems

VMware NSX Support

•New Network Element plugin
(similar to plugin for Tungsten
Fabric) for NSX 4
•Configured at Zone level
(isolation method)
•Offloads network operations
from VR to NSX:
Apache CloudStack 4.20
Vmware NSX Support

•Virtual Private Clouds (VPCs),
•Isolated Networks
•Kubernetes Service
•Supports:
•Routing between VPC network tiers (NSX segments)
•Access Lists (ACLs) between VPC tiers and "public" network (TCP, UDP, ICMP) both as global
egress rules and “public” IP specific ingress rules.
•ACLs between VPC network tiers (TCP, UDP, ICMP)
•Port Forwarding between “public” networks and VPC network tiers
•External load balancing – between VPCs network tiers and “public” networks
•Internal load balancing – between VPC network tiers
•Password injection, UserData and SSH Keys
•External, Internal DNS
•DHCP
•Kubernetes host orchestration (with limited support for CKS on VPCs)
Apache CloudStack 4.20
Vmware NSX Support

Usage Management UI

•Management Interface for
CloudStack Usage Service
•Allows:
•Search/Browse of usage
data
•Usage generation
•Purge
•Export
Apache CloudStack 4.20
Usage Management UI

CloudStack Webhooks

•Allows users to consume CloudStack events
•Use-cases:
•notifications
•data synchronization
•workflow automation
•custom integrations
•real-time data processing
Apache CloudStack 4.20
CloudStack Webhooks

Apache CloudStack 4.20
CloudStack Webhooks
•Admin accounts can choose
scope
•No event further filtering at this
stage
•Requires the parser to
select the right events

Implicit hardware based Host tags

•Host tags now automatically populated by agent.properties file
•Agent properties file can be created during physical host deployment (via Ansible, etc)
•Can be used for
•Different Hardware types
•GPU,
•gpu type,
•SSD,
•raid type
•network card type
•Different workloads
•cpu-intensive application,
•memory-intensive application,
•windows Instances
Apache CloudStack 4.20
Implicit hardware based Host tags

•Explicit tags: The host tags
managed by CloudStack API/UI
•Implicit tags: The host tags
managed by agent.properties
•How-to: add to agent.properties,
restart cloudstack-agent
host.tags=cpu-32,memory-
250,gpu-type,nvme-ssd
Apache CloudStack 4.20
Implicit hardware based Host tags

Granular Resource limits

•Extensible limits based on tagging for
Compute & Storage Service Offerings
•Can be User, Account, domain level
•Configured with 2 global settings
•Then tags added to Service Offerings
Apache CloudStack 4.20
Granular Resource limits

Apache CloudStack 4.20
Granular Resource limits
•New “Tagged Limits”
then appear at
Account, Domain or
Global levels

New Framework Providers

•Backup and Recovery Framework
•Simple NAS based Backup provider (in addition to Veeam, Dell and
Backroll)
•Object Storage Framework
•CEPH RGW Provider (in addition to Min.IO)
Apache CloudStack 4.20
New Framework providers

Dynamic & Static routing

Shared networks
•VMs use direct IPs (public or internal)
•Operators configure gateway on
upstream router
•Can only added by ROOT admin
•VR provides Dhcp/Dns/Userdata
Isolated networks and VPC
•Can be created by regular users.
•VMs use private IPs. VMs are not directly accessible
•VMs can be accessed via Static NAT, LB, PF, VPN, etc
•VR as Source NAT gateway (performance !)
Apache CloudStack 4.20
Dynamic & static routing

ROUTED isolated network and
ROUTED VPC:
•Can be created by regular users.
•VMs are directly accessible
•DNAT/Lb/PF/VPN are not needed
•VR as gateway (not Source NAT!)
•Low overload
•High throughput (2-2.5X gain)
Apache CloudStack 4.20
Dynamic & static routing

•Challenge: Gateway (upstream router) and CloudStack VR must
know how to forward the packets
•from VMs to outside
•from outside to VMs
Routing mode What operators need to do
Static Operators have to add routes for each network manually in
gateway (upstream router)
Dynamic Operators configure dynamic BGP in gateway (upstream
router)
The routes will be automatically advertised to routers
(upstream and virtual) via BGP
Apache CloudStack 4.20
Dynamic & static routing

Apache CloudStack 4.20
Dynamic & static routing

Apache CloudStack 4.20
Dynamic & static routing

Apache CloudStack 4.20
Dynamic & static routing

Questions ?
Giles Sirett
[email protected]
[email protected]
/in/gilessirett
@GilesSirett