SlideShare a Scribd company logo
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
 
Consul connect
Consul connectConsul connect
Consul connect
momenton_slides
 
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
The 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 Cloud
Wolfgang Gentzsch
 
Kubernetes for the VI Admin
Kubernetes for the VI AdminKubernetes for the VI Admin
Kubernetes for the VI Admin
Kendrick 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 Apps
Nebulaworks
 
Http Services in Rust on Containers
Http Services in Rust on ContainersHttp Services in Rust on Containers
Http Services in Rust on Containers
Anton Whalley
 
Containers behind the curtains
Containers   behind the curtainsContainers   behind the curtains
Containers behind the curtains
Omer 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 platform
Packet
 
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
VMware 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 Kubernetes
IBM France Lab
 
Aws summit 2019 running kubernetes
Aws summit 2019   running kubernetesAws summit 2019   running kubernetes
Aws summit 2019 running kubernetes
Adam 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 aspects
Krishna-Kumar
 
From chroot to Docker to Kubernetes
From chroot to Docker to KubernetesFrom chroot to Docker to Kubernetes
From chroot to Docker to Kubernetes
Alex Glikson
 
AWS in Practice
AWS in PracticeAWS in Practice
AWS in Practice
Anna Ruokonen
 
Running Kubernetes on OpenStack
Running Kubernetes on OpenStackRunning Kubernetes on OpenStack
Running Kubernetes on OpenStack
Liz 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
 
IBM Cloud Paks - IBM Cloud
IBM Cloud Paks - IBM CloudIBM Cloud Paks - IBM Cloud
IBM Cloud Paks - IBM Cloud
AniaPaplaCardenal
 
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
Docker, 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.pdf
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.pdf
Cheryl Hung
 
Crossing the chasm with multi-arch
Crossing the chasm with multi-archCrossing the chasm with multi-arch
Crossing the chasm with multi-arch
Cheryl 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 CNCF
Cheryl Hung
 
Infrastructure matters - The DevOps Conference, Copenhagen
Infrastructure matters - The DevOps Conference, CopenhagenInfrastructure matters - The DevOps Conference, Copenhagen
Infrastructure matters - The DevOps Conference, Copenhagen
Cheryl Hung
 
Infrastructure matters.pdf
Infrastructure matters.pdfInfrastructure matters.pdf
Infrastructure matters.pdf
Cheryl 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 2021
Cheryl 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 Day
Cheryl 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 Cast
Cheryl 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 day
Cheryl 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 2021
Cheryl 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 2021
Cheryl 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 2020
Cheryl 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 software
Cheryl 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 next
Cheryl 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 adoption
Cheryl Hung
 
Kubernetes and containers for non techies
Kubernetes and containers for non techiesKubernetes and containers for non techies
Kubernetes and containers for non techies
Cheryl Hung
 
Why cloud native matters
Why cloud native mattersWhy cloud native matters
Why cloud native matters
Cheryl 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
 
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
 

Recently uploaded

Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 

Recently uploaded (20)

Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 

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