惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
量子位
博客园 - 三生石上(FineUI控件)
博客园 - Franky
博客园_首页
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
IT之家
IT之家
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
Last Week in AI
Last Week in AI
U
Unit 42
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
MyScale Blog
MyScale Blog
H
Help Net Security
V
V2EX
S
SegmentFault 最新的问题
月光博客
月光博客
Martin Fowler
Martin Fowler
Vercel News
Vercel News
Y
Y Combinator Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

The Cloud Experience Everywhere articles

Responsible AI in enterprise applications: A practical security and governance guide AI Factory economics: Determining its financial viability Enterprise test automation: Building resilient tests that survive change Evolve from traditional cost management to portfolio economics with hybrid FinOps HPE Terraform Provider 2.0 for HPE Morpheus Software, VMaaS, and HPE OpsRamp Software The virtualization strategy: Why the decision goes beyond the hypervisor Increase VM density with HPE Morpheus Software memory overcommitment Reduce alert fatigue in cloud monitoring with HPE Morpheus Software Edge AI with HPE ProLiant Compute DL380 Gen12 & NVIDIA Blackwell for Azure Local Here is a checklist to optimize software spending and reduce software audit risk. GraphQL Mesh: Unleash Unified APIs for modern enterprise integration Data protection, VM flexibility & visibility: What’s New in HPE Private Cloud PC3000 The Great VM Reset: Field lessons from HPE Discover Las Vegas 2026 HPE Morpheus Software 9.0: Take back control of hybrid cloud operations HPE Morpheus Software v9.0: HVM hypervisor features and enhancements HPE Services help customers to predict the future with smart unified cloud management Automating Kubernetes observability to simplify operations and speed onboarding HPE Services at HPE Discover Las Vegas 2026: Driving innovation in clouds & platforms From supply chain to customer decisions: Actionable product carbon footprint data Migrate to the HPE Terraform provider with confidence using tfmigrator How companies can harness GitOps and IaC to build agile private clouds Achieving continuous cloud compliance with policy as code frameworks Protect your HPE Morpheus Software virtual machines on HPE SimpliVity PC1000 The new ITIL Version 5: Why now is the moment to transform, with HPE Announcing HPE Terraform provider v1.5.0—and the road since v1.1 Sovereign AI for the workplace and why it’s now a board-level topic What I learned about Epistemia: A new way to build AI you can trust Strategy is the easy part, but can you deliver? Simplify HPE Morpheus Software automation with the new visual workflow builder AI evolution: Shifting from training to inference needs infrastructure modernization
Secure application modernization with the Strangler Patte...
HPE_Experts · 2026-05-30 · via The Cloud Experience Everywhere articles

Strangler Method enables secure, incremental modernization of legacy systems, reducing risk, improving cybersecurity, and ensuring continuous business operations.

HPE202601300256_800_0_72_RGB (1).jpg

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:

Final-BS26052157-CE Complete-Reviewed.png

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

  1. 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.

  1. 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.

  1. 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.

  1. 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.

  1. 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