SlideShare a Scribd company logo
1 of 34
Download to read offline
Cheryl Hung, @oicheryl
Sr Director, Infra Ecosystem, Arm
Multi-Arch Infrastructure from the
Ground up
KubeCon CloudNativeCon EU 2023
Amsterdam, 19 Apr 2023
About me
@oicheryl
2010
● C++
engineer
2016
● Infra
● Dev Adv
2017
● Cloud
Native
London
2018
● CNCF
Cheryl, Sr Director Infra Ecosystem, Arm
@oicheryl
Arm Infra Ecosystem: Cloud, 5G, Telco, Networking
@oicheryl
1. Developer Outreach 2. SW/HW support 3. Standards
Objectives
1. Why is Multi-Architecture infrastructure tricky?
2. How do I do Multi-Arch with Kubernetes?
3. Case studies: FusionAuth, Honeycomb, Arm
@oicheryl
Why is Multi-Architecture
infrastructure tricky?
@oicheryl
Does your infrastructure support Multi-Arch?
1. Completely
2. Partially
3. Experimenting
4. No, but interested
5. No, not yet
@oicheryl
Why Multi-Arch infrastructure?
Better price-performance
Global Cloud IT spending
Fruit computers
ARM v1 ARM v7
ARM v6
ARM v8.6
ARM v8.4A
Arm’s RISC architecture targets power efficiency and
performance and can be licensed for different use cases
@oicheryl
Goals of Multi-Arch infrastructure
Workloads should run on the
best hardware for their
price/performance needs
Without developers being
concerned with the
underlying architecture
But Multi-Arch touches everything…
● Infra As Code
● CI/CD, reproducible
builds
● Packaging, binaries,
images, registries
● Testing, scheduling,
rollout, performance
testing
● Kubernetes upgrades
● …
How do I do Multi-Arch with
Kubernetes?
@oicheryl
Assumption 1: cloud native infra
2019
2020
2021
2022
@oicheryl
Assumption 2: Public cloud
@oicheryl
1. Inform
Inventory your software stack
● OS
● Container images
● Libraries, frameworks and runtimes
● Tools used to build, deploy and test
● Tools used to monitor and manage
and check each for Arm support (AArch64 in GCC, arm64 in Linux
kernel)
Identify hotspots
@oicheryl
2. Optimize
Provision test Arm64 environment
Upgrade container images and test
Performance testing
Update CI/CD for reproducible Arm64 builds
@oicheryl
3. Operate
Build K8s cluster
● Mixed control plane and worker nodes
● Cluster creation
● Daemonsets
Canary or blue-green deployment
● Node affinity, taints, tolerations
● Different limits and requests per architecture
@oicheryl
Case studies
“48 of the top 50
Amazon EC2 customers
use AWS Graviton
processors for their
workloads”
Danilo Poccia, Chief
Evangelist (EMEA) AWS, Aug
2022
@oicheryl
Summer
2020
Community
member
investigates
running on
Raspberry Pi
Load tests on
Graviton
Official support;
rolled out to SaaS
in June
Summer
2021
March
2022
>70% of SaaS
instances run on
Arm
March
2023
A developer-focused API-first auth provider deployable anywhere
@oicheryl
technical timeline
1. Finding the JVM that supported ARM, especially Mac ARM chips (Java 17 was
the first one to do so). Added Java 17/ARM support to the code base Dec 2021
- Feb 2022
2. Updating and testing install scripts to use the correct JVM
3. Updating docker to target the ARM architecture with jlink and multi-arch
builds
4. Checking for ARM support in public cloud regions when spinning up SaaS
5. Update the application to expose the underlying architecture
Logins are especially CPU intensive due to password hashing, so the team load
tested 50k logins. Arm handled 26-49% more logins per second and cost 8-10%
less than Intel on EC2
@oicheryl
“Because we run on Java, our lift was pretty small. We just
had to find a JVM built for ARM, and then work out any
remaining kinks”
- Daniel DeGroff, FusionAuth CTO
“I just switched a FusionAuth instance to arm64 and the
transition was so smooth I couldn't even tell whether it's
actually running the arm64 version”
- Hendy Irawan, BandungPermaculture.com CIO and FusionAuth
user
@oicheryl
Full stack observability enabling engineers to deeply
understand and debug production software
@oicheryl
March
2020
First experiments
with Graviton2
Ingest workers in
production
Virtually all
workloads and
envs on Arm
92% of vCPUs on
Arm
May
2021
Nov
2021
Turned off last x86
EC2 instances
99% Arm on
Lambda
April
2022
1. Chose to migrate ingest workers first as they are stateless, performance
critical and scales out horizontally. Written in Golang, so compiling for Arm
was easy.
2. Deployed in dogfood environment and observed positive results.
3. Initially not Kubernetes or container orchestration, everything in Terraform
and Chef so could switch Arm Amazon Machine Images (AMIs) by
enumerating all the dependencies to update.
4. Next up were own workloads (easiest to re-compile and highest compute
spend), Kafka. The last were ad-hoc one-off services and those difficult to
migrate.
honeycomb.io/blog/present-future-arm-aws-graviton-honeycomb
“Graviton has enabled Honeycomb to scale up our product without
increased operational toil, spend less on compute, and have a smaller
environmental footprint.”
- Ian Smith, Engineering Manager, Honeycomb.io
“I personally approached it as an idle experiment with a few spare
afternoons, and was surprised by how compelling the results were.
Saving 40% on the EC2 instance bill for this service […] is well worth the
investment”
- Liz Fong Jones, Field CTO, Honeycomb.io
@oicheryl
Dogfooding on Arm
@oicheryl
2019 Arm moved EDA
tools from on-prem
x86 to Graviton
✅ 60% better performance
✅ 50% reduced cost
✅ >1MW power saved/day
Thanks!
Slides at oicheryl.com
Takeaways
@oicheryl
Sched
feedback
Thanks!
Slides at oicheryl.com
Takeaways
● Why multi-arch?
@oicheryl
Sched
feedback
Thanks!
Slides at oicheryl.com
Takeaways
● Why multi-arch?
● How?
@oicheryl
Sched
feedback
Thanks!
Slides at oicheryl.com
Takeaways
● Why multi-arch?
● How?
● Talk to me!
○ Technical assistance from Arm
○ Credits for CI/CD
○ Success stories
@oicheryl
Sched
feedback
Thanks!
Slides at oicheryl.com
Takeaways
● Why multi-arch?
● How?
● Talk to me!
○ Technical support from Arm
○ Credits for CI/CD
○ Success stories
@oicheryl
Sched
feedback

