Instiq
Chapter 4 · Accelerate Workload Migration and Modernization·v2.0.0·Updated 8/6/2026·~10 min

What's changed: Deepened SAP-C02 Chapter 4 (added comparison tables, scenarios, FAQs, exam traps, deep-dive paragraphs to each section; localized figures to Japanese)

4.3Modernizing on the Cloud

Key points

Understand post-migration modernization—containers (ECS/EKS/Fargate), serverless, decomposing into microservices, and incremental migration via the strangler fig pattern. Improve agility, scale, and cost-efficiency.

Modernization moves a monolith to containers/serverless and decomposes it into microservices—done incrementally, not all at once.

4.3.1Modernization patterns

Diagram of incrementally modernizing a monolithic application: runtime choices—EKS when Kubernetes is required, ECS for AWS-native orchestration, Fargate (serverless containers) to remove server management, and Lambda (serverless) for small event-driven functions; the monolith is decomposed into per-capability microservices; and the strangler fig pattern (route old/new behind an API Gateway/load balancer, gradually shifting features to new services until the old monolith is retired) drives the incremental migration.
Modernization patterns
  • Containers: EKS (Kubernetes) / ECS (AWS-native); use Fargate for no server management.
  • Serverless: Lambda for small event-driven functions; scales with zero infra management.
  • Microservices: decompose the monolith by capability for independent deploy/scale.
  • Strangler fig: run old/new behind a router and shift features gradually to new services, retiring the old last.
Exam point

Common on SAP-C02: Kubernetes required = EKS, AWS-native containers = ECS, no-server-management containers = Fargate, event-driven functions = Lambda, safe incremental monolith migration = strangler fig pattern. Big-bang rewrites are risky; incremental migration is preferred.

Tip

Choose EKS for existing Kubernetes assets/portability, ECS for tighter AWS integration and simpler ops; pick Fargate as the launch type to avoid managing servers in either.

Modernization questions probe "the axes for choosing a runtime" and "how to migrate safely." ECS and EKS both orchestrate containers, but ECS is AWS-native with a low learning curve and tight IAM/ALB/CloudWatch integration, while EKS uses standard Kubernetes APIs for multi-cloud portability and ecosystem (Helm/Operators). Both offer launch types: EC2 (self-managed nodes for cost tuning or daemon needs) or Fargate (serverless, zero node management). Lambda suits event-driven, short, intermittent workloads and incurs no charge while idle—but has execution-time and package-size limits, so steady high-throughput or long-running work favors containers. Because big-bang rewrites are risky, dismantle a monolith with the strangler fig pattern: place an API Gateway or ALB as a "facade," carve out features one at a time into new services and re-point routing, then retire the old monolith last. Separating state (splitting databases) and loose coupling between services (SQS/SNS/EventBridge) are also key modernization ingredients.

RequirementRuntimeWhy
Kubernetes standard/portabilityEKSK8s APIs, reuse assets/ecosystem
AWS-native, simpler opsECSTight IAM/ALB/CloudWatch integration
No server managementFargate (launch type)Serverless, zero node management
Event-driven/intermittentLambdaNo idle charge, auto-scale
Note

Scenario: Incrementally break a bloated ordering monolith into microservices without downtime, starting with just the "inventory lookup" feature. → Put an ALB/API Gateway facade in front and route only the inventory-lookup path to a new ECS (Fargate) service. Keep the old monolith running; once validated, move the next feature, and so on (strangler fig). Loosely couple services via EventBridge, and retire the monolith last.

Note

FAQ: When Lambda vs containers? For intermittent, event-driven, short (within minutes) work where you want no idle cost, use Lambda. For steady high load, long-running execution, or special runtimes/large dependencies, use ECS/EKS (with Fargate as needed). Mixing them—Lambda at the front, containers for heavy long-lived work—is common.

Warning

Exam trap: Choosing a big-bang full rewrite to "safely modernize a huge monolith" is wrong—high risk and hard to roll back. The answer is incremental migration via the strangler fig pattern. Also, choosing EKS when Kubernetes is not a requirement tends to over-complicate operations; ECS is the safer default there.

4.3.2Section summary

  • Runtime = EKS/ECS/Fargate (containers), Lambda (serverless)
  • Modernize = microservices + strangler fig incremental migration

Sign in to track progress — Log in.

Quick check

(just a quick review)

Q1. You want to run containers reusing existing Kubernetes manifests and ecosystem. What on AWS?

Q2. You want to run containers without ever managing, patching, or scaling EC2 servers. Which launch type?

Q3. You want to replace a huge monolith with microservices gradually and with low risk. Best approach?

Check your understandingPractice questions for Chapter 4: Accelerate Workload Migration and Modernization

Keep track of your progress

The full study guide is free to read. Sign up free to practice with the question bank, track what you have read, review your mistakes, and highlight passages.