SlideShare a Scribd company logo
© 2022 Arm
Cheryl Hung, Sr Director of Ecosystem, Infrastructure
25 July 2023
Multi-Arch Cloud
Infrastructure from the
Ground Up
Why you should consider it and how to get
started
2 © 2022 Arm
Agenda
This presentation is aimed at architects, engineering managers, DevOps and platform
engineers.
What is Multi-Arch Cloud Infrastructure?
• Use cases
Web server: NGINX on Alibaba Cloud
NoSQL data store: Redis on Alibaba Cloud
Machine learning on AWS Graviton3
• Case studies
FusionAuth
Honeycomb
How to get started
• Three steps to migrating to multi-arch
• Example deployments
Wordpress + MySQL on Azure Kubernetes Service (AKS) on Arm
Github Actions on Arm-based Burstable VMs on Azure
3 © 2022 Arm
About me
Cheryl.Hung@arm.com, Senior Director of Ecosystem, Infrastructure
My mission is to get Arm to cross the chasm
• SW support
• Open source
• HW availability
• Standards bodies
• Developer outreach
Previously engineer and eng manager at Google and Apple, and VP at Cloud Native
Computing Foundation
© 2022 Arm
What is Multi-Arch Cloud
Infrastructure?
5 © 2022 Arm
Cloud spending and energy usage are under pressure
EU goal of climate-neutral data centers by 2030
Companies need to maximize price-performance and use resources efficiently
6 © 2022 Arm
What is Multi-Arch Infrastructure?
Computer architectures are either RISC (Reduced Instruction Set Computers) or
CISC (Complex Instruction Set Computers).
Arm’s RISC architecture targets power efficiency and performance, and can be
licensed for many use cases
• Mobile devices
• Automotive
• Internet of Things
• Cloud
The goal of Multi-Arch Infrastructure is to run workloads on the best hardware for
their price-performance needs, without developers needing to be concerned with
the underlying architecture
7 © 2022 Arm
What kind of workloads can benefit?
Machine learning
Distributed memory cache
Web servers
From the Arm Community Infrastructure Solutions Blog
Improve NGINX performance up to
32% by deploying on Alibaba Cloud
Yitian 710 instances
Improve Memcached performance
up to 41% with Alibaba Cloud Yitian
710 instances
AWS Graviton3 featuring Arm
Neoverse V1 is up to 1.8x faster
than x86 for deep learning
inference workloads
8 © 2022 Arm
What kind of workloads can benefit?
Broad support for Arm across the top used open source projects
Arm-based instances are available on every major public cloud provider
• AWS, Microsoft Azure, Google Cloud, Oracle, Baidu Cloud, Alibaba Cloud, Tencent Cloud, JD Cloud
Lots of work to make it really easy to recompile your software for Arm (with a few
tweaks). We’ll look at two real life case studies.
9 © 2022 Arm
Summe
r 2020
Community
member
investigates
running on
Raspberry Pi
Load tests on
Graviton
Official support;
rolled out to SaaS
in June
Summe
r 2021
March
2022
>70% of SaaS
instances run on
Arm
March
2023
A developer-focused API-first auth provider deployable anywhere
10 © 2022 Arm
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
Performance testing and results
• 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
11 © 2022 Arm
“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, FusionAuth user and BandungPermaculture.com
CIO
12 © 2022 Arm
Full stack observability enabling engineers to deeply understand and debug
production software
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
13 © 2022 Arm
Technical timeline
1. Chose to migrate ingest workers first as they are stateless, performance critical and scales
out horizontally.
2. The ingest workers are written in Golang, so compiling for Arm was easy. They wer deployed
in dogfood environment and positive results observed.
3. Initially no 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) and Kafka.
The last were ad-hoc one-off services and those difficult to migrate. After one year of work,
the last x86 EC2 instance was turned off, and 99% was on AWS Lambda.
Testing and results
• Saved 40% of EC2 instance bill
14 © 2022 Arm
“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
15 © 2022 Arm
“48 of the top 50 Amazon EC2 customers
use AWS Graviton processors for their
workloads”
Danilo Poccia, Chief
Evangelist (EMEA) AWS, Aug
2022
© 2022 Arm
How to get started
17 © 2022 Arm
Lots to consider in a modern cloud native infrastructure!
• Infra As Code
• CI/CD, reproducible builds
• Packaging, binaries, images,
registries
• Testing, scheduling, rollout,
performance testing
• Infrastructure upgrades
18 © 2022 Arm
@oicheryl
Three steps to migrating to multi-arch
19 © 2022 Arm
Three steps to migrating to multi-arch
1. Inform 2. Optimize 3. Operate
i. Inventory your software
stack (OS, container
images, libraries,
frameworks, runtimes,
tools used to build, deploy
and test, and tools used to
monitor and manage)
ii. Identify hotspots and check
each for Arm support
(AArch64 in GCC, arm64 in
Linux kernel)
i. Provision your test Arm64
environment
ii. Upgrade container images
and test
iii. Performance testing
iv. Build K8s cluster
• Mixed control plane and
worker plane nodes
• Cluster creation
• Daemonsets
i. Update CI/CD for
reproducible Arm64 builds
ii. Canary or blue-green
deployment
• Node affinity, taints and
tolerations
• Different limits and
requests per architecture
20 © 2022 Arm
Example deployment 1: Deploy WordPress on K8s
Simple deployment on Arm-based instances on Azure Kubernetes Service (AKS)
1. Use terraform to set the cluster to deploy Arm-based VMs:
2. Use the scripts in https://community.arm.com/arm-community-blogs/b/infrastructure-
solutions-blog/posts/aks-on-arm-based-ampere to deploy K8s, WordPress and MySQL
21 © 2022 Arm
Example deployment 2: Saving on CI/CD
1. Build apps with Github Actions on Arm-based Burstable VMs on Microsoft Azure
22 © 2022 Arm
Example deployment 2: Saving on CI/CD
2. Check burstable VM is accruing credits
3. Commit to CI/CD pipeline to use the accumulated credits
© 2022 Arm
Summary
24 © 2022 Arm
Summary
Cloud spending and energy usage are under pressure. Companies need to maximize
price-performance and use spend efficiently.
The goal of Multi-Arch Infrastructure is to run workloads on the best hardware for their
price-performance needs, without developers needing to be concerned with the
underlying architecture.
• Real life case studies show 25-40% savings and 20-60% performance increase compared to x86
Arm-based instances are available on all major public cloud providers and Arm is widely
supported across the software ecosystem, both open source and commercially.
To get started, use the Inform – Optimize – Operate model to find your hotspots and
manage the transition smoothly.
Check out the Arm Community Infrastructure Solutions Blog for tips and tricks.
© 2022 Arm
Cheryl Hung, Sr Director of Ecosystem, Infrastructure
25 July 2023
Thank you
Cheryl.Hung@arm.com

