Google Cloud PlatformでWindows Server 2012 R2!

Google Cloud PlatformでWindows Server 2012 R2!

beta出ました!

Plain text
gcloud compute images list | grep windows
windows-server-2008-r2-dc-v20150310 windows-cloud windows-2008-r2 READY
windows-server-2012-r2-dc-v20150310 windows-cloud windows-2012-r2 READY

まずImageからDisk作成

2012のイメージから起動すると30GBしかないので
Googleの中の人に聞いて以下をやってます。

Creating and attaching a Windows root persistent disk

Plain text
gcloud compute disks create win2012 \
  --image windows-2012-r2 \
  --zone asia-east1-b — size 200GB

Instance生成

Plain text
gcloud compute instances create win2012 \
  --machine-type n1-highmem-16 \
  --disk name=win2012 boot=yes \
  --zone asia-east1-b

ちょっと諸事情あって32coreではなく16coreで!

WindowsのLoginPassword取得!

Plain text
gcloud compute instances describe win2012 --zone asia-east1-b

metadataのあたりにUser/Passwordがあるのでそれで接続してごにょごにょ設定する!

うごいてる〜〜〜w

転載:Google Cloud PlatformでWindows Server 2012 R2!

この記事は Medium(@yusuke_h) からの転載です。