Estimated time: 25 minutes
In this task you will provision a virtual machine and protect it with just-in-time (JIT) access through security center. You will upgrade security center to standard tier to enable JIT virtual machine access. You will also verify that JIT virtual machine access is performing as expected.
This task does not require any pre-requisite setup.
To begin this task, you will provision a network security group, a virtual network, a Windows virtual machine, and a Linux virtual machine. Provision the resources with the following settings:
Network security group: |Setting|Value| |---|---| |Resource group|task-vmsec-rg| |Location|East US| |Name|vmsec-nsg| |Inbound rule 1|| |Name|RDP| |Protocol|TCP| |Port|3389| |Priority|500| |Action|Allow| |Inbound rule 2|| |Name|SSH| |Protocol|TCP| |Port|22| |Priority|600| |Action|Allow|
Provision the virtual network with the following settings. Accept default values for all other settings: |Setting|Value| |---|---| |Resource group|task-vmsec-rg| |Location|East US| |Name|vmsec-vnet|
Assign the vmsec-nsg to the default subnet of the vmsec-vnet virtual network.
Setting | Value |
---|---|
Resource group | task-vmsec-rg |
Location | East US |
Name | vmsec-win-vm |
Image | Windows Server 2016 Datacenter |
Size | Standard_D2S_V3 |
Username | student |
Password | <a strong password> |
OS disk | Standard SSD |
Virtual network | vmsec-vnet |
Subnet | default |
Public IP | <accept default> |
NIC NSG | None |
Setting | Value |
---|---|
Resource group | task-vmsec-rg |
Location | East US |
Name | vmsec-ubu-vm |
Image | Ubuntu Server 18.04 LTS |
Size | Standard_D2S_V3 |
Authentication type | Password |
Username | student |
Password | <a strong password> |
OS disk | Standard SSD |
Virtual network | vmsec-vnet |
Subnet | default |
Public IP | <accept default> |
NIC NSG | None |
Next you will implement JIT access for the virtual machines. To complete this requirement:
To complete this task, you will request access to both virtual machines. You will observe the changes to the NSG and check the JIT audit trail. To complete this requirement:
Having trouble completing this task? View the demonstration video to see how to do it.