Compute Engine で Windows Server VM インスタンスを作成する
このタスクを Google Cloud コンソールで直接行う際の順を追ったガイダンスについては、[ガイドを表示] をクリックしてください。
料金
始める前に
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Make sure that you have the following role or roles on the project: Compute Instance Admin (v1), Compute Security Admin, Service Account User, Service Usage Admin
Check for the roles
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
- For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.
Grant the roles
-
In the Google Cloud console, go to the IAM page.
[IAM] に移動 - プロジェクトを選択します。
- [ アクセスを許可] をクリックします。
-
[新しいプリンシパル] フィールドに、ユーザー ID を入力します。 これは通常、Google アカウントのメールアドレスです。
- [ロールを選択] リストでロールを選択します。
- 追加のロールを付与するには、 [別のロールを追加] をクリックして各ロールを追加します。
- [保存] をクリックします。
-
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Make sure that you have the following role or roles on the project: Compute Instance Admin (v1), Compute Security Admin, Service Account User, Service Usage Admin
Check for the roles
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.
- For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.
Grant the roles
-
In the Google Cloud console, go to the IAM page.
[IAM] に移動 - プロジェクトを選択します。
- [ アクセスを許可] をクリックします。
-
[新しいプリンシパル] フィールドに、ユーザー ID を入力します。 これは通常、Google アカウントのメールアドレスです。
- [ロールを選択] リストでロールを選択します。
- 追加のロールを付与するには、 [別のロールを追加] をクリックして各ロールを追加します。
- [保存] をクリックします。
-
Compute Engine API を有効にします。
- ローカルマシンで Windows を使用していない場合は、Chrome リモート デスクトップなどの RDP クライアントをインストールします。
Windows Server VM インスタンスを作成する
- In the Google Cloud console, go to the Create an instance page.
- In the Boot disk section, click Change to begin configuring your boot disk.
- [Public images] タブで、[OS] リストから [Windows Server] を選択します。
- [バージョン] リストから [Windows Server 2019 Datacenter] を選択します。
- [選択] をクリックします。
- [ファイアウォール] で、 [HTTP トラフィックを許可する] を選択します。
- VM を作成するには、[作成] をクリックします。
VM インスタンスが起動するまで、しばらくお待ちください。VM インスタンスの準備が整うと、[VM インスタンス] ページに緑色のステータス アイコン付きで表示されます。
VM インスタンスに接続する
Google Cloud コンソールで、[VM インスタンス] ページに移動します。
[名前] 列で、VM インスタンスの名前をクリックします。
[リモート アクセス] セクションで、[Windows パスワードを設定] をクリックします。
ユーザー名を指定して [設定] をクリックし、その Windows Server VM の新しいパスワードを生成します。VM にログインできるように、ユーザー名とパスワードを保存しておきます。
VM に Chrome リモート デスクトップ サービスをインストールします。
クリーンアップ
このページで使用したリソースについて、 Google Cloud アカウントに課金されないようにするには、次の手順を実施します。
Google Cloud コンソールで、[VM インスタンス] ページに移動します。
作成した VM インスタンスの名前をクリックします。
VM インスタンスの詳細ページの上部にある [削除] をクリックします。