

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Microsoft ワークロードの検出と AWS への移行を加速
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws"></a>

*Amazon Web Services、Ali Alzand*

## 概要
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-summary"></a>

このパターンは、[Migration Validator Toolkit PowerShell モジュール](https://github.com/aws-samples/migration-validator-toolkit-for-microsoft-workloads)を使用して Microsoft ワークロードを検出し、AWS に移行する方法を示しています。このモジュールは、あらゆる Microsoft ワークロードに関連する一般的なタスクに対して複数のチェックと検証を実行することで機能します。例えば、モジュールは複数のディスクがアタッチされている可能性のあるインスタンスや、多くの IP アドレスを使用するインスタンスをチェックします。このモジュールが実行できるチェックの一覧については、モジュールの GitHub ページにある「[チェック](https://github.com/aws-samples/migration-validator-toolkit-for-microsoft-workloads#checks)」セクションを参照してください。

移行検証ツールキット PowerShell モジュールを使用すると、組織は Microsoft ワークロードで実行されているアプリケーションやサービスの検出にかかる時間と労力を削減できます。このモジュールは、ワークロードの設定を特定するのにも役立ちます。これにより、その設定が AWS でサポートされているかどうかを確認できます。また、このモジュールでは、移行前、移行中、移行後に設定ミスを回避できるよう、次のステップや緩和策に関する推奨事項も提供しています。

## 前提条件と制限事項
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-prereqs"></a>

**前提条件**
+ ローカル管理者アカウント
+ PowerShell 4.0

**制限事項**
+ Microsoft Windows Server 2012 R2 以降のみで動作

## ツール
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-tools"></a>

**ツール**
+ PowerShell 4.0

**コードリポジトリ**

このパターンの Migration Validator Toolkit PowerShell モジュールは、GitHub の [migration-validator-toolkit-for-microsoft-workloads](https://github.com/aws-samples/migration-validator-toolkit-for-microsoft-workloads) リポジトリから入手できます。

## エピック
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-epics"></a>

### Migration Validator Toolkit PowerShell モジュールを 1 つのターゲットで実行する
<a name="run-the-migration-validator-toolkit-powershell-module-on-a-single-target"></a>


| タスク | 説明 | 必要なスキル | 
| --- | --- | --- | 
| モジュールのダウンロード、抽出、インポート、呼び出しを行う。 | モジュールをダウンロードしてデプロイするには、次のいずれかの方法を使用します。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html)<br />**PowerShell スクリプトを実行する**<br />PowerShell で次のコード例を実行します。<pre>#MigrationValidatorToolkit<br />$uri = 'https://github.com/aws-samples/migration-validator-toolkit-for-microsoft-workloads/archive/refs/heads/main.zip'<br />$destination = (Get-Location).Path<br />if ((Test-Path -Path "$destination\MigrationValidatorToolkit.zip" -PathType Leaf) -or (Test-Path -Path "$destination\MigrationValidatorToolkit")) {<br />    write-host "File $destination\MigrationValidatorToolkit.zip or folder $destination\MigrationValidatorToolkit found, exiting"<br />}else {<br />    Write-host "Enable TLS 1.2 for this PowerShell session only."<br />    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12<br />    $webClient = New-Object System.Net.WebClient<br />    Write-host "Downloading MigrationValidatorToolkit.zip"<br />    $webClient.DownloadFile($uri, "$destination\MigrationValidatorToolkit.zip")<br />    Write-host "MigrationValidatorToolkit.zip download successfully"<br />    Add-Type -Assembly "system.io.compression.filesystem"<br />    [System.IO.Compression.ZipFile]::ExtractToDirectory("$destination\MigrationValidatorToolkit.zip","$destination\MigrationValidatorToolkit")<br />    Write-host "Extracting MigrationValidatorToolkit.zip complete successfully"<br />    Import-Module "$destination\MigrationValidatorToolkit\migration-validator-toolkit-for-microsoft-workloads-main\MigrationValidatorToolkit.psm1"; Invoke-MigrationValidatorToolkit<br />}</pre><br />このコードは、.zip ファイルからモジュールをダウンロードします。次に、コードがモジュールを抽出、インポート、呼び出しします。<br />**zip ファイルをダウンロードして抽出する**[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html)<br />**GitHub リポジトリのクローンを作成する**[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html) | システム管理者 | 
| モジュールを手動で呼び出します。 | [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html)[Format-Table](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/format-table?view=powershell-7.3) フォーマット:<pre>Import-Module .\MigrationValidatorToolkit.psm1;Invoke-MigrationValidatorToolkit</pre><br />[Format-List](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/format-list?view=powershell-7.3) フォーマット:<pre>Import-Module .\MigrationValidatorToolkit.psm1;Invoke-MigrationValidatorToolkit -List</pre><br />[Out-GridView](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/out-gridview?view=powershell-7.3) フォーマット:<pre>Import-Module .\MigrationValidatorToolkit.psm1;Invoke-MigrationValidatorToolkit -GridView</pre><br />[ConvertTo-Csvformat](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-csv?view=powershell-7.3) フォーマット:<pre>Import-Module .\MigrationValidatorToolkit.psm1;Invoke-MigrationValidatorToolkit -csv</pre> | システム管理者 | 

### Migration Validator Toolkit PowerShell モジュールを複数のターゲットで実行する
<a name="run-the-migration-validator-toolkit-powershell-module-on-multiple-targets"></a>


| タスク | 説明 | 必要なスキル | 
| --- | --- | --- | 
| .zip file ファイルをダウンロードするか GitHub リポジトリのクローンを作成します。 | 以下のオプションのいずれかを選択してください。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html)<pre>git clone https://github.com/aws-samples/migration-validator-toolkit-for-microsoft-workloads.git</pre> | システム管理者 | 
| server.csv リストを更新します。 | .zip ファイルをダウンロードした場合は、次の手順に従います。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html) | システム管理者 | 
| モジュールを呼び出す。 | ターゲットのコンピュータへの管理者アクセス権を持つドメインユーザーを使用するドメイン内の任意のコンピュータを使用できます。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html)<pre>Import-Module .\MigrationValidatorToolkit.psm1;Invoke-DomainComputers</pre><br />出力の .csv ファイルは、プレフィックス名 `DomainComputers_MigrationAutomations_YYYY-MM-DDTHH-MM-SS` で `MigrationValidatorToolkit\Outputs\folder` に保存されます。 | システム管理者 | 

