The core building blocks Best Practices of DevOps in Microservices

WalkingTree Technologies
2 min readApr 22, 2019

--

In my recent articles, I covered the core building blocks of DevOps in Microservices and of each building block in Monolithic architecture. As part of this article, I highlight the major best practices of each building block — that need to follow while working with Microservices environment.

As we already know that the following are the core building blocks of DevOps-

  • Continuous Integration
  • Continuous Deployment
  • Scaling
  • Metrics
  • Monitoring

Let’s understand the best practices of each one of them below.

Continuous Integration

  • We should maintain the separate code repository for each service.
  • It is recommended that there should be a separate Continuous Integration build for each service
  • As many commits as possible to the main trunk in a day
  • Good test suite which will validate the results immediately
  • Highest priority for the broken build, we need to address the build issues and fix them on priority.

Continuous Deployment

  • CD covers all the stages ( Dev, Staging, Production) of Service.
  • Use specific CD tools
  • Identify technology agnostic CD tools
  • Maintain the Single artifact for all the stages
  • Having configuration server which takes care of all configurations
  • Image generation for each release of the service.
  • Mandatory versioning of artifacts for each release of the Service.

Follow us on :
https://www.facebook.com/walkingtreetech/
https://www.linkedin.com/company/walking-tree-Technologies
https://twitter.com/walkingtreetech
https://www.youtube.com/channel/UCH5y9upqT2M7uWwgRWjCWBg

Originally published at https://walkingtree.tech on April 22, 2019.

--

--

WalkingTree Technologies
WalkingTree Technologies

Written by WalkingTree Technologies

WalkingTree is an IT software and service provider recognized for its passion for technology.

No responses yet