Google Cloud

Migrate to Virtual Machines (M2VM) 完全ガイド|VMware/AWS/Azure → GCE 移行

2026-05-24
NicheeLab編集部

Migrate to Virtual Machines (M2VM) は GCP の VM 移行ツールで、VMware / Hyper-V / AWS EC2 / Azure VM / 物理サーバから Compute Engine への移行を最小ダウンタイムで実現します。 Velostrata (Google が 2018 買収) ベースで、エージェントレスでの Stream Migration が特徴です。

主要機能

  • Stream Migration: 本番継続稼働 + 差分同期 → Cutover 時のみ数分停止
  • Test Clone: 本番停止せず GCE に Test 環境作成
  • Group Migration: 複数 VM を一括移行
  • OS 互換性チェック: 移行可否事前判定
  • エージェントレス: ソース VM への変更不要
  • Cutover Plan: ロールバック含む計画的切替

対応ソース環境

環境対応
VMware vSphere 6.0+
Microsoft Hyper-V
AWS EC2◎ (AWS Connector)
Azure VM◎ (Azure Connector)
物理サーバ○ (Linux のみ)

対応 OS

  • Windows Server 2008 R2 / 2012 / 2012 R2 / 2016 / 2019 / 2022
  • RHEL 6 / 7 / 8 / 9
  • CentOS 6 / 7 / 8
  • Ubuntu 14.04 / 16.04 / 18.04 / 20.04 / 22.04
  • Debian 8 / 9 / 10 / 11 / 12
  • SUSE Linux Enterprise Server 11 SP4 / 12 / 15
  • Oracle Linux 6 / 7 / 8

移行フェーズ

  1. Discovery: ソース環境スキャン + 移行対象選定
  2. Assessment: OS 互換性、依存関係、TCO 試算
  3. Initial Sync: ソース VM ディスクを GCE Persistent Disk に同期 (数時間)
  4. Continuous Sync: 差分のみ継続同期 (本番無影響)
  5. Test Clone: GCE に Test VM 起動 → 動作検証
  6. Cutover: ソース停止 → 最終差分同期 → GCE 起動 (数分)
  7. Optimization: GCE Right-sizing、CUD 適用

セットアップ例 (AWS → GCP)

# 1. M2VM API 有効化
gcloud services enable vmmigration.googleapis.com

# 2. AWS Source 登録
gcloud migration vms sources create my-aws-source \
  --location=asia-northeast1 \
  --aws-source-region=ap-northeast-1 \
  --aws-access-key-id=AKIA... \
  --aws-secret-access-key=...

# 3. ソース VM 一覧
gcloud migration vms machines list \
  --source=my-aws-source --location=asia-northeast1

# 4. Migration Group 作成
gcloud migration vms groups create my-group --location=asia-northeast1

# 5. Migration Plan 作成
gcloud migration vms migration-plans create my-plan \
  --source=my-aws-source --location=asia-northeast1 \
  --vm-id=i-abcd1234

# 6. Initial Sync 開始
gcloud migration vms migration-plans start my-plan --location=asia-northeast1

# 7. Test Clone
gcloud migration vms migration-plans clone my-plan --location=asia-northeast1

# 8. Cutover (本番切替)
gcloud migration vms migration-plans cutover my-plan --location=asia-northeast1

TCO 比較例 (中規模)

項目VMware on-premGCE
ハードウェア$200K (3 年償却 + 保守)
ライセンス (VMware + Windows)$50K/年Windows のみ (BYOL 可)
運用人件費$150K/年$50K/年 (削減)
電力 / 冷却 / 設備$30K/年
GCE 月額 (100 VM)$20K/月 (CUD 適用後)
合計 3 年$890K$870K + 運用効率化

ベストプラクティス

  • Phase 1: 開発 / Staging 環境を先行移行
  • Phase 2: ステートレス Web 系
  • Phase 3: ステートフル (DB は Cloud SQL / AlloyDB へ別途移行)
  • Test Clone で必ず動作検証
  • Cutover 時間帯を業務影響最少に
  • 移行後に Recommender で Right-sizing
  • CUD 適用で長期コスト削減
  • VPC / IAM / Audit Logs は事前設計

Migrate to Virtual Machines (M2VM) とは?

VMware / Hyper-V / 物理サーバ / AWS EC2 / Azure VM から GCE への移行ツール (旧 Migrate for Compute Engine、Velostrata 由来)。エージェントレスで最小ダウンタイム移行可能。

移行方法は?