## トラブルシューティング
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-troubleshooting"></a>


| 問題 | ソリューション | 
| --- | --- | 
| `MigrationValidatorToolkit` は、実行、コマンド、エラーに関する情報を実行中のホストのログファイルに書き込みます。 | ログファイルは、次の場所で手動で閲覧できます。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/prescriptive-guidance/latest/patterns/accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws.html) | 

## 関連リソース
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-resources"></a>
+ [Microsoft ワークロードを AWS (AWS 規範ガイダンス) に移行するためのオプション、ツール、ベストプラクティス](https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-microsoft-workloads-aws/introduction.html)
+ [Microsoft 移行パターン](https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/migration-migration-patterns-by-workload-microsoft-pattern-list.html) (AWS 規範ガイダンス)
+ [AWS での無料のクラウド移行サービス ](https://aws.amazon.com/free/migration/) (AWS ドキュメント)
+ [事前定義された起動後アクション](https://docs.aws.amazon.com/mgn/latest/ug/predefined-post-launch-actions.html) (アプリケーションマーケティングドキュメント)

## 追加情報
<a name="accelerate-the-discovery-and-migration-of-microsoft-workloads-to-aws-additional"></a>

**よくある質問**

*Migration Validator Toolkit PowerShell モジュールはどこで実行できますか?*

Microsoft Windows Server 2012 R2 以降でモジュールを実行できます。

*このモジュールはいつ実行すればよいですか?*

移行ジャーニー[の評価段階で](https://aws.amazon.com/cloud-migration/how-to-migrate/)モジュールを実行することが推奨されます。

*このモジュールは既存のサーバーに変更を加えますか?*

いいえ。このモジュールのすべてのアクションは読み取り専用です。

*モジュールの実行にはどのくらいの時間がかかりますか?*

通常、モジュールの実行には 1～5 分かかりますが、サーバーのリソース割り当てによって異なります。

*モジュールを実行するにはどのアクセス許可が必要ですか?*

モジュールはローカルの管理者アカウントから実行する必要があります。

*モジュールは物理サーバーで実行できますか?*

はい。オペレーティングシステムが Microsoft Windows Server 2012 R2 以降であれば実行できます。

*複数のサーバーに対してモジュールを大規模に実行するにはどうすればよいですか?*

複数のドメインに参加しているコンピュータでモジュールを大規模に実行するには、本ガイドの「*Migration Validator Toolkit PowerShell モジュールを複数のターゲットで実行する*」のステップに従います。複数のドメインに参加していないコンピュータの場合は、本ガイドの「*Migration Validator Toolkit PowerShell モジュールを 1 つのターゲットで実行する*」のステップに従います。