SOVAのポスターからそばのカップだけを残した絵: 箸で持ち上げられたそばと、白いつゆ入りのカップ

SOVA

Sovereign(SoftBank) Open Vendor-neutral Architecture

Cloud Exit Platform

稼働中のサービスを AWS からオンプレミスへ移すクラウド出口戦略プラットフォームです。

手軽なそば一枚でも、移し替える箸だけは几帳面です。

2026.11.02 — 2026.11.10

チームリーダーチームプロジェクト · 担当:AWS基盤とプラットフォームクラスター、ステートマシンとプラットフォームAPI、GitOpsデプロイ、Edgeの SHIFT、MCPとデスクトップコンソール

  • デスクトップコンソール実装済み
  • MCPサーバー実装済み
  • Web実装済み

SOVA vocabulary

  1. Source · EKS
  2. Destination · RKE2

Cloud Exit: An exit strategy carried out in seven steps: a running service moves from AWS to on-premises. The Exit Drill cuts only the destination app’s access to AWS, keeps the replication channel, judges restarts and new connections, and maps the dependencies that remain. CLOUD EXIT · EXIT STRATEGY · EXIT DRILL · BEYOND LOCK-IN · SEVEN STEPS · source_access · ALLOW · BLOCK · KEEP · RESIDUAL DEPENDENCY MAP · UNKNOWN_RESIDUAL · declared_residuals · FR-15 · DORA 28(8) · AWS 7Rs · demo-chat · SHIFT · CUTOVER · FAILBACKSource-comparison Gate: Six controls, 20 sub-tests, run the same way on the source and the destination, and the results are compared. Any difference or unconfirmed result blocks; only a full match moves on to approval. Rules judge, with no LLM. GATE · PASS · BLOCK · UNKNOWN · UNKNOWN IS BLOCK · NO LLM · SAME TEST, BOTH SIDES · GateService · CombinedGateService · RunSnapshot · ReadinessBinding · Ed25519Authority · context_digest · report_digest · gate.completed · gate_id · SCHEMA HASH · REPLICATION LAG · demo-gate:1 · SEC-01 · ENC-01 · ENC-02 · AUD-01 · NET-01 · IAM-01 · ISO-01 · DR-01 · IAM-01.1 · SEC-01.1 · AUD-01.1 · PASS / FAIL / UNKNOWN · NOT_RUN · 20 SUB-TESTS · full:1 · nmap · kube-bench · PROWLER · verify-full · S3AnonymousReadProbe · SecretAccessProbe · GitleaksProbeAI Proposal: The AI only submits a proposal at a fixed point. The proposal must pass schema validation and the policy lint, and goes to a person once the attempt limit is reached. It has no execution rights. PROPOSE · AGENTS SDK · plan.propose · policy.evaluate · inventory.describe · repo.read · JSON SCHEMA · PROPOSAL ONLY · NO EXECUTION RIGHTS · NEEDS_HUMAN · PROPOSAL_READY · RETRY_ALLOWED · proposal_digest · FinalizedStreamCall · ONE CALL PER TURN · TOOL ALLOWLIST · 600-SECOND JOB · bravo-initial · network_mode=none · rehearsal.exec · DESTRUCTIVE_ATTEMPT_BLOCKED · rm -rf · terraform destroy · kubectl delete namespace · agent_neededSandbox Rehearsal: A proposal is applied only in an isolated namespace on the destination RKE2 and scored by a verification Job the platform keeps. Paths out of the namespace are denied by default. NEEDS_HUMAN · REHEARSE · rehearsal.exec · rehearsal.run · rehearsal-<plan>-<n> · NetworkPolicy · DEFAULT DENY · PSA RESTRICTED · NO SA TOKEN · ResourceQuota · LimitRange · VERIFICATION JOB · SYNTHETIC DATA · DESTRUCTIVE_ATTEMPT_BLOCKED · rm -rf · terraform destroy · kubectl delete namespace · tool_events · APPROVED DIGEST · HARBOR · APPROVAL BINDINGAWS · Source: The source is AWS. The app on EKS and the S3, Secrets Manager and IAM it uses are collected read-only, and the source database takes business writes until cutover. EKS · S3 · SECRETS MANAGER · KMS · IAM · CLOUDTRAIL · VPC · CNPG · PGBOUNCER · source-aws · platform-aws · IMDSv2 · GUARDDUTY · TAILSCALE · READ-ONLY COLLECTION · AWS SSO · SAME DIGEST · OIDCOn-prem · Destination: The destination is RKE2 on-premises. SeaweedFS and OpenBao take over what S3, Secrets Manager and KMS did, and registered environments connect over Tailscale. CNPG · PGBOUNCER · RKE2 (CIS) · UBUNTU VM · OPENBAO + ESO · OPENBAO TRANSIT · SEAWEEDFS · RBAC · TAILSCALE · cloud-init · target-workloads · routes-policy.json · KEYCLOAK · ELASTICMQ · SAME DIGESTEdge Traffic Shift: After a person approves the switch, Cloudflare LB weights rise to 10, 50 and 100%. Each step is judged on error rate and p95 per window, and the weight returns to 0 when a threshold is exceeded. SHIFT · CLOUDFLARE LB · TUNNEL · 10 · 50 · 100% · SET_WEIGHT_0 · p95 · ERROR RATE · 10-SECOND WINDOW · ADVANCE_ALLOWED · UNCERTAIN · RESTORED · ABORTED · readback_weights · lb_binding · pool_sets · execute_shift · WEBSOCKET 1012 · HOLD · threshold-profiles.jsonWrite Cutover: After a person approves cutover, writes pause, the source is fenced, and the two databases are compared by row count and content hash. On a match the destination becomes the writer and writes resume. NO LLM · REPLICATION LAG · CNPG · PGBOUNCER · WEBSOCKET 1012 · CUTOVER · CUTOVER EXECUTOR · PAUSE · RELOAD · RESUME · EPOCH FENCING · lease · cutover.barrier · Idempotency-Key · MATCH · MISMATCH · receipt_id · pk_hash · content_hash · write_pause_ms · hash_rule · correct_sequence · LOGICAL REPLICATION · ONE WRITE DB · ABORT_PRE_WRITE · SAFE_HOLD · INTENT FIRSTState Machine: It records which stage a migration is in and fixes the condition for the next stage in code. Each transition is an event that becomes the console progress view and the audit record. SEVEN STEPS · GATE · context_digest · gate.completed · PROPOSE · NEEDS_HUMAN · REHEARSE · SHIFT · CUTOVER · ABORT_PRE_WRITE · PlanStore · PostgresPlanStore · state.changed · execution.updated · GET /v1/plans/{id}/events · Last-Event-ID · register_plan · plan_digest · NO WORKFLOW ENGINE · COLLECT · ANALYZE · AWAIT_APPROVAL · approval.requested · approval.decided · SAFE_HOLD · WATCH · DONE · FAILBACK · DONE_ROLLED_BACK · sova_get_progressRead-only Collection: Once an environment and a workload are registered, code, deployment, permission and storage information is collected read-only. Secret values are not collected. S3 · SECRETS MANAGER · KMS · IAM · COLLECT · READ-ONLY COLLECTION · SECRET MASKING · POST /v1/environments · environment_id · POST /v1/workloads · workload_id · READ_ONLY_API · GetBucketPolicyStatus · Boto3Adapter · kubectl get -o json · sova_register_environment · sova_register_workloadDependency Analysis: Code is compared with what is actually deployed, and each dependency is graded as a configuration swap, an adapter or a code change. Missing items are left as warnings. AWS 7Rs · BLOCK · inventory.describe · KEYCLOAK · ELASTICMQ · ANALYZE · config_swap · adapter · code_change · agent_needed · migration_omission · THREE-LEVEL CLASSIFICATION · DEPLOYMENT DIFF · inventory_digestHuman Approval: Applying a change, the switch, cutover and failback run only after a person approves. An approval is bound to the plan digest, expires, and is consumed once. proposal_digest · APPROVED DIGEST · plan_digest · AWAIT_APPROVAL · approval.requested · approval.decided · APPROVAL BINDING · ONE-TIME APPROVAL · EXPIRY · approved_by · SECURITY REVIEW · FAIL-CLOSED · sova_request_approvalSAFE_HOLD: When state cannot be confirmed, neither side opens for writes. A failure before the write reopens the source; an unclear state after commit stays in SAFE_HOLD until a person releases it. NEEDS_HUMAN · UNCERTAIN · HOLD · EPOCH FENCING · ONE WRITE DB · ABORT_PRE_WRITE · SAFE_HOLD · INTENT FIRST · REMOTE STATE UNKNOWN · NO AUTO OPEN · execution_in_progress · FAIL-CLOSEDWatch and Retest: After the switch the destination is observed and the control tests run again. Two passes mean done; a failed watch only proposes failback and never performs it. PASS · p95 · ERROR RATE · WATCH · DONE · CONTROL RETEST · OPENTELEMETRY COLLECTOR · sli.schema.json · threshold-profiles.json · FAILBACK IS PROPOSED · sova_get_observabilityFailback: When something goes wrong, a person approves failback. Data written to the destination in the meantime is replicated back to the source, then writes and traffic return to it. cutover.barrier · LOGICAL REPLICATION · FAILBACK IS PROPOSED · FAILBACK · DONE_ROLLED_BACK · REVERSE REPLICATION · NO AUTO FAILBACK · FINAL BARRIER · direction=failback · sova-failbackAudit Log: Stage transitions, judgements, approvals, agent input and output and blocks are recorded as a chain per run. The audit bucket uses S3 Object Lock in COMPLIANCE mode, so records cannot be deleted or shortened. AUD-01 · pgaudit · tool_events · CLOUDTRAIL · GUARDDUTY · GET /v1/plans/{id}/events · Last-Event-ID · S3 OBJECT LOCK · COMPLIANCE · OCSF · RunLedger · chain_digest · verify_chain · If-None-Match: * · DDLSOVA MCP · Console: An operator connects to SOVA MCP from the desktop console with their own AWS SSO identity. They read status and draft environment and workload registrations; approval and execution have no tool and stay with a person in the console. Last-Event-ID · POST /v1/environments · POST /v1/workloads · sova-failback · SOVA CONSOLE · AWS SSO · 60-SECOND STS PROOF · sova_get_context · sova_register_environment · sova_register_workload · sova_create_plan · sova_request_approval · sova_get_progress · sova_get_observability · sova_compare · sova_next_steps · sova://guide/flow · sova://glossary · ELECTRON · resync_required · publish-sova-mcp-imageGitOps: GitHub Actions builds images and pushes them to GHCR, and the source and the destination pull the same digest. The platform itself is deployed with Argo CD and Helm. gitleaks · APPROVED DIGEST · GITHUB ACTIONS · GHCR · SAME DIGEST · ARGO CD · HELM · GITFLOW · OIDC · SBOM · provenance · IMMUTABLE · TRIVY · publish-sova-mcp-image

Stack

サービス利用者は Cloudflare トンネルを通じて、AWS EKS 上の移行元とオンプレミス RKE2 上の移行先に到達します。

  1. Stack
  2. Network
サービス利用者は Cloudflare トンネルを通じて、AWS EKS 上の移行元とオンプレミス RKE2 上の移行先に到達します。EC2 上の RKE2 で動くプラットフォームは、登録、ステートマシン、カットオーバー、AI 提案、可観測性、監査ログを担い、tailnet 経由で両側にアクセスします。配信は GitHub Actions、GHCR、Argo CD が、記録と鍵の保管は S3 Object Lock、KMS、OpenBao が担います。 (拡大表示)
Networkサービスリクエストは、各クラスターが Cloudflare へ外向きに開いた 7844 のトンネルから入ります。移行元とプラットフォームの VPC はプライベートサブネットから NAT 経由でのみ外に出て、プラットフォームホストが送出するのは 443 と 7844 だけです。3 つのクラスターは tailnet 上でプロキシ同士がつながり、レプリケーション、書き込み、制御のためにポート単位の grant が設定されています。オンプレミスの VM は QEMU NAT の背後にあるため、実測の経路は DERP 東京を経由しました。
Network (拡大表示)