SlideShare a Scribd company logo
Copyrights ©2019 Walking Tree
DevOps Best Practices in Microservices
Copyrights ©2019 Walking Tree
Agenda
● Devops & Microservices - What is the relation?
● DevOps core building blocks
● Pitfalls Vs Best Practices
● Summary
● Q & A
Copyrights ©2019 Walking Tree
Microservices Devops
What is the relation?
Copyrights ©2019 Walking Tree
How much time we have?
When do you need this? I need it yesterday
Copyrights ©2019 Walking Tree
Parallel Development
Copyrights ©2019 Walking Tree
Detect Early Implies Deploy Frequently
Copyrights ©2019 Walking Tree
Give me one more chance to love you. You get only one chance, aim to do it right
Can a change fail?
Copyrights ©2019 Walking Tree
Nothing is certain except for death and
taxes.
Nothing is certain except for death and
production failure.
Benjamin Franklin Software Genie
Time for Recovery
Copyrights ©2019 Walking Tree
Lead Time
Deployment
Frequency
Mean Time to
Restore
Change Fail
Percentage
9
Delivery performance
Copyrights ©2019 Walking Tree
Complement each other
Microservices Devops
I will make things lite I will bring agility
I will make
development swift
I will scale themI will make things
independent
I will identify failure
early
Copyrights ©2019 Walking Tree
Microservices Devops
Companions
Copyrights ©2019 Walking Tree
DevOps Core Building Blocks
Deployment
Copyrights ©2019 Walking Tree
Continuous Integration
● Dev team relies on manual testing may get feedback in a couple hours, comprehensive test feedback
comes a day–or several days
● The primary goal of CI is to keep everyone in sync with each other(Developer’s code)
● CI servers detects that the code has been committed, checks it out and compiles,tests.
● CI also builds the artifact(s), which are used for further validation such as deploying a running service
to run tests against it.
● Ideally we should build these artifacts only once and use across the all deployments of that version
code.
Copyrights ©2019 Walking Tree
Continuous Integration
● Having single code repository for all the
services
● Not having CI or Having monolithic CI
● Not commiting code to trunk at least once
in a day
● Not having suite of tests to validate
changes
● Low priority for broken build
● Separate repository for each service
● Separate CI build for each service
● As many commits as possible to main
trunk in a day
● Good test suite which will validate the
results immediately
● Highest priority for broken build
Best PracticesPitfalls
Copyrights ©2019 Walking Tree
Continuous Deployment
● Continuous Deployment is an approach where teams release quality products frequently and predictably
from source code repository to production in an automated fashion
● Continuous Deployment(CD) is a strategy for software releases
● Releases become smaller and easier to understand.
● No one is required to drop their work to make a deployment because everything is automated.
● The feedback loop with your customers is faster: new features and improvements go straight to
production when they're ready
● CD eliminates the human safeguards against unproven code in live software.
Copyrights ©2019 Walking Tree
Continuous Deployment
● Not covering all the stages of journey from
code to production
● Tailoring CI tools to do CD work
● Technology specific CD tools
● Generating artifacts separately for each
stage
● Not having a configuration server
● Not having images for each service
● Lack of versioning for artifacts
● CD covers all stages
● Use specific CD tools
● Identify technology agnostic CD tools
● Single artifact for all the stages
● Having configuration server which takes
care of all configurations
● Maintain Image for each Service
● Mandatory versioning of artifacts
Pitfalls Best Practices
Copyrights ©2019 Walking Tree
Scaling
● Scaling helps you quickly and easily scale multiple resources
Maintain performance
Add more resources to meet
application performance targets.
Benefits
Control costs
Automatically remove unneeded
resources to avoid overspending.
Simplify scaling
Discover scalable resources and
build a scaling plan in just a few
steps.
Scale Predictively
Use historical load metrics to learn
your application’s traffic patterns
and proactively scale resources
ahead of time.
Copyrights ©2019 Walking Tree
Scaling
● Lack of containerization
● Inadequate Image management
● No link between metrics and scale
● No or Semi automation of scaling
● Effective Containerization
● Comprehensive Image management
● Linking of metrics with scaling
● Auto updation of load balancer
● Must be automated ( both up and down )
Best PracticesPitfalls
Copyrights ©2019 Walking Tree
Metrics
● Host and Infrastructure metrics - Metrics of the infrastructure and the servers on which the microservice
is running
○ Hardware
○ Communication
○ Application Platform
● Microservice metrics - Metrics that are unique to the individual microservice
○ Microservices
Copyrights ©2019 Walking Tree
Metrics
● Services having no clue of its own metrics
● No aggregation or drill down option for
service and host level metrics
● Insufficient storage system for metrics
● Design services to expose basic metrics
themselves( Like response time & error
rate)
● Aggregation of service level metrics
● Aggregation of host level metrics
● Drill down option for metrics at service as
well as host level
● Metric storage platform must be elastic
enough to store data which can allow you
to create and observe trends
Best PracticesPitfalls
Copyrights ©2019 Walking Tree
Monitoring
● We should be able to monitor the application logs,alarms..etc
View alarms
Set alarms on any of your
metrics
View logs
Monitor Application logs
View dashboards
Dashboards can be created to
monitor the health of the
Services
Copyrights ©2019 Walking Tree
Monitoring
● No mechanism to upfront know the
underlying problem before end user gets
affected
● Lack of standardization in logs
● Watching logs from specific hosts
● Lack of tracing mechanism for sequence of
events
● No mechanism to check the health of
downstream dependencies
● Synthetic events and Semantic Monitoring
● Standardization of logs
● Aggregated logging
● Correlation IDs
● Mechanism to track the health of
Downstream dependencies
Best PracticesPitfalls
Copyrights ©2019 Walking Tree
Recommended DevOps Process
Version Control /
SCM
Continuous
Testing
Continuous
Deployment
Continuous
Integration
Continuous
Integration
MS
Cluster
Monitoring
Copyrights ©2019 Walking Tree
Summary
● Covered the importance of the DevOps in the Microservices environment
● Gone through the each building block of DevOps
● Pitfalls
● Best Practices
Copyrights ©2019 Walking Tree
Q & A
Copyrights ©2019 Walking Tree
THANK YOU

