SlideShare a Scribd company logo
1 of 25
Download to read offline
Some Edge Ideas
Datacenter in a Suitcase
Public C1
or some other case
Mario Fahlandt
@mfahlandt
Doing Kubernetes Stuff for kubermatic.
GDE for Google Cloud & Champion Innovator GCP
Why would you need a datacenter in a
suitcase?
3
Whats the fuzz all about
4
The Idea
A portable ARM processor-based data center that
leverages the benefits of Kubernetes and uses KubeVirt
as a hypervisor to make the setup dynamic.
5
ARM Processors
ARM (Advanced RISC Machines) is a family of RISC
architectures (Reduced Instruction Set Computing) for
embedded systems. ARM processors are known for their
low power consumption and high performance
6
Benefits
✘ Power Efficiency
✘ Cost
✘ Diverse Ecosystem
✘ Scalability
✘ Hardware Customization
Benefits and Downsites
Downsites
✘ Software Compatibility
✘ Performance Per Core:
✘ Standardization Issues
✘ Migration Efforts
✘ Less Mature in Server Space
✘ Vendor Lock-in Concerns:
7
TuringPI
"We needed a board for multiple ARM nodes - in this
example, we use the TuringPI 4-node mini ITX board with
a built-in Ethernet switch.
But in reality, any other board/setup where you can link
ARM processors together will also work.
8
Specs
❏ 1 GBE L2 Switch
❏ Baseboard Management Controller
❏ 2x 1GbE ports
❏ 2x Mini PCI Express Slots
❏ 1x DSI
❏ 4x USB 3.0 1x USB 2.0
❏ RTC battery slot
❏ VLAN Support
❏ 2x SATA 3 Ports 6 Gps
❏ 4x M.2 ports 2260 2280 Key-M NVMe support
❏ 1x HDMI
❏ 1x 40-pin GPIO Rasperry Pi compatible
❏ SIM slot
❏ Power Supply 24-pin ATX
❏ Mix multiple compute Modules
9
It was expensive, wasn’t it?
1x Turing Pi = €249
4x CM4 Raspberry Pi = €500
4x Adapter Turing Pi Raspberry Pi = €40
2x SSD ~ €100
2x SATA Cable = €10
1x 500W Power Supply = €30
1x USB 2.0 A to A Cable = €7
= €936
2 TB Storage
16 Cores
32 GB Memory
And the demo?
10
Where is the Suitcase?
11
Basic Idea
12
Virtualize all the things!
KubeVirt to the rescue
13
Have you heard about your Savior KubeVirt?
https://kubevirt.io/
run and manage virtual machines alongside your container workloads
✘ Combine existing virtualized workloads with new container
workloads
✘ Leverage KubeVirt and Kubernetes to manage virtual machines
✘ Have Container Workload and traditional workloads side by side
✘ Is not a hypervisor 😉
KubeOne - yeah sorry some self
advertisement
14
First we Need a Cluster
15
What and Why is KubeOne
https://github.com/kubermatic/kubeone
KubeOne helps you to create update and manage a Kubernetes
Cluster
✘ 100% Open Source
✘ Declarative style
✘ Vanilla Kubernetes and easily extendable
✘ Full IaC approach - even machine creation is possible (we do not
need)
16
Migrate from the legacy package repositories (apt.kubernetes.io and
yum.kubernetes.io) to the Kubernetes community-hosted package
repositories (pkgs.k8s.io). The legacy repositories have been deprecated
as of August 31, 2023 and will be frozen starting from September 13,
2023
17
SERVICE Announcement
18
Back to Topic ähh Virt - ARM meets KubeVirt
✘ Comprehensive ARM integration
✘ Support for various platforms like
Raspberry Pi, NVIDIA Jetson, and
Qualcomm Snapdragon
✘ Wide support for different OS
Ubuntu, Fedora, and Alpine
✘ KubeVirt API and CLI can be used
to manage both ARM and
x86-based VMs
✘ Less performance than x86-based
hardware
✘ Documentation not super good yet
19
Maybe to much Overhead?
✘ Control Plane Overhead - KubeVirt controller and API server, will consume some
CPU resources
✘ Virtual Machine Overhead - similar to running VMs on traditional platforms
✘ Libvirt and QEMU: KubeVirt uses libvirt and QEMU for virtualization - overhead for
virtualization process itself
✘ S
✘ Overcommitment possible -KubeVirt allows for CPU overcommitment
✘ Resource Allocation - control the CPU resources allocated to KubeVirt
components and VMs
20
Datacenter Done
21
Theory is cool - doing is shitty
✘ Easy fixes: using the right USB Cable
✘ Hard things to debug: Missing packages for PI & ARM
✘ Stupid things: buying RaspberryPI that have eMMC storage and then wondering
why ssd is not supported
✘ Using an Ubuntu that have not a supported linux modules for pi
✘ Using the wrong network
✘ Patching the firmware before presentations and fucking it up
Where to go from here
22
Next Steps
23
Going further
✘ Multi Cluster deployment - more overhead - mor flexibility e.g. KKP
✘ Include portable power source
✘ Change Pi to other computing units like TPM or similar to utilize nvme slots for all
nodes
✘ Built an actual case around it
✘ Do some real stress tests to the system
✘ Find an automated installation way utilizing pxeboot and tinkerbell maybe
24
Use Cases
Expedition /
Research
Have a datacenter
on expeditions to
analyze found data
right on the spot -
lightweight
carryable and
possible to share
data
Small Sites
Shops with limited
space - trains -
cars
Trucks, anything
that has limited
space
Military
Portable
Datacenters that
can be operated
by single forces
and is highly
mobile and easy to
destroy if needed
Thanks for the fish!
@mfahlandt