Stream Migration (本番継続稼働 + 差分同期) または Disk Image Migration (バッチ)。Stream Migration が標準推奨。

対応 OS は?

Windows Server 2008 R2 以降、RHEL 6+、CentOS 6+、Ubuntu 14.04+、Debian 8+、SUSE 11 SP4+、Oracle Linux 6+ 他多数。

料金は?

Migrate to VMs 自体は無料 (移行先 GCE 料金のみ発生)。データ転送料は通常の Egress 料金。

移行時間は?

Stream Migration なら本番停止は数分 (Cutover 時のみ)。Disk image migration は VM サイズ次第 (TB 級で数時間〜数日)。

AWS から移行する場合は?

AWS Connector を AWS 側に設置 → GCP 側でターゲット指定 → Stream Migration。VPC Peering or VPN 経由が必須。

失敗・ロールバック時は?

元の VMware / 物理サーバはそのまま動作継続している (Stream Migration)。Cutover 前ならいつでも安全にキャンセル可能。

Test Clone とは?

本番移行前に GCE に Test Clone を作成して動作検証。本番はそのまま稼働、GCE 側で十分テストできる。

関連記事・移行 / Hybrid

Migrate to Containers (M2C) 完全ガイド|VM → GKE/Cloud Run モダン化 (GCP)

Google Cloud Migrate to Containers (旧 Migrate for Anthos) の全機能解説。VMware / 物理 / AWS / Azure の Linux/Windows アプリを Container 化して GKE / Cloud Run / Anthos にデプロイ。Stateful 対応、料金、成功事例を 2026 年最新版で網羅。

Database Migration Service (DMS) 完全ガイド|Oracle/MySQL/PG → Cloud SQL/AlloyDB (GCP)

Google Cloud Database Migration Service の全機能解説。Oracle / MySQL / PostgreSQL / SQL Server / MongoDB → Cloud SQL / AlloyDB / BigQuery / Firestore 移行。Heterogeneous 移行、Continuous Migration、料金、AWS DMS 比較を 2026 年最新版で網羅。

オンプレ → GCP 移行戦略|TCO・ハイブリッド・VMware Engine・コンプライアンス (2026)

オンプレミス環境から Google Cloud (GCP) への移行戦略完全ガイド。TCO 試算、VMware Engine、Migrate to VMs、Migrate to Containers、Cloud Interconnect、GKE Enterprise (Anthos)、Assured Workloads、日本のコンプライアンス対応を 2026 年最新版で網羅。

GCP vs Azure 完全比較|Compute・Storage・AI・料金・認定 (2026)

Google Cloud と Microsoft Azure を徹底比較。Compute Engine vs Azure VM、BigQuery vs Synapse / Fabric、Cloud Run vs Container Apps、Gemini vs Azure OpenAI、ID 統合、ハイブリッド、認定試験、料金を 2026 年最新版で網羅。

※ Google Cloud は Google LLC の商標です。最新は M2VM 公式 をご確認ください。

この記事で学んだ内容を問題で確認しましょう

16,000問以上の問題で実力チェック

GCP 試験対策ページを見る
この記事の著者

NicheeLab編集部

データエンジニアリング・クラウド資格の専門家。Databricks・Snowflake等の認定資格を保有し、実務経験に基づいた問題作成・解説を行っています。NicheeLab運営。


関連記事
Google Cloud

Google Cloud (GCP) 認定資格ロードマップ 2026 完全版|全 15 試験を体系化

Google Cloud 認定資格 全 15 試験 (Foundational 2 + Associate 3 + Pr...

Google Cloud

Cloud Digital Leader (CDL) 完全ガイド|出題範囲・学習リソース・合格戦略

Google Cloud Cloud Digital Leader (CDL) の完全ガイド。6 ドメイン 92 bul...

Google Cloud

Generative AI Leader (GAIL) 完全ガイド|Google Cloud 生成 AI 認定

Google Cloud Generative AI Leader (GAIL、2025-05-14 リリース) の完全...

Google Cloud

Vertex AI 入門|Google Cloud 統合 ML プラットフォームの全機能

Google Cloud Vertex AI の入門解説。Vertex AI Studio / Agent Builde...

Google Cloud

GCP Associate Cloud Engineer (ACE) 完全ガイド|試験範囲・受験料・学習ロードマップ

Google Cloud Associate Cloud Engineer (ACE) の試験範囲・受験料 125 US...

Google Cloudの記事一覧 (102件)
© 2026 NicheeLab All rights reserved.