More Related Content

What's hot

Monitoring in the DevOps Era
Monitoring in the DevOps EraMonitoring in the DevOps Era
Monitoring in the DevOps Era
Mike Kavis
 
Customer case - Dynatrace Monitoring Redefined
Customer case - Dynatrace Monitoring RedefinedCustomer case - Dynatrace Monitoring Redefined
Customer case - Dynatrace Monitoring Redefined
Michel Duruel
 
3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...
3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...
3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...
DevOps.com
 
Integrated Agile and DevOps: DevOps 2.0 and Beyond
Integrated Agile and DevOps:  DevOps 2.0 and BeyondIntegrated Agile and DevOps:  DevOps 2.0 and Beyond
Integrated Agile and DevOps: DevOps 2.0 and Beyond
DevOps.com
 
Infrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale OrganizationsInfrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale Organizations
XebiaLabs
 
That Conference 2017: Refactoring your Monitoring
That Conference 2017: Refactoring your MonitoringThat Conference 2017: Refactoring your Monitoring
That Conference 2017: Refactoring your Monitoring
Jamie Riedesel
 
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
XebiaLabs
 
SensrTrx Overview - Machine and Manufacturing Analytics
SensrTrx Overview - Machine and Manufacturing AnalyticsSensrTrx Overview - Machine and Manufacturing Analytics
SensrTrx Overview - Machine and Manufacturing Analytics
Sensrtrx
 
Using Error Budgets to Prioritize Work
Using Error Budgets to Prioritize WorkUsing Error Budgets to Prioritize Work
Using Error Budgets to Prioritize Work
Nathen Harvey
 
NexTraq Customer Benefits
NexTraq Customer BenefitsNexTraq Customer Benefits
NexTraq Customer BenefitsNexTraq
 

What's hot (10)

Monitoring in the DevOps Era
Monitoring in the DevOps EraMonitoring in the DevOps Era
Monitoring in the DevOps Era
 
Customer case - Dynatrace Monitoring Redefined
Customer case - Dynatrace Monitoring RedefinedCustomer case - Dynatrace Monitoring Redefined
Customer case - Dynatrace Monitoring Redefined
 
3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...
3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...
3 Critical Keys to DevOps Success: Lessons from Forrester Research, Intel, an...
 
Integrated Agile and DevOps: DevOps 2.0 and Beyond
Integrated Agile and DevOps:  DevOps 2.0 and BeyondIntegrated Agile and DevOps:  DevOps 2.0 and Beyond
Integrated Agile and DevOps: DevOps 2.0 and Beyond
 
Infrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale OrganizationsInfrastructure as Code in Large Scale Organizations
Infrastructure as Code in Large Scale Organizations
 