More Related Content

Similar to Datacenter in a Suitcase.pdf

Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 

Similar to Datacenter in a Suitcase.pdf (20)

Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
 
When Less is More - Save Brain Cycles with GKE Autopilot and Cloud Run
When Less is More - Save Brain Cycles with GKE Autopilot and Cloud RunWhen Less is More - Save Brain Cycles with GKE Autopilot and Cloud Run
When Less is More - Save Brain Cycles with GKE Autopilot and Cloud Run
 
MIPS-X
MIPS-XMIPS-X
MIPS-X
 
Method of NUMA-Aware Resource Management for Kubernetes 5G NFV Cluster
Method of NUMA-Aware Resource Management for Kubernetes 5G NFV ClusterMethod of NUMA-Aware Resource Management for Kubernetes 5G NFV Cluster
Method of NUMA-Aware Resource Management for Kubernetes 5G NFV Cluster
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOS
 
Cloud computing components
Cloud computing componentsCloud computing components
Cloud computing components
 
Using ansible to core os & kubernetes clusters
Using ansible to core os & kubernetes clustersUsing ansible to core os & kubernetes clusters
Using ansible to core os & kubernetes clusters
 
Ceph in the GRNET cloud stack
Ceph in the GRNET cloud stackCeph in the GRNET cloud stack
Ceph in the GRNET cloud stack
 
State of Containers and the Convergence of HPC and BigData
State of Containers and the Convergence of HPC and BigDataState of Containers and the Convergence of HPC and BigData
State of Containers and the Convergence of HPC and BigData
 
Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)
 
Building SuperComputers @ Home
Building SuperComputers @ HomeBuilding SuperComputers @ Home
Building SuperComputers @ Home
 
Composing services with Kubernetes
Composing services with KubernetesComposing services with Kubernetes
Composing services with Kubernetes
 
CloudOpen 2013: Developing cloud infrastructure: from scratch: the tale of an...
CloudOpen 2013: Developing cloud infrastructure: from scratch: the tale of an...CloudOpen 2013: Developing cloud infrastructure: from scratch: the tale of an...
CloudOpen 2013: Developing cloud infrastructure: from scratch: the tale of an...
 
Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM Achieving the ultimate performance with KVM
Achieving the ultimate performance with KVM
 
Running a database on local NVMes on Kubernetes
Running a database on local NVMes on KubernetesRunning a database on local NVMes on Kubernetes
Running a database on local NVMes on Kubernetes
 
Running a database on local NVMes on Kubernetes
Running a database on local NVMes on KubernetesRunning a database on local NVMes on Kubernetes
Running a database on local NVMes on Kubernetes
 
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
OSDC 2018 | Three years running containers with Kubernetes in Production by T...OSDC 2018 | Three years running containers with Kubernetes in Production by T...
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
 
Cluster management with Kubernetes
Cluster management with KubernetesCluster management with Kubernetes
Cluster management with Kubernetes
 
