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

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cisco Blogs
Simon Willison's Weblog
Simon Willison's Weblog
Latest news
Latest news
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
AI
AI
阮一峰的网络日志
阮一峰的网络日志
量子位
Project Zero
Project Zero
Know Your Adversary
Know Your Adversary
Google Online Security Blog
Google Online Security Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Schneier on Security
大猫的无限游戏
大猫的无限游戏
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
K
Kaspersky official blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
Spread Privacy
Spread Privacy
C
CERT Recently Published Vulnerability Notes
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
W
WeLiveSecurity
博客园 - Franky
Last Week in AI
Last Week in AI
博客园 - 聂微东
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
IT之家
IT之家
I
Intezer
The Cloudflare Blog
月光博客
月光博客
N
News | PayPal Newsroom
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
博客园_首页
罗磊的独立博客
NISL@THU
NISL@THU
爱范儿
爱范儿
Jina AI
Jina AI
有赞技术团队
有赞技术团队
The Hacker News
The Hacker News
A
Arctic Wolf
Scott Helme
Scott Helme
Engineering at Meta
Engineering at Meta
P
Proofpoint News Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Surviving Global Vendor Outages: Federated Cellular Architecture with EKS, AKS, and Istio
Cláudio Filipe Lima Rapôso · 2026-05-31 · via DEV Community

Monolithic multi-region architectures inherently rely on vendor specific global control planes. When a catastrophic degradation strikes an underlying identity service or networking fabric within a single cloud provider, all regional partitions fail concurrently. Relying exclusively on Amazon Web Services (AWS) or Microsoft Azure caps the maximum theoretical availability of a platform to the operational integrity of that single vendor. Implementing a federated multicloud cellular architecture resolves this existential risk. By orchestrating isolated Kubernetes partitions across Amazon EKS and Azure AKS utilizing a cross-cloud service mesh, engineering teams construct a routing matrix that survives global vendor outages. This topology isolates fault domains at the hypervisor level, leveraging dynamic BGP routing and proxy based mutual TLS to establish a resilient, vendor agnostic fabric. This guarantees execution continuity for high throughput workloads when single cloud availability zones evaporate.

Prerequisites

Deploying a federated multicloud mesh requires deep expertise in advanced networking and container orchestration. The infrastructure state requires Terraform version 1.7.0 or higher, initialized with the hashicorp/aws provider version 5.40.0 and the hashicorp/azurerm provider version 3.90.0. For automating identity plane injection, Python 3.12 is required along with the kubernetes Python client version 29.0.0. The architecture relies on Istio version 1.21.0 or higher configured for multi-primary, multi-network deployments. Administrative access to provision AWS Transit Gateways, Azure Virtual Network Gateways, and BGP Autonomous System Numbers (ASNs) is mandatory.

Step-by-Step Implementation

Establishing the Cross-Cloud BGP Backbone

We construct the physical network bridge between the cloud providers by provisioning an IPsec Site-to-Site VPN peering an AWS Transit Gateway directly to an Azure Virtual Network Gateway. The architectural justification for this overlay network is absolute routing determinism. Relying on public internet routing for cross-cloud cellular communication introduces unacceptable latency variance and exposes internal telemetry to external interception. A dedicated IPsec tunnel secured by pre-shared keys ensures encrypted, predictable packet delivery. By enabling dynamic BGP routing over this connection, the network becomes self-healing. If an AWS Availability Zone experiences total network partition, the BGP daemon automatically withdraws the compromised routes. The Azure AKS cells instantly recognize the topology change and redirect traffic to surviving AWS subnets without manual operator intervention.

resource "aws_customer_gateway" "azure_gateway" {
  bgp_asn    = 65515
  ip_address = azurerm_public_ip.azure_vpn_ip.ip_address
  type       = "ipsec.1"
  tags = {
    Name = "Azure-AKS-Boundary"
  }
}