More Related Content

Similar to Multi-Arch Infra From the Ground Up.pptx

Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon Web Services
 
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry MeetupPivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
cornelia davis
 
414: Build an agile CI/CD Pipeline for application integration
414: Build an agile CI/CD Pipeline for application integration414: Build an agile CI/CD Pipeline for application integration
414: Build an agile CI/CD Pipeline for application integration
Trevor Dolby
 
The rise of microservices
The rise of microservicesThe rise of microservices
The rise of microservices
Cloud Technology Experts
 
Lightening the burden of cloud resources administration: from VMs to Functions
Lightening the burden of cloud resources administration: from VMs to FunctionsLightening the burden of cloud resources administration: from VMs to Functions
Lightening the burden of cloud resources administration: from VMs to Functions
EUBrasilCloudFORUM .
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Yong Feng
 
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Amazon Web Services
 
How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?
Michael Elder
 
The ultimate Kubernetes Deployment Checklist - Infra to Microservices
The ultimate Kubernetes Deployment Checklist - Infra to MicroservicesThe ultimate Kubernetes Deployment Checklist - Infra to Microservices
The ultimate Kubernetes Deployment Checklist - Infra to Microservices
Prakarsh -
 
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Eduardo Patrocinio
 
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
Amazon Web Services Korea
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Patrick Chanezon
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
Amazon Web Services
 
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
Edge AI and Vision Alliance
 
Serverless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment OpportunitiesServerless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment Opportunities
Underscore VC
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
Julien SIMON
 
AWS in Practice
AWS in PracticeAWS in Practice
AWS in Practice
Anna Ruokonen
 
Containers vs serverless - Navigating application deployment options
Containers vs serverless - Navigating application deployment optionsContainers vs serverless - Navigating application deployment options
Containers vs serverless - Navigating application deployment options
Daniel Krook
 
stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HAstackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
NETWAYS
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
AWS Summits
 

Similar to Multi-Arch Infra From the Ground Up.pptx (20)

Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
 
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry MeetupPivotal Container Service (PKS) at SF Cloud Foundry Meetup
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
 