Paris Container Day 2016 : Kubernetes, votre assurance-vie pour le cloud (Go...
 Paris Container Day 2016 : Kubernetes, votre assurance-vie pour le cloud (Go... Paris Container Day 2016 : Kubernetes, votre assurance-vie pour le cloud (Go...
Paris Container Day 2016 : Kubernetes, votre assurance-vie pour le cloud (Go...
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Datacenter in a Suitcase.pdf

  • 1. Some Edge Ideas Datacenter in a Suitcase Public C1 or some other case
  • 2. Mario Fahlandt @mfahlandt Doing Kubernetes Stuff for kubermatic. GDE for Google Cloud & Champion Innovator GCP
  • 3. Why would you need a datacenter in a suitcase? 3 Whats the fuzz all about
  • 4. 4 The Idea A portable ARM processor-based data center that leverages the benefits of Kubernetes and uses KubeVirt as a hypervisor to make the setup dynamic.
  • 5. 5 ARM Processors ARM (Advanced RISC Machines) is a family of RISC architectures (Reduced Instruction Set Computing) for embedded systems. ARM processors are known for their low power consumption and high performance
  • 6. 6 Benefits ✘ Power Efficiency ✘ Cost ✘ Diverse Ecosystem ✘ Scalability ✘ Hardware Customization Benefits and Downsites Downsites ✘ Software Compatibility ✘ Performance Per Core: ✘ Standardization Issues ✘ Migration Efforts ✘ Less Mature in Server Space ✘ Vendor Lock-in Concerns:
  • 7. 7 TuringPI "We needed a board for multiple ARM nodes - in this example, we use the TuringPI 4-node mini ITX board with a built-in Ethernet switch. But in reality, any other board/setup where you can link ARM processors together will also work.
  • 8. 8 Specs ❏ 1 GBE L2 Switch ❏ Baseboard Management Controller ❏ 2x 1GbE ports ❏ 2x Mini PCI Express Slots ❏ 1x DSI ❏ 4x USB 3.0 1x USB 2.0 ❏ RTC battery slot ❏ VLAN Support ❏ 2x SATA 3 Ports 6 Gps ❏ 4x M.2 ports 2260 2280 Key-M NVMe support ❏ 1x HDMI ❏ 1x 40-pin GPIO Rasperry Pi compatible ❏ SIM slot ❏ Power Supply 24-pin ATX ❏ Mix multiple compute Modules
  • 9. 9 It was expensive, wasn’t it? 1x Turing Pi = €249 4x CM4 Raspberry Pi = €500 4x Adapter Turing Pi Raspberry Pi = €40 2x SSD ~ €100 2x SATA Cable = €10 1x 500W Power Supply = €30 1x USB 2.0 A to A Cable = €7 = €936 2 TB Storage 16 Cores 32 GB Memory
  • 10. And the demo? 10 Where is the Suitcase?
  • 12. 12 Virtualize all the things! KubeVirt to the rescue
  • 13. 13 Have you heard about your Savior KubeVirt? https://kubevirt.io/ run and manage virtual machines alongside your container workloads ✘ Combine existing virtualized workloads with new container workloads ✘ Leverage KubeVirt and Kubernetes to manage virtual machines ✘ Have Container Workload and traditional workloads side by side ✘ Is not a hypervisor 😉
  • 14. KubeOne - yeah sorry some self advertisement 14 First we Need a Cluster
  • 15. 15 What and Why is KubeOne https://github.com/kubermatic/kubeone KubeOne helps you to create update and manage a Kubernetes Cluster ✘ 100% Open Source ✘ Declarative style ✘ Vanilla Kubernetes and easily extendable ✘ Full IaC approach - even machine creation is possible (we do not need)
  • 16. 16
  • 17. Migrate from the legacy package repositories (apt.kubernetes.io and yum.kubernetes.io) to the Kubernetes community-hosted package repositories (pkgs.k8s.io). The legacy repositories have been deprecated as of August 31, 2023 and will be frozen starting from September 13, 2023 17 SERVICE Announcement
  • 18. 18 Back to Topic ähh Virt - ARM meets KubeVirt ✘ Comprehensive ARM integration ✘ Support for various platforms like Raspberry Pi, NVIDIA Jetson, and Qualcomm Snapdragon ✘ Wide support for different OS Ubuntu, Fedora, and Alpine ✘ KubeVirt API and CLI can be used to manage both ARM and x86-based VMs ✘ Less performance than x86-based hardware ✘ Documentation not super good yet
  • 19. 19 Maybe to much Overhead? ✘ Control Plane Overhead - KubeVirt controller and API server, will consume some CPU resources ✘ Virtual Machine Overhead - similar to running VMs on traditional platforms ✘ Libvirt and QEMU: KubeVirt uses libvirt and QEMU for virtualization - overhead for virtualization process itself ✘ S ✘ Overcommitment possible -KubeVirt allows for CPU overcommitment ✘ Resource Allocation - control the CPU resources allocated to KubeVirt components and VMs
  • 21. 21 Theory is cool - doing is shitty ✘ Easy fixes: using the right USB Cable ✘ Hard things to debug: Missing packages for PI & ARM ✘ Stupid things: buying RaspberryPI that have eMMC storage and then wondering why ssd is not supported ✘ Using an Ubuntu that have not a supported linux modules for pi ✘ Using the wrong network ✘ Patching the firmware before presentations and fucking it up
  • 22. Where to go from here 22 Next Steps
  • 23. 23 Going further ✘ Multi Cluster deployment - more overhead - mor flexibility e.g. KKP ✘ Include portable power source ✘ Change Pi to other computing units like TPM or similar to utilize nvme slots for all nodes ✘ Built an actual case around it ✘ Do some real stress tests to the system ✘ Find an automated installation way utilizing pxeboot and tinkerbell maybe
  • 24. 24 Use Cases Expedition / Research Have a datacenter on expeditions to analyze found data right on the spot - lightweight carryable and possible to share data Small Sites Shops with limited space - trains - cars Trucks, anything that has limited space Military Portable Datacenters that can be operated by single forces and is highly mobile and easy to destroy if needed
  • 25. Thanks for the fish! @mfahlandt