2017–2027Celebrating Our 10th Year

Transform Your Career.
Engineer Your Future.

15 weeks of live AI-enabled DevSecOps and cloud training with Coach AK. Build skills through 70+ hands-on labs.

Coach AK in his DevOps learning studio
Coach AK | Ananth KannanSenior DevOps & SRE Architect • Founder, CoachDevOps
3,500+Students Trained
25+ YearsIT Experience
15 WeeksLive Training
70+Hands-on Labs

Master In-Demand Technologies

AWSAzureDockerKubernetesTerraformJenkinsGitHub ActionsAnsibleGitLab

AI-Enabled DevSecOps & Cloud Engineering Bootcamp

Next weekend batch: December 5, 2026
Saturday 9:30–11:30 AM CST • Sunday 10:30 AM–12:30 PM CST

Live classes, practical projects, personal mentorship and career preparation.

View Program Details →

Real Students. Real Success.

Career milestones shared by our students.

✓ Placement in an AI role
“The concepts you taught have improved my technical understanding and confidence.”
ManimaranJuly 2026 Bootcamp
✓ DevSecOps Engineer offer
“I want to sincerely thank you for your mentorship, training, and support.”
Femi AshayeCoachDevOps Alumni
✓ DevOps Engineer offer
“I got an offer for Devops engineer Last week and happy to inform you. I really appreciate you.”
EbenezerCoachDevOps Alumni
View All Success Stories →

Individual student experiences; employment is not guaranteed.

Ready to Take the Next Step?

Explore the program or get answers to your questions before enrolling.

Sunday, March 17, 2019

Microservices Introduction - How to re-factor your existing monolith into microservices architecture?

You are brewing your morning Coffee at your work and you are hearing words such as DevOps, CI/CD, Microservices, Docker.. well, you are not alone..Most of the companies are at least trying to start microservices for a new development..or they are thinking to migrate from existing monoliths. Before we deep dive into that topic, let's try to understand what is monolith(traditional web/ear) application. Monolith is usually a single large web app which has everything built-in. A small code change in UI requires a build, deployment and test, even you did not modify code in business or data layer. Also, if you would like to scale out a particular layer, it is difficult as it requires a deployment of whole WAR on new instances. Here comes the Microservices to solve some of the issues.

What is microservices?

Breaking a large application into a set of simple services, also called as functional decomposition.
Each services can be independently developed and deployed
Modular approach to system-building
Each service have its own persistent storage
Microservices  are independent in code, technology,  scaling.

Architecture difference between Monolith and Microservices

Microservices is an architectural approach of breaking application (functional decomposition) into smaller services where each service can be independently developed, deployed with no limitation to technology stack. Yes. It can be scaled out without impacting other services. 

But trickier question is when should I use use microservices? Answer is it depends..If you are developing a large or complex application from scratch, start with microservices architecture by separating UI, business and data layers. If you already have a large app deployed to production which becomes a hard mountain to climb, you can address this problem in this way.

How to re-factor your existing monolith into microservices architecture?

  1. Implement any new functionality as microservice. 
  2. Split the presentation components from the business and data layer.
  3. Incrementally refactor your application into a set of microservices without fully decommissioning the monolith app.
  4. Re-factor your monolith incrementally.
Here are some of the best but simple practices to consider when developing microservices.

Best practices on developing Microservices

  1. Design for failure(fault tolerance)
  2. Use one repository per service
  3. Each service should have independent CI/CD pipeline
  4. Each service should be loosly coupled
  5. Incrementally refactor your application into set of microservices when migrating from monolith
  6. Create a separate data store for each microservice.
  7. Deploy microservices in containers(docker)
There are few drawbacks too when implementing them.

Drawbacks of Microservices

  1. Developing distributed system can be complex.
  2. Multiple databases and transaction management can be painful.
  3. Testing Microservices based application can be cumbersome.
  4. Deploying Microservices can be complex as it requires co-ordination among multiple services

Join the Discussion

Have a question about this tutorial or need help with a lab? Share your questions and feedback below.

Post a Comment