414: Build an agile CI/CD Pipeline for application integration
414: Build an agile CI/CD Pipeline for application integration414: Build an agile CI/CD Pipeline for application integration
414: Build an agile CI/CD Pipeline for application integration
 
The rise of microservices
The rise of microservicesThe rise of microservices
The rise of microservices
 
Lightening the burden of cloud resources administration: from VMs to Functions
Lightening the burden of cloud resources administration: from VMs to FunctionsLightening the burden of cloud resources administration: from VMs to Functions
Lightening the burden of cloud resources administration: from VMs to Functions
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
 
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
Rightsizing Your Silicon Design Environment: Elastic Clusters for EDA Workloa...
 
How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?How do you deliver your applications to the cloud?
How do you deliver your applications to the cloud?
 
The ultimate Kubernetes Deployment Checklist - Infra to Microservices
The ultimate Kubernetes Deployment Checklist - Infra to MicroservicesThe ultimate Kubernetes Deployment Checklist - Infra to Microservices
The ultimate Kubernetes Deployment Checklist - Infra to Microservices
 
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
Lessons Learned during IBM SmartCloud Orchestrator Deployment at a Large Tel...
 
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
 
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
Develop and deploy Kubernetes  applications with Docker - IBM Index 2018Develop and deploy Kubernetes  applications with Docker - IBM Index 2018
Develop and deploy Kubernetes applications with Docker - IBM Index 2018
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
 
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
 
Serverless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment OpportunitiesServerless: Market Overview and Investment Opportunities
Serverless: Market Overview and Investment Opportunities
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
 
AWS in Practice
AWS in PracticeAWS in Practice
AWS in Practice
 
Containers vs serverless - Navigating application deployment options
Containers vs serverless - Navigating application deployment optionsContainers vs serverless - Navigating application deployment options
Containers vs serverless - Navigating application deployment options
 
stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HAstackconf 2022: Data Management in Kubernetes – Backup, DR, HA
stackconf 2022: Data Management in Kubernetes – Backup, DR, HA
 
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
Blur the boundaries between your on-premises to AWS cloud by embracing VMWare...
 

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

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 

Recently uploaded (20)

Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 