More Related Content

Similar to Multi-arch from the ground up

[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...Amazon Web Services Korea
 
High Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudHigh Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudThe UberCloud
 
High Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudHigh Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudWolfgang Gentzsch
 
Kubernetes for the VI Admin
Kubernetes for the VI AdminKubernetes for the VI Admin
Kubernetes for the VI AdminKendrick Coleman
 
Deploying to Day N Operations of Kubernetes and Containerized Apps
Deploying to Day N Operations of Kubernetes and Containerized AppsDeploying to Day N Operations of Kubernetes and Containerized Apps
Deploying to Day N Operations of Kubernetes and Containerized AppsNebulaworks
 
Http Services in Rust on Containers
Http Services in Rust on ContainersHttp Services in Rust on Containers
Http Services in Rust on ContainersAnton Whalley
 
Containers behind the curtains
Containers   behind the curtainsContainers   behind the curtains
Containers behind the curtainsOmer Barel
 
How we built Packet's bare metal cloud platform
How we built Packet's bare metal cloud platformHow we built Packet's bare metal cloud platform
How we built Packet's bare metal cloud platformPacket
 
Continuous Everything in a Multi-cloud and Multi-platform Environment
Continuous Everything in a Multi-cloud and Multi-platform EnvironmentContinuous Everything in a Multi-cloud and Multi-platform Environment
Continuous Everything in a Multi-cloud and Multi-platform EnvironmentVMware Tanzu
 
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
20200113 - IBM Cloud Côte d'Azur - DeepDive KubernetesIBM France Lab
 
Aws summit 2019 running kubernetes
Aws summit 2019   running kubernetesAws summit 2019   running kubernetes
Aws summit 2019 running kubernetesAdam Hamsik
 
Kubecon seattle 2018 recap - Application Deployment aspects
Kubecon seattle 2018 recap - Application Deployment aspectsKubecon seattle 2018 recap - Application Deployment aspects
Kubecon seattle 2018 recap - Application Deployment aspectsKrishna-Kumar
 
From chroot to Docker to Kubernetes
From chroot to Docker to KubernetesFrom chroot to Docker to Kubernetes
From chroot to Docker to KubernetesAlex Glikson
 
Running Kubernetes on OpenStack
Running Kubernetes on OpenStackRunning Kubernetes on OpenStack
Running Kubernetes on OpenStackLiz Warner
 
Amazon Webservices Introduction And Core Modules
Amazon Webservices Introduction And Core Modules Amazon Webservices Introduction And Core Modules
Amazon Webservices Introduction And Core Modules Manish Kumar
 
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...CodeOps Technologies LLP
 
Developing with Docker for the Arm Architecture
Developing with Docker for the Arm ArchitectureDeveloping with Docker for the Arm Architecture
Developing with Docker for the Arm ArchitectureDocker, Inc.
 

Similar to Multi-arch from the ground up (20)

[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
 
Consul connect
Consul connectConsul connect
Consul connect
 
High Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudHigh Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the Cloud
 
High Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudHigh Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the Cloud
 
Kubernetes for the VI Admin
Kubernetes for the VI AdminKubernetes for the VI Admin
Kubernetes for the VI Admin
 
Deploying to Day N Operations of Kubernetes and Containerized Apps
Deploying to Day N Operations of Kubernetes and Containerized AppsDeploying to Day N Operations of Kubernetes and Containerized Apps
Deploying to Day N Operations of Kubernetes and Containerized Apps
 
Http Services in Rust on Containers
Http Services in Rust on ContainersHttp Services in Rust on Containers
Http Services in Rust on Containers
 
Containers behind the curtains
Containers   behind the curtainsContainers   behind the curtains
Containers behind the curtains
 
How we built Packet's bare metal cloud platform
How we built Packet's bare metal cloud platformHow we built Packet's bare metal cloud platform
How we built Packet's bare metal cloud platform
 
Continuous Everything in a Multi-cloud and Multi-platform Environment
Continuous Everything in a Multi-cloud and Multi-platform EnvironmentContinuous Everything in a Multi-cloud and Multi-platform Environment
Continuous Everything in a Multi-cloud and Multi-platform Environment
 
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
20200113 - IBM Cloud Côte d'Azur - DeepDive Kubernetes
 
Aws summit 2019 running kubernetes
Aws summit 2019   running kubernetesAws summit 2019   running kubernetes
Aws summit 2019 running kubernetes
 
Kubecon seattle 2018 recap - Application Deployment aspects
Kubecon seattle 2018 recap - Application Deployment aspectsKubecon seattle 2018 recap - Application Deployment aspects
Kubecon seattle 2018 recap - Application Deployment aspects
 
From chroot to Docker to Kubernetes
From chroot to Docker to KubernetesFrom chroot to Docker to Kubernetes
From chroot to Docker to Kubernetes
 
AWS in Practice
AWS in PracticeAWS in Practice
AWS in Practice
 
Running Kubernetes on OpenStack
Running Kubernetes on OpenStackRunning Kubernetes on OpenStack
Running Kubernetes on OpenStack
 
Amazon Webservices Introduction And Core Modules
Amazon Webservices Introduction And Core Modules Amazon Webservices Introduction And Core Modules
Amazon Webservices Introduction And Core Modules
 
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
 
IBM Cloud Paks - IBM Cloud
IBM Cloud Paks - IBM CloudIBM Cloud Paks - IBM Cloud
IBM Cloud Paks - IBM Cloud
 
Developing with Docker for the Arm Architecture
Developing with Docker for the Arm ArchitectureDeveloping with Docker for the Arm Architecture
Developing with Docker for the Arm Architecture
 

More from Cheryl Hung

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
 
Crossing the chasm with multi-arch
Crossing the chasm with multi-archCrossing the chasm with multi-arch
Crossing the chasm with multi-archCheryl Hung
 
Lessons Learned from 3 years inside CNCF
Lessons Learned from 3 years inside CNCFLessons Learned from 3 years inside CNCF
Lessons Learned from 3 years inside CNCFCheryl Hung
 
Infrastructure matters - The DevOps Conference, Copenhagen
Infrastructure matters - The DevOps Conference, CopenhagenInfrastructure matters - The DevOps Conference, Copenhagen
Infrastructure matters - The DevOps Conference, CopenhagenCheryl Hung
 
Infrastructure matters.pdf
Infrastructure matters.pdfInfrastructure matters.pdf
Infrastructure matters.pdfCheryl Hung
 
Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...
Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...
Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...Cheryl Hung
 
Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021
Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021
Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021Cheryl Hung
 
Lessons learned from 3 years inside CNCF - Swiss Cloud Native Day
Lessons learned from 3 years inside CNCF - Swiss Cloud Native DayLessons learned from 3 years inside CNCF - Swiss Cloud Native Day
Lessons learned from 3 years inside CNCF - Swiss Cloud Native DayCheryl Hung
 
10 predictions for cloud native in 2021 - Fidelity Cloud Cast
10 predictions for cloud native in 2021 - Fidelity Cloud Cast10 predictions for cloud native in 2021 - Fidelity Cloud Cast
10 predictions for cloud native in 2021 - Fidelity Cloud CastCheryl Hung
 
10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day
10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day
10 predictions for cloud native in 2021 - Cheryl Hung GIFEE dayCheryl Hung
 
Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...
Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...
Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...Cheryl Hung
 
10 predictions for cloud native in 2021
10 predictions for cloud native in 202110 predictions for cloud native in 2021
10 predictions for cloud native in 2021Cheryl Hung
 
10 predictions for the Cloud Native platform and issues in 2021
10 predictions for the Cloud Native platform and issues in 202110 predictions for the Cloud Native platform and issues in 2021
10 predictions for the Cloud Native platform and issues in 2021Cheryl Hung
 
CNCF Technology Radar - Continuous Delivery, June 2020
CNCF Technology Radar - Continuous Delivery, June 2020CNCF Technology Radar - Continuous Delivery, June 2020
CNCF Technology Radar - Continuous Delivery, June 2020Cheryl Hung
 
We're all mad here - The state of cloud native software
We're all mad here - The state of cloud native softwareWe're all mad here - The state of cloud native software
We're all mad here - The state of cloud native softwareCheryl Hung
 
How cloud native is adopted and what’s coming next
How cloud native is adopted and what’s coming nextHow cloud native is adopted and what’s coming next
How cloud native is adopted and what’s coming nextCheryl Hung
 
Patterns and challenges of cloud native adoption
Patterns and challenges of cloud native adoptionPatterns and challenges of cloud native adoption
Patterns and challenges of cloud native adoptionCheryl Hung
 
Kubernetes and containers for non techies
Kubernetes and containers for non techiesKubernetes and containers for non techies
Kubernetes and containers for non techiesCheryl Hung
 
Why cloud native matters
Why cloud native mattersWhy cloud native matters
Why cloud native mattersCheryl Hung
 
K8s & cloud native past, present and future
K8s & cloud native past, present and futureK8s & cloud native past, present and future
K8s & cloud native past, present and futureCheryl Hung
 

More from Cheryl Hung (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Crossing the chasm with multi-arch
Crossing the chasm with multi-archCrossing the chasm with multi-arch
Crossing the chasm with multi-arch
 
Lessons Learned from 3 years inside CNCF
Lessons Learned from 3 years inside CNCFLessons Learned from 3 years inside CNCF
Lessons Learned from 3 years inside CNCF
 
Infrastructure matters - The DevOps Conference, Copenhagen
Infrastructure matters - The DevOps Conference, CopenhagenInfrastructure matters - The DevOps Conference, Copenhagen
Infrastructure matters - The DevOps Conference, Copenhagen
 
Infrastructure matters.pdf
Infrastructure matters.pdfInfrastructure matters.pdf
Infrastructure matters.pdf
 
Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...
Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...
Cloud Native Trends and 2022 Predictions - Cheryl Hung, 16 June 2022 - Cloud ...
 
Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021
Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021
Lessons learned from 3 years inside cncf - WTF is Cloud Native, 4 September 2021
 
Lessons learned from 3 years inside CNCF - Swiss Cloud Native Day
Lessons learned from 3 years inside CNCF - Swiss Cloud Native DayLessons learned from 3 years inside CNCF - Swiss Cloud Native Day
Lessons learned from 3 years inside CNCF - Swiss Cloud Native Day
 
10 predictions for cloud native in 2021 - Fidelity Cloud Cast
10 predictions for cloud native in 2021 - Fidelity Cloud Cast10 predictions for cloud native in 2021 - Fidelity Cloud Cast
10 predictions for cloud native in 2021 - Fidelity Cloud Cast
 
10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day
10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day
10 predictions for cloud native in 2021 - Cheryl Hung GIFEE day
 
Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...
Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...
Data and Storage Ecosystem Opportunities and Need - Cheryl Hung Sodacon2020 k...
 
10 predictions for cloud native in 2021
10 predictions for cloud native in 202110 predictions for cloud native in 2021
10 predictions for cloud native in 2021
 
10 predictions for the Cloud Native platform and issues in 2021
10 predictions for the Cloud Native platform and issues in 202110 predictions for the Cloud Native platform and issues in 2021
10 predictions for the Cloud Native platform and issues in 2021
 
CNCF Technology Radar - Continuous Delivery, June 2020
CNCF Technology Radar - Continuous Delivery, June 2020CNCF Technology Radar - Continuous Delivery, June 2020
CNCF Technology Radar - Continuous Delivery, June 2020
 
We're all mad here - The state of cloud native software
We're all mad here - The state of cloud native softwareWe're all mad here - The state of cloud native software
We're all mad here - The state of cloud native software
 
How cloud native is adopted and what’s coming next
How cloud native is adopted and what’s coming nextHow cloud native is adopted and what’s coming next
How cloud native is adopted and what’s coming next
 
Patterns and challenges of cloud native adoption
Patterns and challenges of cloud native adoptionPatterns and challenges of cloud native adoption
Patterns and challenges of cloud native adoption
 
Kubernetes and containers for non techies
Kubernetes and containers for non techiesKubernetes and containers for non techies
Kubernetes and containers for non techies
 
Why cloud native matters
Why cloud native mattersWhy cloud native matters
Why cloud native matters
 
K8s & cloud native past, present and future
K8s & cloud native past, present and futureK8s & cloud native past, present and future
K8s & cloud native past, present and future
 

Recently uploaded

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 

Recently uploaded (20)

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 

Multi-arch from the ground up

  • 1. Cheryl Hung, @oicheryl Sr Director, Infra Ecosystem, Arm Multi-Arch Infrastructure from the Ground up KubeCon CloudNativeCon EU 2023 Amsterdam, 19 Apr 2023
  • 2. About me @oicheryl 2010 ● C++ engineer 2016 ● Infra ● Dev Adv 2017 ● Cloud Native London 2018 ● CNCF
  • 3. Cheryl, Sr Director Infra Ecosystem, Arm @oicheryl
  • 4. Arm Infra Ecosystem: Cloud, 5G, Telco, Networking @oicheryl 1. Developer Outreach 2. SW/HW support 3. Standards
  • 5. Objectives 1. Why is Multi-Architecture infrastructure tricky? 2. How do I do Multi-Arch with Kubernetes? 3. Case studies: FusionAuth, Honeycomb, Arm @oicheryl
  • 7. @oicheryl Does your infrastructure support Multi-Arch? 1. Completely 2. Partially 3. Experimenting 4. No, but interested 5. No, not yet
  • 10. Fruit computers ARM v1 ARM v7 ARM v6 ARM v8.6 ARM v8.4A Arm’s RISC architecture targets power efficiency and performance and can be licensed for different use cases
  • 11. @oicheryl Goals of Multi-Arch infrastructure Workloads should run on the best hardware for their price/performance needs Without developers being concerned with the underlying architecture
  • 12. But Multi-Arch touches everything… ● Infra As Code ● CI/CD, reproducible builds ● Packaging, binaries, images, registries ● Testing, scheduling, rollout, performance testing ● Kubernetes upgrades ● …
  • 13. How do I do Multi-Arch with Kubernetes?
  • 17. 1. Inform Inventory your software stack ● OS ● Container images ● Libraries, frameworks and runtimes ● Tools used to build, deploy and test ● Tools used to monitor and manage and check each for Arm support (AArch64 in GCC, arm64 in Linux kernel) Identify hotspots @oicheryl
  • 18. 2. Optimize Provision test Arm64 environment Upgrade container images and test Performance testing Update CI/CD for reproducible Arm64 builds @oicheryl
  • 19. 3. Operate Build K8s cluster ● Mixed control plane and worker nodes ● Cluster creation ● Daemonsets Canary or blue-green deployment ● Node affinity, taints, tolerations ● Different limits and requests per architecture @oicheryl
  • 21. “48 of the top 50 Amazon EC2 customers use AWS Graviton processors for their workloads” Danilo Poccia, Chief Evangelist (EMEA) AWS, Aug 2022 @oicheryl
  • 22. Summer 2020 Community member investigates running on Raspberry Pi Load tests on Graviton Official support; rolled out to SaaS in June Summer 2021 March 2022 >70% of SaaS instances run on Arm March 2023 A developer-focused API-first auth provider deployable anywhere @oicheryl
  • 23. technical timeline 1. Finding the JVM that supported ARM, especially Mac ARM chips (Java 17 was the first one to do so). Added Java 17/ARM support to the code base Dec 2021 - Feb 2022 2. Updating and testing install scripts to use the correct JVM 3. Updating docker to target the ARM architecture with jlink and multi-arch builds 4. Checking for ARM support in public cloud regions when spinning up SaaS 5. Update the application to expose the underlying architecture Logins are especially CPU intensive due to password hashing, so the team load tested 50k logins. Arm handled 26-49% more logins per second and cost 8-10% less than Intel on EC2 @oicheryl
  • 24. “Because we run on Java, our lift was pretty small. We just had to find a JVM built for ARM, and then work out any remaining kinks” - Daniel DeGroff, FusionAuth CTO “I just switched a FusionAuth instance to arm64 and the transition was so smooth I couldn't even tell whether it's actually running the arm64 version” - Hendy Irawan, BandungPermaculture.com CIO and FusionAuth user @oicheryl
  • 25. Full stack observability enabling engineers to deeply understand and debug production software @oicheryl March 2020 First experiments with Graviton2 Ingest workers in production Virtually all workloads and envs on Arm 92% of vCPUs on Arm May 2021 Nov 2021 Turned off last x86 EC2 instances 99% Arm on Lambda April 2022
  • 26. 1. Chose to migrate ingest workers first as they are stateless, performance critical and scales out horizontally. Written in Golang, so compiling for Arm was easy. 2. Deployed in dogfood environment and observed positive results. 3. Initially not Kubernetes or container orchestration, everything in Terraform and Chef so could switch Arm Amazon Machine Images (AMIs) by enumerating all the dependencies to update. 4. Next up were own workloads (easiest to re-compile and highest compute spend), Kafka. The last were ad-hoc one-off services and those difficult to migrate. honeycomb.io/blog/present-future-arm-aws-graviton-honeycomb
  • 27. “Graviton has enabled Honeycomb to scale up our product without increased operational toil, spend less on compute, and have a smaller environmental footprint.” - Ian Smith, Engineering Manager, Honeycomb.io “I personally approached it as an idle experiment with a few spare afternoons, and was surprised by how compelling the results were. Saving 40% on the EC2 instance bill for this service […] is well worth the investment” - Liz Fong Jones, Field CTO, Honeycomb.io @oicheryl
  • 28.
  • 29. Dogfooding on Arm @oicheryl 2019 Arm moved EDA tools from on-prem x86 to Graviton ✅ 60% better performance ✅ 50% reduced cost ✅ >1MW power saved/day
  • 31. Thanks! Slides at oicheryl.com Takeaways ● Why multi-arch? @oicheryl Sched feedback
  • 32. Thanks! Slides at oicheryl.com Takeaways ● Why multi-arch? ● How? @oicheryl Sched feedback
  • 33. Thanks! Slides at oicheryl.com Takeaways ● Why multi-arch? ● How? ● Talk to me! ○ Technical assistance from Arm ○ Credits for CI/CD ○ Success stories @oicheryl Sched feedback
  • 34. Thanks! Slides at oicheryl.com Takeaways ● Why multi-arch? ● How? ● Talk to me! ○ Technical support from Arm ○ Credits for CI/CD ○ Success stories @oicheryl Sched feedback