resource "aws_vpn_connection" "multicloud_mesh_vpn" {
  customer_gateway_id = aws_customer_gateway.azure_gateway.id
  transit_gateway_id  = aws_ec2_transit_gateway.mesh_tgw.id
  type                = aws_customer_gateway.azure_gateway.type
  static_routes_only  = false

  tunnel1_preshared_key = var.high_entropy_ipsec_key
  tunnel2_preshared_key = var.high_entropy_ipsec_key
}

resource "azurerm_local_network_gateway" "aws_tgw_local" {
  name                = "aws-tgw-boundary"
  resource_group_name = azurerm_resource_group.multicloud.name
  location            = azurerm_resource_group.multicloud.location
  gateway_address     = aws_vpn_connection.multicloud_mesh_vpn.tunnel1_address

  bgp_settings {
    asn                 = 64512
    bgp_peering_address = aws_vpn_connection.multicloud_mesh_vpn.tunnel1_cgw_inside_address
  }
}

sequence diagram

How do we establish cryptographic trust between microservices operating in AWS EKS and Azure AKS when each vendor utilizes mutually exclusive certificate authorities for their internal managed identities?

Federating Identity via Unified Root CA

We establish cryptographic trust by abstracting the identity plane entirely away from the cloud vendors, deploying a multi-primary Istio Service Mesh anchored by a unified, offline Root Certificate Authority (CA). The absolute architectural necessity here is decoupling zero-trust authentication from IAM and Azure AD. An AWS IAM role cannot natively authenticate against an Azure workload identity. By provisioning a shared Root CA, we generate intermediate certificates specifically for the Istio control planes operating in both EKS and AKS. When the Envoy sidecar proxy in AWS EKS initiates a connection to the Envoy proxy in Azure AKS, both proxies present TLS certificates signed by their respective intermediates. Because both intermediates chain back to the identical offline Root CA, the proxies validate the mutual TLS (mTLS) handshake successfully. This strictly isolates the domain execution from the vendor specific identity silos.

import base64
import os
from kubernetes import client, config
from kubernetes.client.rest import ApiException

def inject_intermediate_ca(cluster_context: str, cert_path: str, key_path: str, root_cert_path: str) -> None:
    config.load_kube_config(context=cluster_context)
    v1 = client.CoreV1Api()

    with open(cert_path, 'rb') as cert_file, open(key_path, 'rb') as key_file, open(root_cert_path, 'rb') as root_file:
        cert_data = base64.b64encode(cert_file.read()).decode('utf-8')
        key_data = base64.b64encode(key_file.read()).decode('utf-8')
        root_data = base64.b64encode(root_file.read()).decode('utf-8')

    secret_manifest = client.V1Secret(
        metadata=client.V1ObjectMeta(
            name="cacerts",
            namespace="istio-system"
        ),
        type="Opaque",
        data={
            "ca-cert.pem": cert_data,
            "ca-key.pem": key_data,
            "root-cert.pem": root_data,
            "cert-chain.pem": cert_data
        }
    )

    try:
        v1.create_namespaced_secret(namespace="istio-system", body=secret_manifest)
        print(f"Successfully injected intermediate CA into {cluster_context}")
    except ApiException as e:
        if e.status == 409:
            v1.replace_namespaced_secret(name="cacerts", namespace="istio-system", body=secret_manifest)
            print(f"Updated existing intermediate CA in {cluster_context}")
        else:
            raise RuntimeError(f"Failed to inject CA: {e.reason}")

if __name__ == "__main__":
    inject_intermediate_ca("aws-eks-admin", "certs/aws-ca-cert.pem", "certs/aws-ca-key.pem", "certs/root-cert.pem")
    inject_intermediate_ca("azure-aks-admin", "certs/azure-ca-cert.pem", "certs/azure-ca-key.pem", "certs/root-cert.pem")

When an EKS cell experiences CPU starvation and begins dropping requests, how does the service mesh autonomously redirect the active request payload to a healthy AKS cell without surfacing the HTTP 503 error to the end user?

