インスタンスの管理でインスタンスを停止する スナップショットを作成する インスタンスを開始し、Ec2LaunchSettingsを実行する Administrator PasswordはRandomを選択し、Shutdown with Sysprepボタンを押す。 SysprepはPC固有情報を削除するらしい。
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--system-preparation--overview
Removes PC-specific information from the Windows image, including the PC’s security identifier (SID). This allows you to capture the image and apply it to other PCs. This is known as generalizing the PC.
Uninstalls PC-specific drivers from the Windows image.
Prepares the PC for delivery to a customer by setting the PC to boot to OOBE.
Allows you to add answer file (unattend) settings to an existing installation.