SlideShare a Scribd company logo
0
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 0
Cloud-native Gerrit
Luca Milanesio
Gerrit Code Review Maintainer
1
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 1
About GerritForge
Founded in
the UK
HQ in London with
presence in Europe and
the USA (GerritForge Inc.)
Committed to
OpenSource
and to Gerrit
Code Review
since 2009
2
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 2
GerritForge’s mission
Our 2021 goal is:
Cloud-native Gerrit
3
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 3
Cloud-native: agenda
• What cloud-native means
• Roadmap to cloud-native Gerrit
• Benefits
• Risks
• Pitfalls
• Demo
• Are you going cloud-native?
• Q&A
4
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 4
Cloud-native: what is that?
Cloud native computing is an approach in software
development that utilizes cloud computing to "build and run
scalable applications in modern, dynamic environments
such as public, private, and hybrid clouds". Technologies
such as containers, microservices, serverless functions
and immutable infrastructure, deployed via declarative
code are common elements of this architectural style.
Source: https://en.wikipedia.org/wiki/Cloud_native_computing
5
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 5
Cloud-native: is that good or bad for Gerrit?
Scalability
Elasticity
Geo-distribution
CDN
Low-latency
Disposable Infra
Easier B2B
No physical infra
Lack of CPU / Mem
Limited throughput
Host instability
Storage is expensive
6
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 6
Gerrit Code Review the road to the cloud
7
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 7
Stage-0 : componentization
2015
8
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 8
Stage-1 : HA and zero-downtime
2016
9
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 9
Stage-2 : Gerrit on NoteDb
2018
10
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 10
Stage-3 : K8s-Gerrit w/ Gardener (by SAP)
2018
11
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 11
Stage-4 : Gerrit multi-site
2019
12
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 12
Stage-5 : AWS-Gerrit – immutable and scalable
2020
13
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 13
Gerrit Events
Stage-6 : Gerrit goes with Serverless integrations
2021
Global ref-db
DNS and load
balancing
Observability & Alerts
14
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 14
Cloud-native Gerrit : benefits
Business focus
1. Common solutions to common problems
DNS Geolocation policies, Load-balancing, Logs collection,
Alerts and Monitoring, Elastic scalability
2. Skills availability
AWS and Google Cloud knowledge is widespread
3. Company and industry standards
X.509 and DNS management, Security and Hardening
15
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 15
Cloud-native Gerrit : risks
16
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 16
Cloud-native Gerrit : risks
Some of the recent Cloud and CDN failures
8 Jun 2021
1 Apr 2021
25 Nov 2020
14 Dec 2020
17
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 17
Cloud-native Gerrit : risks
Losing control
1. Understand the technologies you use
Team upskill, read logs, troubleshoot common problems
2. Multi-cloud
Put a DR site on a different cloud, prevent global disaster
3. Allow fallbacks
Design for soft-failures and fallbacks of any dependent service
18
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 18
Cloud-native Gerrit : pitfalls
1. Cloud is NOT necessarily cheaper than on-prem infrastructure
(see https://a16z.com/2021/05/27/cost-of-cloud-paradox-market-cap-cloud-lifecycle-scale-growth-repatriation-optimization/)
2. Do not oversize the instance types
Better having *more* smaller and cheaper instances
3. Optimize cache vs. I/O throughput
Memory is way cheaper than disk throughput in the Cloud
(see EFS pricing at https://aws.amazon.com/efs/pricing/)
4. Use more than one availability zone, *always*
Entire availability zones *may* and *do fail*
5. Ban Git/SSH, Gerrit SSH commands, SSH/stream-events
SSH is stateful, difficult to trace, redirect, scale-up: *DO NOT USE IT*
6. Use auto-scaling for Gerrit read-only replicas
19
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 19
Real-life cloud-native Gerrit multi-site / AWS
Gerrit daemon
events-broker
libModule
global-refdb
libModule
replication
plugin
pull-replication
plugin
dynamodb-refdb
plugin
events-kinesis
plugin
websession-broker
plugin
Metrics-reporter-cloudwatch
plugin
healthcheck
plugin
20
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 20
Real-life cloud-native Gerrit multi-site / AWS
DEMO
21
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 21
Gerrit multi-site with GCloud Pub/Sub events
DEMO
22
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 22
Q&A: are you planning to go cloud-native?
Image from: http://cypp.rutgers.edu/ru-voting/political-information/public-opinion-polls/
23
Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 23
Wants to know more?
GerritForge.com/contact

More Related Content

What's hot (20)

PPTX
Jenkins plugin for Gerrit Code Review pipelines
Luca Milanesio
 
ODP
Diffy gets enterprise grade
Eryk Szymanski
 
PPTX
From shipping rpms to helm charts - Lessons learned and best practices
Ankush Chadha, MBA, MS
 
PDF
SW360 Update Tooling Telco
Shane Coughlan
 
PPTX
12th Meeting OpenChain Reference Tooling Work Group - 25th March - Slides
Shane Coughlan
 
PDF
Git- Fast version control system
Akhil Bansal
 
PDF
GitOps with ArgoCD
CloudOps2005
 
PDF
Argocd up and running
Raphaël PINSON
 
PPTX
Git - Boost Your DEV Team Speed and Productivity
KMS Technology
 
PDF
Containers and Kubernetes without limits
Antje Barth
 
PDF
Putting data science to work
Alex Breeze
 
PPTX
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
ITviec
 
PDF
So I Downloaded Qt, Now What?
Janel Heilbrunn
 
PDF
GeeCon Prague 2018: @SpringCloud @Docker @kubernetesio
Mauricio (Salaboy) Salatino
 
PDF
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
Gina Bustos
 
PPTX
GitOps w/argocd
Jean-Philippe Bélanger
 
PDF
Whether you should migrate to git
Amit Anand
 
PDF
Thomson Reuters, TMS: Workflow in GitLab
Matan Keidar
 
PDF
From Copycat Codelets to an AI Market Internet Protocol
Stefan Ianta
 
PPTX
CNCF: Cross-cloud CI v1.0.0 Dashboard Release 2018-01-26
Vulk Coop
 
Jenkins plugin for Gerrit Code Review pipelines
Luca Milanesio
 
Diffy gets enterprise grade
Eryk Szymanski
 
From shipping rpms to helm charts - Lessons learned and best practices
Ankush Chadha, MBA, MS
 
SW360 Update Tooling Telco
Shane Coughlan
 
12th Meeting OpenChain Reference Tooling Work Group - 25th March - Slides
Shane Coughlan
 
Git- Fast version control system
Akhil Bansal
 
GitOps with ArgoCD
CloudOps2005
 
Argocd up and running
Raphaël PINSON
 
Git - Boost Your DEV Team Speed and Productivity
KMS Technology
 
Containers and Kubernetes without limits
Antje Barth
 
Putting data science to work
Alex Breeze
 
[HCM-August 13] Tech Talk on Git: Use Git to Boost Your Dev Team's Speed and ...
ITviec
 
So I Downloaded Qt, Now What?
Janel Heilbrunn
 
GeeCon Prague 2018: @SpringCloud @Docker @kubernetesio
Mauricio (Salaboy) Salatino
 
Git in the Enterprise: How to succeed at DevOps using Git and a monorepo
Gina Bustos
 
GitOps w/argocd
Jean-Philippe Bélanger
 
Whether you should migrate to git
Amit Anand
 
Thomson Reuters, TMS: Workflow in GitLab
Matan Keidar
 
From Copycat Codelets to an AI Market Internet Protocol
Stefan Ianta
 
CNCF: Cross-cloud CI v1.0.0 Dashboard Release 2018-01-26
Vulk Coop
 

Similar to Cloud-native Gerrit Code Review (20)

PPTX
Cloud Native Summit 2019 Summary
Everett Toews
 
PDF
Enterprise Cloud Native is the New Normal
QAware GmbH
 
PDF
Cloud computing overview
daklug
 
PDF
2011-08-10 In-Q-Tel Technology Focus Day, Trends & Observations in Open Sourc...
Shawn Wells
 
PDF
Are We Really Cloud-Native?
C4Media
 
PDF
AWS – jak rozpocząć przygodę z chmurą?
Brainhub
 
PPTX
Cloud101-Introduction to cloud
Ranjan Ghosh
 
PPTX
Cloud Computing Expo West - Crash Course in Open Source Cloud Computing
Mark Hinkle
 
PPTX
Get your head in the clouds! - Swansea Con 2016
Christopher Cundill
 
PDF
Download full ebook of Cloud-native Computing Pethuru Raj instant download pdf
sybilmacmod
 
PPTX
Unified Situational Awareness Dashboard for Spacecraft Operations: an inte...
Haisam Ido
 
PPT
The Cloud and Next Gen IT Gordon Haff - p camp-boston2012
ProductCamp Boston
 
PDF
A Seminar on Cloud Computing
Abdullah Yousafzai
 
PPT
Avoiding cloud lock-in
Sebastien Goasguen
 
PPTX
Linuxcon Europe 2011: Overview - Building Cloud Computing Environments
Mark Hinkle
 
PDF
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
PPTX
OpenSource and the Cloud ApacheCon.pptx
lohitvijayarenu
 
PDF
From traditional to GitOps
Víctor Leonel Orozco López
 
PPTX
Rht cloud 129
Eric Blaufarb
 
PPTX
LinuxFest Northwest: Crash Course in Open Source Cloud Computing
Mark Hinkle
 
Cloud Native Summit 2019 Summary
Everett Toews
 
Enterprise Cloud Native is the New Normal
QAware GmbH
 
Cloud computing overview
daklug
 
2011-08-10 In-Q-Tel Technology Focus Day, Trends & Observations in Open Sourc...
Shawn Wells
 
Are We Really Cloud-Native?
C4Media
 
AWS – jak rozpocząć przygodę z chmurą?
Brainhub
 
Cloud101-Introduction to cloud
Ranjan Ghosh
 
Cloud Computing Expo West - Crash Course in Open Source Cloud Computing
Mark Hinkle
 
Get your head in the clouds! - Swansea Con 2016
Christopher Cundill
 
Download full ebook of Cloud-native Computing Pethuru Raj instant download pdf
sybilmacmod
 
Unified Situational Awareness Dashboard for Spacecraft Operations: an inte...
Haisam Ido
 
The Cloud and Next Gen IT Gordon Haff - p camp-boston2012
ProductCamp Boston
 
A Seminar on Cloud Computing
Abdullah Yousafzai
 
Avoiding cloud lock-in
Sebastien Goasguen
 
Linuxcon Europe 2011: Overview - Building Cloud Computing Environments
Mark Hinkle
 
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
OpenSource and the Cloud ApacheCon.pptx
lohitvijayarenu
 
From traditional to GitOps
Víctor Leonel Orozco López
 
Rht cloud 129
Eric Blaufarb
 
LinuxFest Northwest: Crash Course in Open Source Cloud Computing
Mark Hinkle
 
Ad

More from Luca Milanesio (20)

PDF
Gerrit Code Review v3.2 and v3.3
Luca Milanesio
 
PDF
ChronicleMap non-blocking cache for Gerrit v3.3
Luca Milanesio
 
PDF
Gerrit User Summit 2018 - Keynote
Luca Milanesio
 
PPTX
Gerrit User Summit 2017 Keynote
Luca Milanesio
 
PPTX
How to keep Jenkins logs forever without performance issues
Luca Milanesio
 
PPTX
Jenkins Pipeline on your Local Box to Reduce Cycle Time
Luca Milanesio
 
PPTX
Jenkins world 2017 - Data-Driven CI Pipeline with Gerrit Code Review
Luca Milanesio
 
PPTX
Stable master workflow with Gerrit Code Review
Luca Milanesio
 
PPTX
Gerrit Code Review Analytics
Luca Milanesio
 
PPTX
Zero-Downtime Gerrit Code Review Upgrade
Luca Milanesio
 
PPTX
Speed up Continuous Delivery with BigData Analytics
Luca Milanesio
 
PPTX
Devoxx 2016 Using Jenkins, Gerrit and Spark for Continuous Delivery Analytics
Luca Milanesio
 
PPTX
Gerrit is Getting Native with RPM, Deb and Docker
Luca Milanesio
 
PPTX
GerritHub.io - present, past, future
Luca Milanesio
 
PPTX
Gerrit jenkins-big data-continuous-delivery
Luca Milanesio
 
PPTX
Is TDD dead or alive?
Luca Milanesio
 
PPTX
Gerrit Code Review with GitHub plugin
Luca Milanesio
 
PPTX
Gerrit Code Review: how to script a plugin with Scala and Groovy
Luca Milanesio
 
PPTX
Jenkins User Conference - Continuous Delivery on Mobile
Luca Milanesio
 
PPTX
Mobile Application Lifecycle with Jekins, Trello and CollabNet TeamForge
Luca Milanesio
 
Gerrit Code Review v3.2 and v3.3
Luca Milanesio
 
ChronicleMap non-blocking cache for Gerrit v3.3
Luca Milanesio
 
Gerrit User Summit 2018 - Keynote
Luca Milanesio
 
Gerrit User Summit 2017 Keynote
Luca Milanesio
 
How to keep Jenkins logs forever without performance issues
Luca Milanesio
 
Jenkins Pipeline on your Local Box to Reduce Cycle Time
Luca Milanesio
 
Jenkins world 2017 - Data-Driven CI Pipeline with Gerrit Code Review
Luca Milanesio
 
Stable master workflow with Gerrit Code Review
Luca Milanesio
 
Gerrit Code Review Analytics
Luca Milanesio
 
Zero-Downtime Gerrit Code Review Upgrade
Luca Milanesio
 
Speed up Continuous Delivery with BigData Analytics
Luca Milanesio
 
Devoxx 2016 Using Jenkins, Gerrit and Spark for Continuous Delivery Analytics
Luca Milanesio
 
Gerrit is Getting Native with RPM, Deb and Docker
Luca Milanesio
 
GerritHub.io - present, past, future
Luca Milanesio
 
Gerrit jenkins-big data-continuous-delivery
Luca Milanesio
 
Is TDD dead or alive?
Luca Milanesio
 
Gerrit Code Review with GitHub plugin
Luca Milanesio
 
Gerrit Code Review: how to script a plugin with Scala and Groovy
Luca Milanesio
 
Jenkins User Conference - Continuous Delivery on Mobile
Luca Milanesio
 
Mobile Application Lifecycle with Jekins, Trello and CollabNet TeamForge
Luca Milanesio
 
Ad

Recently uploaded (20)

PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Rethinking Security Operations - Modern SOC.pdf
Haris Chughtai
 
PPTX
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PDF
Productivity Management Software | Workstatus
Lovely Baghel
 
PDF
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PPTX
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
ShapeBlue
 
PDF
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Rethinking Security Operations - Modern SOC.pdf
Haris Chughtai
 
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Productivity Management Software | Workstatus
Lovely Baghel
 
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
ShapeBlue
 
Empowering Cloud Providers with Apache CloudStack and Stackbill
ShapeBlue
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 

Cloud-native Gerrit Code Review

  • 1. 0 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 0 Cloud-native Gerrit Luca Milanesio Gerrit Code Review Maintainer
  • 2. 1 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 1 About GerritForge Founded in the UK HQ in London with presence in Europe and the USA (GerritForge Inc.) Committed to OpenSource and to Gerrit Code Review since 2009
  • 3. 2 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 2 GerritForge’s mission Our 2021 goal is: Cloud-native Gerrit
  • 4. 3 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 3 Cloud-native: agenda • What cloud-native means • Roadmap to cloud-native Gerrit • Benefits • Risks • Pitfalls • Demo • Are you going cloud-native? • Q&A
  • 5. 4 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 4 Cloud-native: what is that? Cloud native computing is an approach in software development that utilizes cloud computing to "build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds". Technologies such as containers, microservices, serverless functions and immutable infrastructure, deployed via declarative code are common elements of this architectural style. Source: https://en.wikipedia.org/wiki/Cloud_native_computing
  • 6. 5 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 5 Cloud-native: is that good or bad for Gerrit? Scalability Elasticity Geo-distribution CDN Low-latency Disposable Infra Easier B2B No physical infra Lack of CPU / Mem Limited throughput Host instability Storage is expensive
  • 7. 6 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 6 Gerrit Code Review the road to the cloud
  • 8. 7 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 7 Stage-0 : componentization 2015
  • 9. 8 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 8 Stage-1 : HA and zero-downtime 2016
  • 10. 9 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 9 Stage-2 : Gerrit on NoteDb 2018
  • 11. 10 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 10 Stage-3 : K8s-Gerrit w/ Gardener (by SAP) 2018
  • 12. 11 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 11 Stage-4 : Gerrit multi-site 2019
  • 13. 12 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 12 Stage-5 : AWS-Gerrit – immutable and scalable 2020
  • 14. 13 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 13 Gerrit Events Stage-6 : Gerrit goes with Serverless integrations 2021 Global ref-db DNS and load balancing Observability & Alerts
  • 15. 14 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 14 Cloud-native Gerrit : benefits Business focus 1. Common solutions to common problems DNS Geolocation policies, Load-balancing, Logs collection, Alerts and Monitoring, Elastic scalability 2. Skills availability AWS and Google Cloud knowledge is widespread 3. Company and industry standards X.509 and DNS management, Security and Hardening
  • 16. 15 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 15 Cloud-native Gerrit : risks
  • 17. 16 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 16 Cloud-native Gerrit : risks Some of the recent Cloud and CDN failures 8 Jun 2021 1 Apr 2021 25 Nov 2020 14 Dec 2020
  • 18. 17 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 17 Cloud-native Gerrit : risks Losing control 1. Understand the technologies you use Team upskill, read logs, troubleshoot common problems 2. Multi-cloud Put a DR site on a different cloud, prevent global disaster 3. Allow fallbacks Design for soft-failures and fallbacks of any dependent service
  • 19. 18 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 18 Cloud-native Gerrit : pitfalls 1. Cloud is NOT necessarily cheaper than on-prem infrastructure (see https://a16z.com/2021/05/27/cost-of-cloud-paradox-market-cap-cloud-lifecycle-scale-growth-repatriation-optimization/) 2. Do not oversize the instance types Better having *more* smaller and cheaper instances 3. Optimize cache vs. I/O throughput Memory is way cheaper than disk throughput in the Cloud (see EFS pricing at https://aws.amazon.com/efs/pricing/) 4. Use more than one availability zone, *always* Entire availability zones *may* and *do fail* 5. Ban Git/SSH, Gerrit SSH commands, SSH/stream-events SSH is stateful, difficult to trace, redirect, scale-up: *DO NOT USE IT* 6. Use auto-scaling for Gerrit read-only replicas
  • 20. 19 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 19 Real-life cloud-native Gerrit multi-site / AWS Gerrit daemon events-broker libModule global-refdb libModule replication plugin pull-replication plugin dynamodb-refdb plugin events-kinesis plugin websession-broker plugin Metrics-reporter-cloudwatch plugin healthcheck plugin
  • 21. 20 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 20 Real-life cloud-native Gerrit multi-site / AWS DEMO
  • 22. 21 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 21 Gerrit multi-site with GCloud Pub/Sub events DEMO
  • 23. 22 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 22 Q&A: are you planning to go cloud-native? Image from: http://cypp.rutgers.edu/ru-voting/political-information/public-opinion-polls/
  • 24. 23 Virtual Gerrit Contributors Summit 2021 – On-line GerritForge.com 23 Wants to know more? GerritForge.com/contact