- Community Home
- >
- Services
- >
- The Cloud Experience Everywhere
- >
- Secure application modernization with the Strangle...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Receive email notifications
- Printer Friendly Page
- Report Inappropriate Content
Secure application modernization with the Strangler Pattern to reduce security risk
Strangler Method enables secure, incremental modernization of legacy systems, reducing risk, improving cybersecurity, and ensuring continuous business operations.
Legacy systems remain the backbone of many enterprises, but they also represent one of the largest cybersecurity liabilities in modern IT environments. Outdated architectures, unsupported software, weak authentication mechanisms, and inconsistent security controls create attractive targets for attackers.
At the same time, completely rewriting legacy applications in a single big bang migration is expensive, risky, and often disruptive to business operations.
For example, modernizing a banking application running on a Common Business-Oriented Language (COBOL)–based mainframe platform.
This is where the Strangler Method, also known as the Strangler Fig Pattern, offers a practical and secure modernization strategy.
Instead of replacing an entire system at once, organizations gradually build modern services around the legacy application, redirecting functionality piece by piece until the old system is fully retired. Beyond reducing operational risk, this incremental approach can significantly strengthen cybersecurity.
Understanding the Strangler Method
The Strangler Method works by surrounding a legacy application with new services and routing layers. Over time, individual components are replaced while the original system continues operating.
A typical architecture looks like this:
Figure 1. Strangler Pattern architecture enabling secure, phased modernization from a legacy monolith to microservices
Requests are selectively routed:
- Existing functions continue using the legacy system
- Newly modernized features are handled by secure modern services
Eventually, the old application is removed entirely.
Why legacy systems create security problems
Many legacy applications were not designed for today’s threat landscape. Common issues include:
- Unsupported operating systems and frameworks
- Weak authentication and authorization
- Hardcoded credentials
- Poor encryption standards
- Limited logging and monitoring
- Flat network architectures
- Difficulty applying security patches
As cyber threats evolve, maintaining these systems becomes increasingly dangerous and costly.
How the Strangler Method improves cybersecurity
- Reduces the attack surface gradually
One of the biggest advantages of the Strangler Method is the ability to isolate and replace vulnerable components incrementally.
Instead of exposing an entire monolithic application to external traffic, organizations can:
- Move sensitive services behind secure application programming interfaces (APIs)
- Isolate high-risk modules
- Apply modern security controls selectively
This gradually shrinks the legacy system’s exposure.
- Enables zero trust architecture
Modernized services can adopt zero trust principles immediately, even while the legacy application still exists.
This includes:
- Identity-based access control
- Least privilege policies
- Multifactor authentication (MFA) integration
- Service-to-service authentication
- Network segmentation
Rather than waiting for a full rewrite, security improvements happen continuously.
- Improves monitoring and visibility
Legacy applications often lack proper observability.
As services are extracted:
- Centralized logging can be introduced
- API gateways can inspect traffic
- Security monitoring becomes easier
- Anomaly detection improves
Security teams gain better visibility into application behavior and potential threats.
- Limits blast radius during attacks
Monolithic applications often allow attackers to move laterally once compromised.
Breaking functionality into isolated services helps:
- Contain breaches
- Prevent widespread compromise
- Enforce stricter boundaries between systems
A compromised service no longer automatically exposes the entire platform.
- Supports faster security patching
Modern services are easier to update and deploy than tightly coupled monoliths.
With incremental modernization:
- Patches can be applied faster
- Vulnerable libraries can be replaced independently
- Security fixes no longer require full-system deployments
This reduces exposure windows for known vulnerabilities.
The role of API gateways in secure modernization
API gateways are central to many strangler implementations because they act as the control layer between users and back-end systems.
They enable:
- Authentication and authorization
- Rate limiting
- Request filtering
- Traffic routing
- TLS enforcement
- API threat protection
The gateway becomes a powerful security enforcement point while migration occurs.
Example: Securely modernizing a banking platform
Consider a bank running a legacy monolithic platform for:
- Customer accounts
- Transactions
- Loan processing
- Reporting
Using the Strangler Method:
Phase 1
The bank extracts customer authentication into a modern identity service with MFA.
Phase 2
Transaction APIs are isolated behind an API gateway.
Phase 3
Loan processing becomes a separate microservice with stronger access controls.
Phase 4
Legacy modules are retired incrementally.
Throughout the migration:
- Customers experience minimal downtime
- Security controls improve continuously
- Compliance requirements become easier to manage
Best practices for applying the Strangler Method securely
Prioritize high-risk components first
Modernize internet-facing or vulnerable modules before lower-risk systems.
Introduce security early
Do not treat cybersecurity as a later phase. Embed from the start:
- Identity and access management (IAM)
- Encryption
- Monitoring
- Secrets management
- Logging
Use strong service boundaries
Clearly define APIs and isolate services properly.
Monitor both old and new systems
During migration, hybrid environments create visibility gaps if monitoring is inconsistent.
Automate security testing
Integrate the following controls and mechanisms:
- Static application security testing (SAST)
- Dynamic application security testing (DAST)
- Dependency scanning
- Container scanning
- Continuous integration and continuous delivery/deployment (CI/CD) security checks into the modernization pipeline
Challenges to consider
The Strangler Method is powerful, but not simple.
Organizations may face:
- Increased architectural complexity
- Temporary duplication of systems
- Data synchronization issues
- Integration overhead
- Inconsistent security policies during transition
Without careful planning, modernization itself can introduce new vulnerabilities.
HPE Application Modernization Services helps organizations with application modernization and workload migration, enabling applications to continue to perform their intended function and leverage the benefits of a new hybrid cloud destination with new levels of agility, scale, and performance.
Final thoughts
Modernization is no longer only a technology initiative; it is a cybersecurity necessity.
The Strangler Method provides organizations with a safer path away from vulnerable legacy systems by enabling incremental transformation instead of risky full-system rewrites. By modernizing piece by piece, businesses can strengthen security controls, reduce operational disruption, and continuously improve resilience against evolving cyber threats.
In a world where attackers increasingly target outdated infrastructure, gradual secure modernization may be one of the most practical cybersecurity strategies available today.
Meet the author:
Santosh Deshpande, Solution Architect, Application Modernization and Migration, HPE
- Back to Blog
- Newer Article
- Older Article
- Drew_Westra on: Affinity groups now included in HPE Morpheus VM Es...
- Deeko on: The right framework means less guesswork: Why the ...
- MelissaEstesEDU on: Propel your organization into the future with all ...
- Samanath North on: How does Extended Reality (XR) outperform traditio...
- Sarah_Lennox on: Streamline cybersecurity with a best practices fra...
- Jams_C_Servers on: Unlocking the power of edge computing with HPE Gre...
- Sarah_Lennox on: Don’t know how to tackle sustainable IT? Start wit...
- VishBizOps on: Transform your business with cloud migration made ...
- Secure Access IT on: Protect your workloads with a platform agnostic wo...
- LoraAladjem on: A force for good: generative AI is creating new op...