VOOZH about

URL: https://thenewstack.io/4-strategies-for-migrating-monolithic-apps-to-microservices/

⇱ 4 Strategies for Migrating Monolithic Apps to Microservices - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-01-05 06:31:51
4 Strategies for Migrating Monolithic Apps to Microservices
sponsor-dynatrace,sponsored-post-contributed,
Kubernetes / Microservices

4 Strategies for Migrating Monolithic Apps to Microservices

Follow these best practices to efficiently migrate monoliths to microservices in containerized Kubernetes environments.
Jan 5th, 2024 6:31am by Kayla Bondy
👁 Featued image for: 4 Strategies for Migrating Monolithic Apps to Microservices
Featured image by Nayam on Unsplash.
Dynatrace sponsored this post.

DevOps teams are under incredible pressure to migrate monolithic applications to a distributed, containerized architecture using Kubernetes to optimize the software delivery life cycle (SDLC). They are trying to create shorter release cycles, ease deployment changes and reduce fragility through dependencies.

These demands have driven a shift away from monolithic applications, which struggle to keep up with modern requirements, because one change requires rebuilding the whole stack. According to the Cloud Native Computing Foundation (CNCF) 2022 Annual Survey, 79% of organizations have moved toward microservices architectures that allow teams to iterate on individual services with ease.

For many organizations, taking a lift-and-shift approach is the first step for migrating monolithic applications to Kubernetes and microservices. This involves directly lifting the monolith onto hardware hosted in the cloud, and then gradually breaking down the app into microservices. However, the lift-and-shift philosophy has its challenges, as organizations must refactor monoliths to optimize them for the cloud. Therefore, it’s often more cost-effective to refactor an application service by service into a containerized architecture.

The following are four best practices DevOps teams can follow to efficiently migrate their monoliths to microservices in containerized Kubernetes environments.

1. Understand the Monolith

Monolithic applications are often easy to break by disrupting their complex and fragile webs of dependencies. As a result, sudden and unexpected disruptions are nearly inevitable when migrating a monolith to the cloud and containers — especially if DevOps teams go without a clear plan. To avoid unwanted surprises, map out the monolith’s dependencies and business functions in full before any migration project.

The risk of human error is high when manually mapping a monolith’s dependencies, given its complexity. Therefore, to understand the relationships across an application’s backend and frontend components, it helps to use an automated solution that can visualize the app in real time. Application topology mapping that uses telemetry data from transaction traces is essential, enabling teams to build a precise visual representation of a monolithic application and its components.

2. Take an Incremental Approach

Refactoring a monolithic application for containerized Kubernetes environments is a huge task and often involves restructuring and rebuilding from scratch. With that in mind, it’s essential to break down a migration into small, incremental and more manageable jobs.

After mapping a monolith, DevOps teams can replace its components with microservices one at a time. As teams create individual microservices, they can then test and compare them against the monolith to see how the new services affect performance and functionality. Then, once a microservice successfully replicates the monolith’s functionality, teams can remove the dependency on the monolith for that respective component and move on to the next one.

3. Loosely Couple Your Microservices

Dependencies within monolithic apps are deeply intertwined. These close relationships among components are one of the driving forces behind the move to Kubernetes and microservices, as they hinder flexible changes and deployment.

When migrating an application to a microservices architecture, it’s important for teams to understand all dependencies among services and to reduce and streamline them as much as possible. Asynchronous messaging is key, allowing services to communicate by sending and receiving messages using queues. By adopting asynchronous messaging, communications between microservices will be much less prone to bottlenecks, while also making it far easier to edit or replace an individual microservice.

4. Implement End-to-End Observability

Migrating from a monolith to containerized services on Kubernetes means applications have more services and supporting technologies running independently of one another, which can make them more complex. Given the number of components, it can be difficult for DevOps teams to manually track all the dependencies among them. Just as teams need to create a map of their monoliths before migrating them, they also need to maintain maps of their microservices environments with end-to-end observability.

In practice, this means using observability data — including logs, metrics and traces from components in the cloud technology stack — to understand service relationships and application dependencies. This observability must also extend into each Kubernetes cluster, node, and pod and the workloads running on them. When issues arise, observability data allows DevOps teams to identify the root causes of problems so that they can resolve them quickly.

To be most effective, teams should use a platform that unifies their observability and security data from the whole application infrastructure. This unified platform should harness AI capabilities that provide precise answers about the environments’ health so teams can automate much of the work around triaging, explaining and remediating a problem.

Modern Techniques Are Essential for Migrating to Kubernetes-Based Microservices

Migrating applications from monoliths to containerized microservices can be involved and time-consuming. However, once the migration is complete, DevOps teams are free to be more iterative and flexible, while also able to take full advantage of cloud services.

Much of the work that teams complete to enable the migration will pay dividends long into the future. Adopting modern technologies to facilitate that migration, such as end-to-end observability and AI, allows teams to continuously monitor and optimize their microservices environments, providing the best possible user experiences and business outcomes. These techniques can supercharge their transformation efforts and help their organization achieve a lasting competitive advantage.

Dynatrace redefines developer experience by unifying logs, metrics, traces, AI model telemetry, infrastructure, and security data into a single, scalable platform that integrates directly into IDEs and CI/CD pipelines.
Learn More
The latest from Dynatrace
Hear more from our sponsor
TRENDING STORIES
Kayla Bondy is a product marketing leader at Dynatrace, focused on observability, digital experience, and the intersection of software performance and business outcomes. She partners with engineering, product, and go‑to‑market teams to shape strategy and ensure observability capabilities map to...
Read more from Kayla Bondy
Dynatrace sponsored this post.
SHARE THIS STORY
TRENDING STORIES
CNCF is a sponsor of The New Stack.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.