That Conference 2017: Refactoring your Monitoring
That Conference 2017: Refactoring your MonitoringThat Conference 2017: Refactoring your Monitoring
That Conference 2017: Refactoring your Monitoring
 
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
 
SensrTrx Overview - Machine and Manufacturing Analytics
SensrTrx Overview - Machine and Manufacturing AnalyticsSensrTrx Overview - Machine and Manufacturing Analytics
SensrTrx Overview - Machine and Manufacturing Analytics
 
Using Error Budgets to Prioritize Work
Using Error Budgets to Prioritize WorkUsing Error Budgets to Prioritize Work
Using Error Budgets to Prioritize Work
 
NexTraq Customer Benefits
NexTraq Customer BenefitsNexTraq Customer Benefits
NexTraq Customer Benefits
 

Similar to DevOps best practices in microservices | Walkingtree Technologies

VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...
VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...
VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...
VMworld
 
End to-End Monitoring for ITSM and DevOps
End to-End Monitoring for ITSM and DevOpsEnd to-End Monitoring for ITSM and DevOps
End to-End Monitoring for ITSM and DevOps
eG Innovations
 
Versiondog
VersiondogVersiondog
Data Engineer's Lunch #68: DevOps Fundamentals
Data Engineer's Lunch #68: DevOps FundamentalsData Engineer's Lunch #68: DevOps Fundamentals
Data Engineer's Lunch #68: DevOps Fundamentals
Anant Corporation
 
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Amazon Web Services
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
Amazon Web Services
 
Enabling Agility Through DevOps
Enabling Agility Through DevOpsEnabling Agility Through DevOps
Enabling Agility Through DevOps
Leland Newsom CSP-SM, SPC5, SDP
 
Elite mindz introduction
Elite mindz introductionElite mindz introduction
Elite mindz introduction
Simerjeet Singh
 
EliteMindz: Who are we? Where do we serve ? What are our products & services?
EliteMindz: Who are we? Where do we serve ? What are our products & services?EliteMindz: Who are we? Where do we serve ? What are our products & services?
EliteMindz: Who are we? Where do we serve ? What are our products & services?
Simerjeet Singh
 
Product Development in the Cloud
Product Development in the Cloud Product Development in the Cloud
Product Development in the Cloud
Amazon Web Services
 
Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...
Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...
Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...
AppDynamics
 
Hybrid Development Webinar - English
Hybrid Development Webinar - EnglishHybrid Development Webinar - English
Hybrid Development Webinar - EnglishCollabNet
 
Neev QA Offering
Neev QA OfferingNeev QA Offering
Neev QA Offering
Neev Technologies
 
Velocity 2014 Tool Chain Choices
Velocity 2014 Tool Chain ChoicesVelocity 2014 Tool Chain Choices
Velocity 2014 Tool Chain Choices
Mark Sigler
 
Cloud Accounting
Cloud AccountingCloud Accounting
Cloud Accounting
McKonly & Asbury, LLP
 
Self Service Cloud Operations: Safely Delegate the Management of your Cloud ...
Self Service Cloud Operations:  Safely Delegate the Management of your Cloud ...Self Service Cloud Operations:  Safely Delegate the Management of your Cloud ...
Self Service Cloud Operations: Safely Delegate the Management of your Cloud ...
Rundeck
 
PWA - ADT Magazine Webinar
PWA - ADT Magazine WebinarPWA - ADT Magazine Webinar
PWA - ADT Magazine Webinar
Sandeep Adwankar
 
Evolving to Cloud-Native - Anand Rao
Evolving to Cloud-Native - Anand RaoEvolving to Cloud-Native - Anand Rao
Evolving to Cloud-Native - Anand Rao
VMware Tanzu
 
Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018
Amazon Web Services
 
Gcp intro-20160721
Gcp intro-20160721Gcp intro-20160721
Gcp intro-20160721
Haeseung Lee
 

Similar to DevOps best practices in microservices | Walkingtree Technologies (20)

VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...
VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...
VMworld 2013: Building the Management Stack for Your Software Defined Data Ce...
 
End to-End Monitoring for ITSM and DevOps
End to-End Monitoring for ITSM and DevOpsEnd to-End Monitoring for ITSM and DevOps
End to-End Monitoring for ITSM and DevOps
 
Versiondog
VersiondogVersiondog
Versiondog
 
