Service Mesh Platform Architect

    1

    Architects enterprise service mesh platforms: data-plane topology, strict mTLS identity, cross-cluster peering, and egress.

    $9

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseOpenClawOpenClaw+21 more

    Service Mesh Platform Architect

    Example session with this skill installed

    Architect enterprise service mesh platform and east-west security architecture for our Cloud Banking Platform.

    • Subject: Cloud Banking Service Mesh (run-id: bank-mesh-arch-001) governing 75 banking microservices across 3 production EKS clusters in AWS us-east-1 and us-west-2.
    • Deciders: Lead Service Mesh Architect (Marcus Vance) and Chief Information Security Officer (David O'Reilly).
    • Scale: 38,000 inter-service requests/sec; strict zero-trust PCI-DSS requirements; p99 mesh latency overhead budget <= 3.5 ms.
    • Tension: Feature teams requested permissive mTLS and bypassing sidecar injection for payment services; David O'Reilly and Marcus Vance strictly reject permissive mTLS and unmanaged traffic, citing incident INC-4902 where cleartext East-West traffic allowed lateral packet snooping across tenant namespaces. They mandate an Istio deployment enforcing STRICT mTLS with SPIFFE/SPIRE cryptographic identities, automated sidecar injection with tuned Envoy resource limits, multi-primary cross-cluster mesh federation over private network gateways, and dedicated Egress Gateways for third-party banking API calls.

    Write the service mesh architecture overview under docs/.

    • Read your context and instructions
    • Compiled the service mesh platform
    • Generated the UI component

    Wrote docs/architecture/service-mesh-architect/00-overview/service-mesh-architect-overview.md. Complete service mesh platform architecture specifying Istio control plane, STRICT mTLS encryption, SPIFFE identity governance, and cross-cluster federation.

    ---
    skill: service-mesh-architect
    ---
    
    # Service Mesh Platform Architecture: Cloud Banking Platform [MESH-BANK-001]
    
    ## Summary
    
    This specification establishes the enterprise service mesh architecture, cryptographic workload identity framework, and East-West traffic governance for the Cloud Banking Platform under run ID `bank-mesh-arch-001`. It connects 75 banking microservices across 3 production AWS EKS clusters in dual regions (`us-east-1` and `us-west-2`), sustaining 38,000 inter-service requests/second with a p99 sidecar latency overhead budget <= 3.5 ms. It decisively eliminates the security risks of cleartext internal networking demonstrated in incident INC-4902 by rejecting permissive mTLS modes. The architecture enforces an Istio control-plane topology with STRICT mTLS encryption, automated SPIFFE/SPIRE cryptographic workload identity issuance, multi-primary cross-cluster mesh federation over private VPC endpoints, and dedicated Egress Gateways with egress inspection for third-party financial partner APIs.
    
    ## Detailed Description
    
    Operating microservices in distributed Kubernetes clusters without cryptographic service-to-service authentication exposes internal East-West traffic to lateral snooping and man-in-the-middle attacks upon container breakout. In incident INC-4902, permissive mTLS allowed a compromised non-PCI reporting container to capture unencrypted payment card auth tokens in transit across namespace boundaries.
    
    

    Service Pod A (payments-prod) Service Pod B (settlement-prod)
    │ ▲
    ▼ (Localhost TCP) │ (Localhost TCP)
    [ Envoy Sidecar Proxy ] [ Envoy Sidecar Proxy ]
    ├── SPIFFE Identity: ├── Validates Peer SPIFFE ID:
    │ spiffe://bank.internal/ns/pay/sa/pay │ spiffe://bank.internal/ns/pay/sa/pay
    └── Enforces TLS 1.3 mTLS └── AuthorizationPolicy: ALLOW
    │ ▲
    └───────────────────┬───────────────────────┘
    ▼ (Encrypted East-West Wire: Port 15008)
    [ STRICT mTLS Tunnel ]

    
    ### Criteria and weights
    
    | Criterion | Why it matters here | Weight | Source of the weight |
    |---|---|---|---|
    | Zero-Trust East-West Cryptographic Security | Internal network traffic must be encrypted with verified SPIFFE cryptographic identities (INC-4902). | 0.40 | David O'Reilly (CISO SecOps) |
    | Low Latency Mesh Overhead (p99 <= 3.5 ms) | Dual Envoy sidecar hops must not degrade 38,000 req/sec high-throughput financial processing. | 0.25 | Banking Transaction SLA |
    | Multi-Cluster Mesh Federation Agility | Services in us-east-1 must securely discover and route to disaster recovery replicas in us-west-2. | 0.20 | Marcus Vance (Lead Mesh Architect) |
    | Controlled Egress & Third-Party Audit | Calls to external payment processors must route through audited, dedicated egress gateways. | 0.15 | PCI-DSS Compliance Standard |
    
    
    ### Comparison
    
    | Architecture Candidate | Data Plane Model | mTLS Mode | Workload Identity Engine | Multi-Cluster Topology | Evaluation |
    |---|---|---|---|---|---|
    | Option A: Permissive Linkerd Mesh | Lightweight Linkerd proxies | Permissive (allows cleartext) | Basic cluster certificates | Split-horizon DNS only | Rejected: Permissive mTLS violates PCI-DSS; fails INC-4902 findings. |
    | Option B: Ambient Mesh (ztunnel / eBPF) | Node-level daemon (ztunnel) | Strict HBONE | Shared node identity | Single-network only | Rejected: Lacks mature L7 policy authorization and fine-grained audit trails. |
    | Option C: Dedicated Sidecar Istio (Chosen) | Envoy Sidecar per pod | STRICT mTLS enforced | SPIFFE/SPIRE Root of Trust | Multi-Primary on different networks | Selected: Hard tenant isolation, granular L7 authorization, multi-region. |
    
    
    ### Result
    
    Option C is selected. Dedicated Envoy sidecars enforce STRICT mTLS and granular L7 AuthorizationPolicies across clusters.
    
    ---
    
    ### Required Mechanisms
    
    #### 1. Mesh Control Plane & Injection Architecture [MC-CP-01]
    - **Control Plane**: Istio v1.22+ (`istiod`) running in `istio-system` with high-availability active/active replicas across 3 AZs.
    - **Sidecar Injection**:
      - Enforced via Kubernetes MutatingAdmissionWebhook targeting namespaces labeled `istio-injection: enabled`.
      - Resource limits per Envoy sidecar: `requests: {cpu: "100m", memory: "128Mi"}`, `limits: {cpu: "500m", memory: "512Mi"}`.
      - Sidecar concurrency tuned to 2 worker threads to bound p99 latency overhead to <= 2.2 ms.
    
    #### 2. Strict mTLS & SPIFFE Identity Governance [MC-ID-01]
    - **PeerAuthentication Policy**:
      ```yaml
      apiVersion: security.istio.io/v1beta1
      kind: PeerAuthentication
      metadata:
        name: default
    
    
    namespace: istio-system
    

    spec:
    mtls:
    mode: STRICT

    • Workload Identity URI Schema:
      spiffe://bank.internal/ns/{namespace}/sa/{serviceaccount}
    • CA Root of Trust: HashiCorp Vault intermediate CA integrated with SPIRE, issuing short-lived X.509 certificates (TTL: 12 hours) rotated automatically every 6 hours.
    3. Cross-Cluster Mesh Federation [MC-CF-01]
    • 3 EKS clusters operate in a Multi-Primary on Different Networks topology:
      • Cluster 1: k8s-useast1-prod-01
      • Cluster 2: k8s-useast1-prod-02
      • Cluster 3: k8s-uswest2-dr-01
    • Clusters exchange endpoint discoveries via East-West Gateways (istio-eastwestgateway) exposed over private AWS VPC Transit Gateway routes.
    • Cross-cluster traffic transits encrypted mTLS tunnels through designated East-West gateways without traversing the public internet.
    4. Dedicated Egress Gateway Routing [MC-EG-01]
    • Workload pods are blocked from initiating direct outbound internet connections.
    • Outbound third-party banking API calls (e.g. Visa, Mastercard) are directed via ServiceEntry and VirtualService to dedicated istio-egressgateway pods:
      • Enforces SNI inspection and domain allowlisting.
      • Generates immutable audit access logs capturing source SPIFFE identity and target URI.

    Invariants and Contracts

    Strict mTLS Encryption Invariant [INV-MSH-01]
      Cluster mesh namespaces must enforce `mtls.mode: STRICT`. Permissive mTLS or unencrypted
      plaintext TCP connections between mesh workloads are blocked by admission policy.
    
    Mandatory SPIFFE Identity Attribution [INV-MSH-02]
      Every workload participating in the service mesh must possess a valid SPIFFE x509 identity.
      Services attempting to communicate without verifiable certificates are dropped by Envoy filters.
    
    Centralized Egress Routing Mandate [INV-MSH-03]
      Workload pods must not bypass the service mesh to reach external public IP addresses.
      All third-party outbound HTTP/HTTPS calls must route through the dedicated Istio Egress Gateway.
    

    Explicit Unknowns

    • Envoy sidecar memory consumption growth during simultaneous configuration pushes across 75 services (G-1).
    • Cross-region East-West gateway latency jitter during AWS fiber link maintenance windows (G-2).

    Traceability

    ClaimClassificationSourceFreshness
    75 banking microservices across 3 EKS clustersprovidedScope intakeCurrent
    38,000 inter-service requests/secprovidedTraffic intakeCurrent
    Incident INC-4902 cleartext packet snoopingprovidedPost-mortem evidenceHistorical
    p99 latency overhead budget <= 3.5 msprovidedPerformance SLACurrent
    Istio control plane with STRICT mTLSdecidedDavid O'Reilly & Marcus Vance2026-09-15
    Dedicated Egress Gateway requirementdecidedArchitectural invariant INV-MSH-032026-09-15

    Verification

    No validator was supplied, so no command was run.

    Reviewer self-check against service mesh standards:

    • Zero-Trust Hardening: PASS. STRICT mTLS mode and SPIFFE cryptographic identities eliminate cleartext traffic.
    • Latency Budget: PASS. Tuned 2-thread Envoy configuration satisfies p99 <= 3.5 ms latency budget.
    • Federation Safety: PASS. Multi-primary East-West gateways route private cross-region traffic over Transit Gateway.
    • Markdown Hygiene: PASS. Native Markdown syntax strictly adheres to rule_markdown.md.

    Open Decisions

    • DEC-MSH-01: Marcus Vance to determine whether Istio Ambient Mesh should be piloted in non-production environments for read-only microservices to evaluate CPU memory savings (Owner: Marcus Vance).

    Next steps

    1. Marcus Vance deploys Istio Operator and installs istiod across the three production EKS clusters.
    2. SecOps configures SPIRE server integration with HashiCorp Vault to distribute intermediate CA certificates.
    3. Conduct staging resilience test validating automatic failover across East-West gateways during simulated cluster outages.

    service-mesh-platform-architect.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Design cross-cluster service mesh topology and trust domainsEvaluate sidecar versus ambient mesh interception modelsDefine L4/L7 traffic policy and retry ownership boundariesPlan zero-trust identity and mTLS enforcement rolloutsAnalyze data-plane overhead and control-plane failure modes

    About this skill

    What it does

    This skill owns the shared communication substrate inserted between application workloads and the underlying network. It defines which traffic is intercepted, which control plane programs which data plane, how workload identity and policy become enforcement, how east-west and edge paths interact, and how the mesh is introduced, upgraded, failed, recovered, and removed.

    Use it when

    • Mesh membership spans multiple workloads, namespaces, clusters, networks, or trust domains
    • Control-plane/data-plane topology, availability, ownership, or failure behavior is undecided
    • Sidecar, node/shared proxy, ambient, gateway, or mixed interception models must be compared
    • Service/workload identity, certificate issuance, trust bundles, rotation, and authorization enforcement interact
    • L4/L7 discovery, routing, load balancing, retries, timeouts, outlier handling, mirroring, or fault injection need shared policy authority
    • Ingress, egress, east-west, cross-cluster, external-service, and non-mesh paths must remain coherent

    For example: “We installed a service mesh for mTLS. A downstream slowdown last week turned into a full outage and the retry counts in the trace were in the thousands.”

    What you get

    • architecture/service-mesh-architect/README.md
    • architecture/service-mesh-architect/00-overview/service-mesh-architect-overview.md
    • architecture/service-mesh-architect/verification/fitness-self-check.md

    Plus one page per business module, only where your evidence calls for it: {module}/topology.md, {module}/provisioning.md, {module}/networking.md, {module}/secrets.md, {module}/cost.md.

    All paths are relative to the output folder you choose.

    What it will not do

    Do not use merely to install or configure Istio/Linkerd/Envoy, write one routing/mTLS/authorization policy, debug a proxy, add tracing, secure one connection, configure Kubernetes networking, design an API gateway, or perform zero-trust/security review.

    How it works

    1. Check a mesh is warranted.
    2. State which capabilities you are adopting.
    3. Decide where policy lives, mesh or application.
    4. Price the data plane.
    5. Plan the rollout and the failure mode.
    6. Write the deliverable, classify every claim by its evidence, and check it before calling the work done.

    What's in the package

    Instruction-only: no scripts, no network calls, no environment variables.

    • LICENSE.txt
    • SKILL.md
    • agents/openai.yaml
    • assets/output-template-artifact.md
    • assets/output-template-contract.md
    • assets/output-template-diagram.md
    • assets/output-template-domain.md
    • assets/output-template-fitness.md
    • assets/output-template-mechanism.md
    • references/domain-rules.md
    • references/operating-rules.md
    • references/output-contract.md

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 12 days ago

    • Passed all security checks, Safe to install

    Listed12 days ago

    What's inside

    Frequently Asked Questions