Locality Load Balancing and Cross-Cloud Fallback

The mesh autonomously redirects failing requests by utilizing Istio locality load balancing combined with outlier detection circuit breakers. Cellular architecture dictates that network traffic must remain within its origin cell to minimize blast radius and reduce cross-network egress data transfer costs. However, when the primary AWS EKS cell degrades, the mesh must act as a highly responsive failover mechanism. We configure a DestinationRule that defines the Azure AKS deployment as a secondary failover locality. Simultaneously, we configure outlier detection to scan for consecutive HTTP 5xx errors. If an AWS pod begins failing, the local Envoy proxy ejects that specific pod from the load balancing pool. If the entire EKS locality exhausts its healthy endpoints, Envoy transparently reroutes the pending HTTP payload over the BGP IPsec backbone to the healthy Azure AKS locality. The client application experiences a slight latency increase but receives a successful HTTP 200 response, entirely masking the AWS infrastructure failure.

resource "kubernetes_manifest" "multicloud_failover_policy" {
  manifest = {
    "apiVersion" = "networking.istio.io/v1beta1"
    "kind"       = "DestinationRule"
    "metadata" = {
      "name"      = "transaction-service-routing"
      "namespace" = "enterprise-core"
    }
    "spec" = {
      "host" = "transaction-service.enterprise-core.svc.cluster.local"
      "trafficPolicy" = {
        "outlierDetection" = {
          "consecutive5xxErrors" = 3
          "interval"             = "10s"
          "baseEjectionTime"     = "30s"
          "maxEjectionPercent"   = 100
        }
        "loadBalancer" = {
          "localityLbSetting" = {
            "enabled" = true
            "failover" = [
              {
                "from" = "us-east-1"
                "to"   = "eastus"
              }
            ]
          }
        }
      }
    }
  }
}

When automated failover successfully masks a cross-cloud reroute, how do platform operators identify the silent degradation of the primary AWS network before the Azure fallback partition reaches total capacity exhaustion?

Common Troubleshooting

Platform operators identify silent degradation by monitoring specific proxy telemetry anomalies, though misconfigurations often mask these signals. When establishing the cross-cloud BGP backbone, the AWS Site-to-Site VPN state may remain in Active status rather than transitioning to Established. This specifically indicates a failure in the IKE phase 1 or phase 2 proposal negotiation. Verify that the encryption algorithms and Diffie-Hellman groups configured on the AWS Transit Gateway exactly match the custom IPsec policy applied to the Azure Virtual Network Gateway.

If the BGP backbone is healthy but cross-cloud requests return HTTP 503 Service Unavailable with the URX (Upstream Retry Limit Exceeded) flag in the Istio proxy logs, the mTLS handshake is failing. This frequently occurs when the intermediate CA certificates injected into the istio-system namespace expire or when the SPIFFE IDs of the workloads do not match the expected trust domain. Inspect the Envoy sidecar logs for TLS error: Secret is not supplied by SDS and verify that the cacerts secret was properly read by the Istiod control plane during pod startup.

Conclusion

Federating Kubernetes clusters across AWS and Azure utilizing an Istio service mesh delivers an impenetrable execution environment. By bridging EKS and AKS with a dynamic BGP overlay network and enforcing identity through a vendor agnostic Root CA, architectures can seamlessly survive the total loss of a cloud provider's regional control plane. Organizations adopting this advanced cellular model should proceed to implement GitOps methodologies using tools like ArgoCD. This ensures that application deployment states are synchronized instantaneously across the multicloud matrix, preventing configuration drift from compromising the Azure fallback paths during critical failover events.

References

Garg, S., & Beda, J. (2022). Advanced Kubernetes networking: Routing, security, and multi-cluster patterns. O'Reilly Media.

Posta, C., & Malina, Rinat. (2023). Istio in action: Managing microservices with the Istio service mesh. Manning Publications.