Data Engineer's Lunch #68: DevOps Fundamentals
Data Engineer's Lunch #68: DevOps FundamentalsData Engineer's Lunch #68: DevOps Fundamentals
Data Engineer's Lunch #68: DevOps Fundamentals
 
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
Transforming Product Development in the Cloud (ENT306) - AWS re:Invent 2018
 
ENT206 Product Development in the Cloud
ENT206 Product Development in the CloudENT206 Product Development in the Cloud
ENT206 Product Development in the Cloud
 
Enabling Agility Through DevOps
Enabling Agility Through DevOpsEnabling Agility Through DevOps
Enabling Agility Through DevOps
 
Elite mindz introduction
Elite mindz introductionElite mindz introduction
Elite mindz introduction
 
EliteMindz: Who are we? Where do we serve ? What are our products & services?
EliteMindz: Who are we? Where do we serve ? What are our products & services?EliteMindz: Who are we? Where do we serve ? What are our products & services?
EliteMindz: Who are we? Where do we serve ? What are our products & services?
 
Product Development in the Cloud
Product Development in the Cloud Product Development in the Cloud
Product Development in the Cloud
 
Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...
Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...
Best Practices for Managing IaaS, PaaS, and Container-Based Deployments - App...
 
Hybrid Development Webinar - English
Hybrid Development Webinar - EnglishHybrid Development Webinar - English
Hybrid Development Webinar - English
 
Neev QA Offering
Neev QA OfferingNeev QA Offering
Neev QA Offering
 
Velocity 2014 Tool Chain Choices
Velocity 2014 Tool Chain ChoicesVelocity 2014 Tool Chain Choices
Velocity 2014 Tool Chain Choices
 
Cloud Accounting
Cloud AccountingCloud Accounting
Cloud Accounting
 
Self Service Cloud Operations: Safely Delegate the Management of your Cloud ...
Self Service Cloud Operations:  Safely Delegate the Management of your Cloud ...Self Service Cloud Operations:  Safely Delegate the Management of your Cloud ...
Self Service Cloud Operations: Safely Delegate the Management of your Cloud ...
 
PWA - ADT Magazine Webinar
PWA - ADT Magazine WebinarPWA - ADT Magazine Webinar
PWA - ADT Magazine Webinar
 
Evolving to Cloud-Native - Anand Rao
Evolving to Cloud-Native - Anand RaoEvolving to Cloud-Native - Anand Rao
Evolving to Cloud-Native - Anand Rao
 
Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018Transforming Product Development - Transformation Day Montreal 2018
Transforming Product Development - Transformation Day Montreal 2018
 
Gcp intro-20160721
Gcp intro-20160721Gcp intro-20160721
Gcp intro-20160721
 

Recently uploaded

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
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
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
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 !
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

