Tuesday, March 3, 2026

Azure で VM をたててみた

AWSでは慣れてますが、Azureは殆ど触ったことがなかったので、まずシンプルに仮想マシンをたててみました。

 Home から [Virtual machines] を選択:


[+ Create ] で作成開始:


今回はテストなのでシンプルにVMを一台たてます:



Resource Group Name を適当にいれて:

適当に下記を埋めた:


Inbound port rules を選択(ここではディフォルトの3389):

[Next: Disks] に進んだ。


OS disk type 以外はディフォルト:

[Next: Networking] に進んだ。

パブリックIP以外はディフォルトのまま:

[Management] [Monitoring] [Advanced] [Tags] タブ内は何もしないでディフォルトのまま進み。
[ Review + Create] で確認して [Create] ボタンで作成:


ステイタスが・・・Progress になって、Complete!


ログインしようとしたら、下記理由ではねられたので、AIの言うとおりにNLAをDisable:
Disable NLA via Azure Portal
If NLA is blocking the connection because it can't reach a Domain Controller (DC), you can turn it off remotely:
  1. Go to the Azure Portal and select your VM.
  2. Under the Help or Operations section, click Run command.
  3. Select DisableNLA and click Run.
  4. Once finished, try connecting again with the standard RDP client




再度、RDPでアクセス:


ログインできました!

しかし、Windows Server をまともに触ったのは、、、20 年前くらい。。。わかりません。。。