Multi-Arch Infra From the Ground Up.pptx

  • 1. © 2022 Arm Cheryl Hung, Sr Director of Ecosystem, Infrastructure 25 July 2023 Multi-Arch Cloud Infrastructure from the Ground Up Why you should consider it and how to get started
  • 2. 2 © 2022 Arm Agenda This presentation is aimed at architects, engineering managers, DevOps and platform engineers. What is Multi-Arch Cloud Infrastructure? • Use cases Web server: NGINX on Alibaba Cloud NoSQL data store: Redis on Alibaba Cloud Machine learning on AWS Graviton3 • Case studies FusionAuth Honeycomb How to get started • Three steps to migrating to multi-arch • Example deployments Wordpress + MySQL on Azure Kubernetes Service (AKS) on Arm Github Actions on Arm-based Burstable VMs on Azure
  • 3. 3 © 2022 Arm About me Cheryl.Hung@arm.com, Senior Director of Ecosystem, Infrastructure My mission is to get Arm to cross the chasm • SW support • Open source • HW availability • Standards bodies • Developer outreach Previously engineer and eng manager at Google and Apple, and VP at Cloud Native Computing Foundation
  • 4. © 2022 Arm What is Multi-Arch Cloud Infrastructure?
  • 5. 5 © 2022 Arm Cloud spending and energy usage are under pressure EU goal of climate-neutral data centers by 2030 Companies need to maximize price-performance and use resources efficiently
  • 6. 6 © 2022 Arm What is Multi-Arch Infrastructure? Computer architectures are either RISC (Reduced Instruction Set Computers) or CISC (Complex Instruction Set Computers). Arm’s RISC architecture targets power efficiency and performance, and can be licensed for many use cases • Mobile devices • Automotive • Internet of Things • Cloud The goal of Multi-Arch Infrastructure is to run workloads on the best hardware for their price-performance needs, without developers needing to be concerned with the underlying architecture
  • 7. 7 © 2022 Arm What kind of workloads can benefit? Machine learning Distributed memory cache Web servers From the Arm Community Infrastructure Solutions Blog Improve NGINX performance up to 32% by deploying on Alibaba Cloud Yitian 710 instances Improve Memcached performance up to 41% with Alibaba Cloud Yitian 710 instances AWS Graviton3 featuring Arm Neoverse V1 is up to 1.8x faster than x86 for deep learning inference workloads
  • 8. 8 © 2022 Arm What kind of workloads can benefit? Broad support for Arm across the top used open source projects Arm-based instances are available on every major public cloud provider • AWS, Microsoft Azure, Google Cloud, Oracle, Baidu Cloud, Alibaba Cloud, Tencent Cloud, JD Cloud Lots of work to make it really easy to recompile your software for Arm (with a few tweaks). We’ll look at two real life case studies.
  • 9. 9 © 2022 Arm Summe r 2020 Community member investigates running on Raspberry Pi Load tests on Graviton Official support; rolled out to SaaS in June Summe r 2021 March 2022 >70% of SaaS instances run on Arm March 2023 A developer-focused API-first auth provider deployable anywhere
  • 10. 10 © 2022 Arm 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 Performance testing and results • 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
  • 11. 11 © 2022 Arm “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, FusionAuth user and BandungPermaculture.com CIO
  • 12. 12 © 2022 Arm Full stack observability enabling engineers to deeply understand and debug production software 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
  • 13. 13 © 2022 Arm Technical timeline 1. Chose to migrate ingest workers first as they are stateless, performance critical and scales out horizontally. 2. The ingest workers are written in Golang, so compiling for Arm was easy. They wer deployed in dogfood environment and positive results observed. 3. Initially no 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) and Kafka. The last were ad-hoc one-off services and those difficult to migrate. After one year of work, the last x86 EC2 instance was turned off, and 99% was on AWS Lambda. Testing and results • Saved 40% of EC2 instance bill
  • 14. 14 © 2022 Arm “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
  • 15. 15 © 2022 Arm “48 of the top 50 Amazon EC2 customers use AWS Graviton processors for their workloads” Danilo Poccia, Chief Evangelist (EMEA) AWS, Aug 2022
  • 16. © 2022 Arm How to get started
  • 17. 17 © 2022 Arm Lots to consider in a modern cloud native infrastructure! • Infra As Code • CI/CD, reproducible builds • Packaging, binaries, images, registries • Testing, scheduling, rollout, performance testing • Infrastructure upgrades
  • 18. 18 © 2022 Arm @oicheryl Three steps to migrating to multi-arch
  • 19. 19 © 2022 Arm Three steps to migrating to multi-arch 1. Inform 2. Optimize 3. Operate i. Inventory your software stack (OS, container images, libraries, frameworks, runtimes, tools used to build, deploy and test, and tools used to monitor and manage) ii. Identify hotspots and check each for Arm support (AArch64 in GCC, arm64 in Linux kernel) i. Provision your test Arm64 environment ii. Upgrade container images and test iii. Performance testing iv. Build K8s cluster • Mixed control plane and worker plane nodes • Cluster creation • Daemonsets i. Update CI/CD for reproducible Arm64 builds ii. Canary or blue-green deployment • Node affinity, taints and tolerations • Different limits and requests per architecture
  • 20. 20 © 2022 Arm Example deployment 1: Deploy WordPress on K8s Simple deployment on Arm-based instances on Azure Kubernetes Service (AKS) 1. Use terraform to set the cluster to deploy Arm-based VMs: 2. Use the scripts in https://community.arm.com/arm-community-blogs/b/infrastructure- solutions-blog/posts/aks-on-arm-based-ampere to deploy K8s, WordPress and MySQL
  • 21. 21 © 2022 Arm Example deployment 2: Saving on CI/CD 1. Build apps with Github Actions on Arm-based Burstable VMs on Microsoft Azure
  • 22. 22 © 2022 Arm Example deployment 2: Saving on CI/CD 2. Check burstable VM is accruing credits 3. Commit to CI/CD pipeline to use the accumulated credits
  • 24. 24 © 2022 Arm Summary Cloud spending and energy usage are under pressure. Companies need to maximize price-performance and use spend efficiently. The goal of Multi-Arch Infrastructure is to run workloads on the best hardware for their price-performance needs, without developers needing to be concerned with the underlying architecture. • Real life case studies show 25-40% savings and 20-60% performance increase compared to x86 Arm-based instances are available on all major public cloud providers and Arm is widely supported across the software ecosystem, both open source and commercially. To get started, use the Inform – Optimize – Operate model to find your hotspots and manage the transition smoothly. Check out the Arm Community Infrastructure Solutions Blog for tips and tricks.
  • 25. © 2022 Arm Cheryl Hung, Sr Director of Ecosystem, Infrastructure 25 July 2023 Thank you Cheryl.Hung@arm.com

Editor's Notes

  1. https://aws.amazon.com/blogs/aws/graviton-fast-start-a-new-program-to-help-move-your-workloads-to-aws-graviton/