DevOps best practices in microservices | Walkingtree Technologies

  • 1. Copyrights ©2019 Walking Tree DevOps Best Practices in Microservices
  • 2. Copyrights ©2019 Walking Tree Agenda ● Devops & Microservices - What is the relation? ● DevOps core building blocks ● Pitfalls Vs Best Practices ● Summary ● Q & A
  • 3. Copyrights ©2019 Walking Tree Microservices Devops What is the relation?
  • 4. Copyrights ©2019 Walking Tree How much time we have? When do you need this? I need it yesterday
  • 5. Copyrights ©2019 Walking Tree Parallel Development
  • 6. Copyrights ©2019 Walking Tree Detect Early Implies Deploy Frequently
  • 7. Copyrights ©2019 Walking Tree Give me one more chance to love you. You get only one chance, aim to do it right Can a change fail?
  • 8. Copyrights ©2019 Walking Tree Nothing is certain except for death and taxes. Nothing is certain except for death and production failure. Benjamin Franklin Software Genie Time for Recovery
  • 9. Copyrights ©2019 Walking Tree Lead Time Deployment Frequency Mean Time to Restore Change Fail Percentage 9 Delivery performance
  • 10. Copyrights ©2019 Walking Tree Complement each other Microservices Devops I will make things lite I will bring agility I will make development swift I will scale themI will make things independent I will identify failure early
  • 11. Copyrights ©2019 Walking Tree Microservices Devops Companions
  • 12. Copyrights ©2019 Walking Tree DevOps Core Building Blocks Deployment
  • 13. Copyrights ©2019 Walking Tree Continuous Integration ● Dev team relies on manual testing may get feedback in a couple hours, comprehensive test feedback comes a day–or several days ● The primary goal of CI is to keep everyone in sync with each other(Developer’s code) ● CI servers detects that the code has been committed, checks it out and compiles,tests. ● CI also builds the artifact(s), which are used for further validation such as deploying a running service to run tests against it. ● Ideally we should build these artifacts only once and use across the all deployments of that version code.
  • 14. Copyrights ©2019 Walking Tree Continuous Integration ● Having single code repository for all the services ● Not having CI or Having monolithic CI ● Not commiting code to trunk at least once in a day ● Not having suite of tests to validate changes ● Low priority for broken build ● Separate repository for each service ● Separate CI build for each service ● As many commits as possible to main trunk in a day ● Good test suite which will validate the results immediately ● Highest priority for broken build Best PracticesPitfalls
  • 15. Copyrights ©2019 Walking Tree Continuous Deployment ● Continuous Deployment is an approach where teams release quality products frequently and predictably from source code repository to production in an automated fashion ● Continuous Deployment(CD) is a strategy for software releases ● Releases become smaller and easier to understand. ● No one is required to drop their work to make a deployment because everything is automated. ● The feedback loop with your customers is faster: new features and improvements go straight to production when they're ready ● CD eliminates the human safeguards against unproven code in live software.
  • 16. Copyrights ©2019 Walking Tree Continuous Deployment ● Not covering all the stages of journey from code to production ● Tailoring CI tools to do CD work ● Technology specific CD tools ● Generating artifacts separately for each stage ● Not having a configuration server ● Not having images for each service ● Lack of versioning for artifacts ● CD covers all stages ● Use specific CD tools ● Identify technology agnostic CD tools ● Single artifact for all the stages ● Having configuration server which takes care of all configurations ● Maintain Image for each Service ● Mandatory versioning of artifacts Pitfalls Best Practices
  • 17. Copyrights ©2019 Walking Tree Scaling ● Scaling helps you quickly and easily scale multiple resources Maintain performance Add more resources to meet application performance targets. Benefits Control costs Automatically remove unneeded resources to avoid overspending. Simplify scaling Discover scalable resources and build a scaling plan in just a few steps. Scale Predictively Use historical load metrics to learn your application’s traffic patterns and proactively scale resources ahead of time.
  • 18. Copyrights ©2019 Walking Tree Scaling ● Lack of containerization ● Inadequate Image management ● No link between metrics and scale ● No or Semi automation of scaling ● Effective Containerization ● Comprehensive Image management ● Linking of metrics with scaling ● Auto updation of load balancer ● Must be automated ( both up and down ) Best PracticesPitfalls
  • 19. Copyrights ©2019 Walking Tree Metrics ● Host and Infrastructure metrics - Metrics of the infrastructure and the servers on which the microservice is running ○ Hardware ○ Communication ○ Application Platform ● Microservice metrics - Metrics that are unique to the individual microservice ○ Microservices
  • 20. Copyrights ©2019 Walking Tree Metrics ● Services having no clue of its own metrics ● No aggregation or drill down option for service and host level metrics ● Insufficient storage system for metrics ● Design services to expose basic metrics themselves( Like response time & error rate) ● Aggregation of service level metrics ● Aggregation of host level metrics ● Drill down option for metrics at service as well as host level ● Metric storage platform must be elastic enough to store data which can allow you to create and observe trends Best PracticesPitfalls
  • 21. Copyrights ©2019 Walking Tree Monitoring ● We should be able to monitor the application logs,alarms..etc View alarms Set alarms on any of your metrics View logs Monitor Application logs View dashboards Dashboards can be created to monitor the health of the Services
  • 22. Copyrights ©2019 Walking Tree Monitoring ● No mechanism to upfront know the underlying problem before end user gets affected ● Lack of standardization in logs ● Watching logs from specific hosts ● Lack of tracing mechanism for sequence of events ● No mechanism to check the health of downstream dependencies ● Synthetic events and Semantic Monitoring ● Standardization of logs ● Aggregated logging ● Correlation IDs ● Mechanism to track the health of Downstream dependencies Best PracticesPitfalls
  • 23. Copyrights ©2019 Walking Tree Recommended DevOps Process Version Control / SCM Continuous Testing Continuous Deployment Continuous Integration Continuous Integration MS Cluster Monitoring
  • 24. Copyrights ©2019 Walking Tree Summary ● Covered the importance of the DevOps in the Microservices environment ● Gone through the each building block of DevOps ● Pitfalls ● Best Practices
  • 26. Copyrights ©2019 Walking Tree THANK YOU